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/math/psRegion.c

    r7901 r8232  
    33#include "psMemory.h"
    44#include "psError.h"
    5 #include "psErrorText.h"
     5
    66#include "psRegion.h"
    77
     
    5252    if (sscanf(region,"[%d:%d,%d:%d]",&col0,&col1,&row0,&row1) < 4) {
    5353        psError(PS_ERR_BAD_PARAMETER_NULL, true,
    54                 PS_ERRORTEXT_psImage_SUBSECTION_INVALID,
     54                _("Specified subsection string, '%s', can not be parsed.  Must be in the form '[x1:x2,y1:y2]'."),
    5555                region);
    5656        return psRegionSet(NAN,NAN,NAN,NAN);
     
    6464    if ((col1 > 0) && (col0 > col1)) {
    6565        psError(PS_ERR_BAD_PARAMETER_VALUE, true,
    66                 PS_ERRORTEXT_psImage_SUBSET_RANGE_MALFORMED,
     66                _("Specified subset range, [%d:%d,%d:%d], is invalid.  Ranges must be incremental."),
    6767                col0,col1,row0,row1);
    6868        return psRegionSet(NAN,NAN,NAN,NAN);
     
    7171    if ((row1 > 0) && (row0 > row1)) {
    7272        psError(PS_ERR_BAD_PARAMETER_VALUE, true,
    73                 PS_ERRORTEXT_psImage_SUBSET_RANGE_MALFORMED,
     73                _("Specified subset range, [%d:%d,%d:%d], is invalid.  Ranges must be incremental."),
    7474                col0,col1,row0,row1);
    7575        return psRegionSet(NAN,NAN,NAN,NAN);
Note: See TracChangeset for help on using the changeset viewer.