IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 8, 2006, 1:32:23 PM (20 years ago)
Author:
jhoblitt
Message:

bug #790 - remove psErrorText.h and inline all error codes. all newly inlined error codes are wrapped with the _() macro from future gettextification

Location:
trunk/psLib/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src

    • Property svn:ignore
      •  

        old new  
        1010libpslib.la.temp
        1111config.h.in
        12 psErrorText.h
        1312*.bb
        1413*.bbg
  • trunk/psLib/src/fft/psVectorFFT.c

    r4540 r8232  
    55 *  @author Robert DeSonia, MHPCC
    66 *
    7  *  @version $Revision: 1.33 $ $Name: not supported by cvs2svn $
    8  *  @date $Date: 2005-07-12 19:12:01 $
     7 *  @version $Revision: 1.34 $ $Name: not supported by cvs2svn $
     8 *  @date $Date: 2006-08-08 23:32:23 $
    99 *
    1010 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    2222#include "psLogMsg.h"
    2323
    24 #include "psErrorText.h"
     24
    2525
    2626#define P_FFTW_PLAN_RIGOR FFTW_ESTIMATE
     
    6363    } else {
    6464        psError(PS_ERR_BAD_PARAMETER_VALUE, true,
    65                 PS_ERRORTEXT_psVectorFFT_DIRECTION_NOTSET);
     65                _("Must specify the direction as either PS_FFT_FORWARD or PS_FFT_REVERSE."));
    6666        psFree(out);
    6767        return NULL;
     
    7171    if (plan == NULL) {
    7272        psError(PS_ERR_BAD_PARAMETER_TYPE, true,
    73                 PS_ERRORTEXT_psVectorFFT_FFTW_PLAN_NULL);
     73                _("Could not create a valid FFT plan to perform the transform."));
    7474        psFree(out);
    7575        return NULL;
     
    142142        PS_TYPE_NAME(typeStr,type);
    143143        psError(PS_ERR_BAD_PARAMETER_TYPE, true,
    144                 PS_ERRORTEXT_psVectorFFT_TYPE_UNSUPPORTED,
     144                _("Specified psVector type, %s, is not supported."),
    145145                typeStr);
    146146        psFree(out);
     
    201201        PS_TYPE_NAME(typeStr,type);
    202202        psError(PS_ERR_BAD_PARAMETER_TYPE, true,
    203                 PS_ERRORTEXT_psVectorFFT_TYPE_UNSUPPORTED,
     203                _("Specified psVector type, %s, is not supported."),
    204204                typeStr);
    205205        psFree(out);
     
    233233        PS_TYPE_NAME(typeStrImag,imag->type.type);
    234234        psError(PS_ERR_BAD_PARAMETER_TYPE, true,
    235                 PS_ERRORTEXT_psVectorFFT_REAL_IMAG_TYPE_MISMATCH,
     235                _("Real psVector type, %s, and imaginary psVector type, %s, must be the same."),
    236236                typeStrReal,typeStrImag);
    237237        psFree(out);
     
    267267        PS_TYPE_NAME(typeStr,type);
    268268        psError(PS_ERR_BAD_PARAMETER_TYPE, true,
    269                 PS_ERRORTEXT_psVectorFFT_NONREAL_NOTSUPPORTED,
     269                _("Input psVector type, %s, is required to be either psF32 or psF64."),
    270270                typeStr);
    271271        psFree(out);
     
    327327        PS_TYPE_NAME(typeStr,type);
    328328        psError(PS_ERR_BAD_PARAMETER_TYPE, true,
    329                 PS_ERRORTEXT_psVectorFFT_NONCOMPLEX_NOTSUPPORTED,
     329                _("Input psVector type, %s, is required to be either psC32 or psC64."),
    330330                typeStr);
    331331        psFree(out);
     
    407407        PS_TYPE_NAME(typeStr,type);
    408408        psError(PS_ERR_BAD_PARAMETER_TYPE, true,
    409                 PS_ERRORTEXT_psVectorFFT_NONCOMPLEX_NOTSUPPORTED,
     409                _("Input psVector type, %s, is required to be either psC32 or psC64."),
    410410                typeStr);
    411411        psFree(out);
Note: See TracChangeset for help on using the changeset viewer.