Ignore:
Timestamp:
2008-04-24T13:40:21+12:00 (16 years ago)
Author:
oranfry
Message:

Lots of changes to the installer. Now only look in LanguagePack resource bundle for strings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release-kits/shared/ant-installer/src/org/tp23/antinstaller/page/Page.java

    r14982 r15210  
    4646//   i18n support
    4747    private static ResourceBundle langPack = null;
     48    //private static ResourceBundle otherLangPack = null;
    4849    static{
    4950        try {
    50             langPack = ResourceBundle.getBundle("LanguagePack");
     51            langPack = ResourceBundle.getBundle("resources.LanguagePack");
    5152        } catch (MissingResourceException e) {
    5253            // ignore, signifies no lang packs installed 
     
    7879
    7980    public String getDisplayText() {
    80         if(langPack != null){
    81             return langPack.getString("page." + getName() + ".displayText");
    82         }
    83         return displayText;
     81        if( langPack != null){
     82            return langPack.getString("page." + getName() + ".displayText") + "r";
     83        }
     84        return displayText + "c";
    8485    }
    8586
Note: See TracChangeset for help on using the changeset viewer.