Ignore:
Timestamp:
2003-10-20T15:08:01+13:00 (21 years ago)
Author:
mdewsnip
Message:

Changed to use the gsprintf module, which makes using strings from the resource bundle much easier.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/classify.pm

    r2024 r5682  
    2929
    3030require util;
     31use gsprintf;
     32
     33
     34sub gsprintf
     35{
     36    return &gsprintf::gsprintf(@_);
     37}
    3138
    3239
     
    5158    if (-e $colclassname) { require $colclassname; }
    5259    elsif (-e $mainclassname) { require $mainclassname; }
    53     else { die "ERROR - couldn't find classifier \"$classname\"\n"; }
     60    else { &gsprintf(STDERR, "{classify.could_not_find_classifier}\n", $classname) && die "\n";
     61           # die "ERROR - couldn't find classifier \"$classname\"\n";
     62       }
    5463
    5564    # create the classify object
Note: See TracChangeset for help on using the changeset viewer.