Ignore:
Timestamp:
2008-10-10T09:05:07+13:00 (16 years ago)
Author:
oranfry
Message:

changes to the way ant-installer loads and reloads the language packs, and a new attribute to the select input which triggers it to change the language to the input value

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release-kits/shared/ant-installer/src/org/tp23/antinstaller/renderer/swing/ProgressPageRenderer.java

    r15210 r17514  
    4747    implements AntOutputRenderer {
    4848
    49     private static final ResourceBundle res = ResourceBundle.getBundle("resources.LanguagePack");
    5049    private static final int MESSAGE_PANEL_HEIGHT = 30;
    5150
     
    103102
    104103        //FIXME not i18n properly since the sentence is not correct ordering in German
    105         feedBackLabel.setText(res.getString("click")+" "+ctx.getInstaller().getFinishButtonText()+" "+res.getString("toContinue"));
     104        feedBackLabel.setText(org.tp23.antinstaller.Installer.langPack.getString("click")+" "+ctx.getInstaller().getFinishButtonText()+" "+org.tp23.antinstaller.Installer.langPack.getString("toContinue"));
    106105        feedBackLabel.setBounds(new Rectangle(115, 7, 272, 22));
    107         jToggleButton.setText(res.getString("showDetails"));
     106        jToggleButton.setText(org.tp23.antinstaller.Installer.langPack.getString("showDetails"));
    108107        jToggleButton.setBounds(new Rectangle(5, 7, 104, 22));
    109108        jToggleButton.setMargin(new Insets(0,0,0,0));
     
    138137            contentPanel.add(progressScrollPane, BorderLayout.CENTER);
    139138        }
    140         jTabbedPane.add(res.getString("output"), outPanel);
    141         jTabbedPane.add(res.getString("errors"), errPanel);
     139        jTabbedPane.add(org.tp23.antinstaller.Installer.langPack.getString("output"), outPanel);
     140        jTabbedPane.add(org.tp23.antinstaller.Installer.langPack.getString("errors"), errPanel);
    142141//      if(OutputField.isTrue( ctx.getInstaller().getAntialiased())){
    143142//          outPanel.setAntialiased(true);
Note: See TracChangeset for help on using the changeset viewer.