Index: trunk/psLib/src/fft/psImageFFT.c
===================================================================
--- trunk/psLib/src/fft/psImageFFT.c	(revision 4543)
+++ trunk/psLib/src/fft/psImageFFT.c	(revision 8232)
@@ -5,6 +5,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-07-12 19:30:18 $
+ *  @version $Revision: 1.18 $ $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 "psImageStructManip.h"
 
-#include "psErrorText.h"
+
 
 #define PS_FFTW_PLAN_RIGOR FFTW_ESTIMATE
@@ -43,5 +43,5 @@
         if ((direction & PS_FFT_REVERSE) != 0) {
             psError(PS_ERR_BAD_PARAMETER_VALUE, true,
-                    PS_ERRORTEXT_psImageFFT_FORWARD_REVERSE);
+                    _("Can not specify both PS_FFT_FORWARD and PS_FFT_REVERSE options."));
             psFree(out);
             return NULL;
@@ -49,5 +49,5 @@
         if ((direction & PS_FFT_REAL_RESULT) != 0) {
             psError(PS_ERR_BAD_PARAMETER_VALUE, true,
-                    PS_ERRORTEXT_psImageFFT_REAL_FORWARD_NOTSUPPORTED);
+                    _("The PS_FFT_FORWARD and PS_FFT_REAL_RESULT combinition is not supported."));
             psFree(out);
             return NULL;
@@ -55,5 +55,5 @@
     } else if ((direction & PS_FFT_REVERSE) == 0) {
         psError(PS_ERR_BAD_PARAMETER_VALUE, true,
-                PS_ERRORTEXT_psImageFFT_NO_DIRECTION_OPTION);
+                _("Must specify either PS_FFT_FORWARD or PS_FFT_REVERSE option."));
         psFree(out);
         return NULL;
@@ -86,5 +86,5 @@
     if (plan == NULL) {
         psError(PS_ERR_BAD_PARAMETER_TYPE, true,
-                PS_ERRORTEXT_psImageFFT_FFTW_PLAN_NULL);
+                _("Could not create a valid FFT plan to perform the transform."));
         psFree(out);
         return NULL;
@@ -179,5 +179,5 @@
         PS_TYPE_NAME(typeStr,type);
         psError(PS_ERR_BAD_PARAMETER_TYPE, true,
-                PS_ERRORTEXT_psImage_IMAGE_TYPE_UNSUPPORTED,
+                _("Specified psImage type, %s, is not supported."),
                 typeStr);
 
@@ -241,5 +241,5 @@
         PS_TYPE_NAME(typeStr,type);
         psError(PS_ERR_BAD_PARAMETER_TYPE, true,
-                PS_ERRORTEXT_psImage_IMAGE_TYPE_UNSUPPORTED,
+                _("Specified psImage type, %s, is not supported."),
                 typeStr);
         psFree(out);
@@ -271,5 +271,5 @@
         PS_TYPE_NAME(typeStrImag,imag->type.type);
         psError(PS_ERR_BAD_PARAMETER_TYPE, true,
-                PS_ERRORTEXT_psImageFFT_REAL_IMAG_TYPE_MISMATCH,
+                _("Real psImage type (%s) and imaginary psImage type (%s) must be the same."),
                 typeStrReal,typeStrImag);
         psFree(out);
@@ -279,5 +279,5 @@
     if (imag->numCols != numCols || imag->numRows != numRows) {
         psError(PS_ERR_BAD_PARAMETER_VALUE, true,
-                PS_ERRORTEXT_psImageFFT_REAL_IMAG_SIZE_MISMATCH,
+                _("Real psImage size (%dx%d) and imaginary psImage size (%dx%d) must be the same."),
                 numCols, numRows, imag->numCols, imag->numRows);
         psFree(out);
@@ -320,5 +320,5 @@
         PS_TYPE_NAME(typeStr,type);
         psError(PS_ERR_BAD_PARAMETER_TYPE, true,
-                PS_ERRORTEXT_psImageFFT_NONREAL_NOTSUPPORTED,
+                _("Input psImage type, %s, is required to be either psF32 or psF64."),
                 typeStr);
         psFree(out);
@@ -380,5 +380,5 @@
         PS_TYPE_NAME(typeStr,type);
         psError(PS_ERR_BAD_PARAMETER_TYPE, true,
-                PS_ERRORTEXT_psImageFFT_NONCOMPLEX_NOTSUPPORTED,
+                _("Input psImage type, %s, is required to be either psC32 or psC64."),
                 typeStr);
         psFree(out);
@@ -446,5 +446,5 @@
         PS_TYPE_NAME(typeStr,type);
         psError(PS_ERR_BAD_PARAMETER_TYPE, true,
-                PS_ERRORTEXT_psImageFFT_NONCOMPLEX_NOTSUPPORTED,
+                _("Input psImage type, %s, is required to be either psC32 or psC64."),
                 typeStr);
         psFree(out);
