Index: trunk/psLib/src/imageops/psImageConvolve.c
===================================================================
--- trunk/psLib/src/imageops/psImageConvolve.c	(revision 7914)
+++ trunk/psLib/src/imageops/psImageConvolve.c	(revision 8232)
@@ -5,6 +5,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.37 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-07-15 02:57:12 $
+ *  @version $Revision: 1.38 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-08-08 23:32:23 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -21,5 +21,5 @@
 #include "psError.h"
 
-#include "psErrorText.h"
+
 
 #define FOURIER_PADDING 32 /* padding amount in every side of the image for fourier convolution */
@@ -120,5 +120,5 @@
     if (tShifts == NULL || xShifts == NULL || yShifts == NULL) {
         psError(PS_ERR_BAD_PARAMETER_NULL, true,
-                PS_ERRORTEXT_psImageConvolve_SHIFT_NULL);
+                _("Specified shift vectors can not be NULL."));
         return NULL;
     }
@@ -134,5 +134,5 @@
         PS_TYPE_NAME(typeTStr,tShifts->type.type);
         psError(PS_ERR_BAD_PARAMETER_TYPE, true,
-                PS_ERRORTEXT_psImageConvolve_SHIFT_TYPE_MISMATCH,
+                _("Input t-, x-, and y-shift vector types (%s/%s/%s) must match."),
                 typeTStr, typeXStr, typeYStr);
         return NULL;
@@ -257,5 +257,5 @@
                 PS_TYPE_NAME(typeStr,xShifts->type.type);
                 psError(PS_ERR_BAD_PARAMETER_TYPE, true,
-                        PS_ERRORTEXT_psImage_IMAGE_TYPE_UNSUPPORTED,
+                        _("Specified psImage type, %s, is not supported."),
                         typeStr);
             }
@@ -280,5 +280,5 @@
                 PS_TYPE_NAME(typeStr,xShifts->type.type);
                 psError(PS_ERR_BAD_PARAMETER_TYPE, true,
-                        PS_ERRORTEXT_psImage_IMAGE_TYPE_UNSUPPORTED,
+                        _("Specified psImage type, %s, is not supported."),
                         typeStr);
             }
@@ -301,5 +301,5 @@
     if (kernel == NULL) {
         psError(PS_ERR_BAD_PARAMETER_NULL, true,
-                PS_ERRORTEXT_psImageConvolve_KERNEL_NULL);
+                _("Specified psKernel can not be NULL."));
         psFree(out);
         return NULL;
@@ -361,5 +361,5 @@
                 PS_TYPE_NAME(typeStr,in->type.type);
                 psError(PS_ERR_BAD_PARAMETER_TYPE, true,
-                        PS_ERRORTEXT_psImage_IMAGE_TYPE_UNSUPPORTED,
+                        _("Specified psImage type, %s, is not supported."),
                         typeStr);
                 psFree(out);
@@ -380,5 +380,5 @@
         if (kRows >= numRows || kCols >= numCols) {
             psError(PS_ERR_BAD_PARAMETER_SIZE, true,
-                    PS_ERRORTEXT_psImageConvolve_KERNEL_TOO_LARGE,
+                    _("Specified psKernel size, %dx%d, can not be larger than input psImage size, %dx%d."),
                     kCols,kRows,
                     numCols, numRows);
@@ -434,5 +434,5 @@
         if (kernelFourier == NULL) {
             psError(PS_ERR_UNKNOWN, false,
-                    PS_ERRORTEXT_psImageConvolve_KERNEL_FFT_FAILED);
+                    _("Failed to perform a fourier transform of kernel."));
             psFree(out);
             return NULL;
@@ -442,5 +442,5 @@
         if (inFourier == NULL) {
             psError(PS_ERR_UNKNOWN, false,
-                    PS_ERRORTEXT_psImageConvolve_FFT_FAILED);
+                    _("Failed to perform a fourier transform of input image."));
             psFree(out);
             return NULL;
@@ -460,5 +460,5 @@
         if (complexOut == NULL) {
             psError(PS_ERR_UNKNOWN, false,
-                    PS_ERRORTEXT_psImageConvolve_FFT_FAILED);
+                    _("Failed to perform a fourier transform of input image."));
             psFree(out);
             return NULL;
@@ -665,5 +665,5 @@
             PS_TYPE_NAME(typeStr,image->type.type);
             psError(PS_ERR_BAD_PARAMETER_TYPE, true,
-                    PS_ERRORTEXT_psImage_IMAGE_TYPE_UNSUPPORTED,
+                    _("Specified psImage type, %s, is not supported."),
                     typeStr);
             return false;
