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/sys/psConfigure.c

    r7646 r8232  
    1313 *  @author Robert DeSonia, MHPCC
    1414 *
    15  *  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
    16  *  @date $Date: 2006-06-23 01:59:15 $
     15 *  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
     16 *  @date $Date: 2006-08-08 23:32:23 $
    1717 *
    1818 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    2828#include "psError.h"
    2929#include "psConfigure.h"
    30 #include "psErrorText.h"
     30
    3131#include "config.h"
    3232
     
    9898        if (!p_psTimeInit(timeConfig)) {
    9999            psError(PS_ERR_BAD_PARAMETER_VALUE, true,
    100                     PS_ERRORTEXT_psConfigure_INITIALIZATION_FAILED, "psTime");
     100                    _("Failed to initialize %s."), "psTime");
    101101            return;
    102102        }
     
    104104    if (!p_psEOCInit()) {
    105105        psError(PS_ERR_BAD_PARAMETER_VALUE, true,
    106                 PS_ERRORTEXT_psConfigure_INITIALIZATION_FAILED, "psEOC");
     106                _("Failed to initialize %s."), "psEOC");
    107107        return;
    108108    }
     
    125125    if (!p_psTimeFinalize()) {
    126126        psError(PS_ERR_UNKNOWN, false,
    127                 PS_ERRORTEXT_psConfigure_FINALIZATION_FAILED, "psTime");
     127                _("Failed to finalize %s."), "psTime");
    128128        return;
    129129    }
     
    132132    if (!p_psEOCFinalize()) {
    133133        psError(PS_ERR_UNKNOWN, false,
    134                 PS_ERRORTEXT_psConfigure_FINALIZATION_FAILED, "psEOC");
     134                _("Failed to finalize %s."), "psEOC");
    135135        return;
    136136    }
Note: See TracChangeset for help on using the changeset viewer.