Index: trunk/psLib/src/math/psStats.c
===================================================================
--- trunk/psLib/src/math/psStats.c	(revision 7999)
+++ trunk/psLib/src/math/psStats.c	(revision 8232)
@@ -16,6 +16,6 @@
  * use ->min and ->max (PS_STAT_USE_RANGE)
  *
- *  @version $Revision: 1.182 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-07-28 00:44:05 $
+ *  @version $Revision: 1.183 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-08-08 23:32:23 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -49,5 +49,5 @@
 #include "psString.h"
 
-#include "psErrorText.h"
+
 
 /*****************************************************************************/
@@ -440,5 +440,5 @@
         psError(PS_ERR_UNEXPECTED_NULL,
                 false,
-                PS_ERRORTEXT_psStats_STATS_SAMPLE_MEDIAN_SORT_PROBLEM);
+                _("Failed to sort input data."));
         psTrace(__func__, 4, "---- %s(false) end ----\n", __func__);
         psFree(vector);
@@ -924,5 +924,5 @@
                 ((y->data.F64[2] <= yVal) && (yVal <= y->data.F64[0]))) ) {
             psError(PS_ERR_BAD_PARAMETER_VALUE, true,
-                    PS_ERRORTEXT_psStats_YVAL_OUT_OF_RANGE,
+                    _("Specified yVal, %g, is not within y-range, %g to %g."),
                     (psF64)yVal, y->data.F64[0], y->data.F64[2]);
         }
@@ -946,5 +946,5 @@
         if (myPoly == NULL) {
             psError(PS_ERR_UNEXPECTED_NULL, false,
-                    PS_ERRORTEXT_psStats_STATS_FIT_QUADRATIC_POLYNOMIAL_1D_FIT);
+                    _("Failed to fit a 1-dimensional polynomial to the three specified data points.  Returning NAN."));
             psFree(x);
             psFree(y);
@@ -967,5 +967,5 @@
         if (isnan(tmpFloat)) {
             psError(PS_ERR_UNEXPECTED_NULL,
-                    false, PS_ERRORTEXT_psStats_STATS_FIT_QUADRATIC_POLY_MEDIAN);
+                    false, _("Failed to determine the median of the fitted polynomial.  Returning NAN."));
             psFree(x);
             psFree(y);
@@ -2035,5 +2035,5 @@
                           PS_STAT_FITTED_MEAN | PS_STAT_FITTED_STDEV)) {
         if (!vectorRobustStats(inF32, errorsF32, maskU8, maskVal, stats)) {
-            psError(PS_ERR_UNKNOWN, false, PS_ERRORTEXT_psStats_STATS_FAILED);
+            psError(PS_ERR_UNKNOWN, false, _("Failed to calculate the specified statistic."));
             psFree(stats);
             psFree(inF32);
