Ignore:
Timestamp:
2004-03-07T15:18:16+13:00 (20 years ago)
Author:
mdewsnip
Message:

Updated the resource bundle handling code some more. Strings are first looked for in a language specific resource bundle (if specified). If not found there, the default resource bundle is checked. If still not found, the English resource bundle is checked. These resource bundles are loaded on an as-needed basis.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/bin/script/pluginfo.pl

    r6932 r6945  
    8282    }
    8383
    84     # Load the appropriate resource bundle for the language specified
    85     # If $language is not defined, the default resource bundle will be loaded
    86     &gsprintf::load_resource_bundle($language);
     84    # If $language has been specified, load the appropriate resource bundle
     85    # (Otherwise, the default resource bundle will be loaded automatically)
     86    if ($language) {
     87    &gsprintf::load_language_specific_resource_bundle($language);
     88    }
    8789
    8890    my $plugin = shift (@ARGV);
Note: See TracChangeset for help on using the changeset viewer.