diff options
| author | Paul Buetow <paul@buetow.org> | 2009-01-17 14:29:28 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2009-01-17 14:29:28 +0000 |
| commit | ff0c70b54edbbe3436583d6491d4a56d96302de5 (patch) | |
| tree | 2b63fc15e30d953e043018fc0c0aa2be54af94f1 /sources/utils/VSAboutFrame.java | |
| parent | b5e0d976418e3373b3d518a1ca01fc542a2fe602 (diff) | |
added initial multiple langua support.
Diffstat (limited to 'sources/utils/VSAboutFrame.java')
| -rw-r--r-- | sources/utils/VSAboutFrame.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sources/utils/VSAboutFrame.java b/sources/utils/VSAboutFrame.java index 2902de1..03ed8c4 100644 --- a/sources/utils/VSAboutFrame.java +++ b/sources/utils/VSAboutFrame.java @@ -50,8 +50,8 @@ public class VSAboutFrame extends VSFrame { * @param relativeTo the component to open the about window relative to */ public VSAboutFrame(VSPrefs prefs, Component relativeTo) { - super(prefs.getString("lang.name") + " - " - + prefs.getString("lang.about"), relativeTo); + super(prefs.getString("lang.en.name") + " - " + + prefs.getString("lang.en.about"), relativeTo); this.prefs = prefs; disposeWithParent(); @@ -70,7 +70,7 @@ public class VSAboutFrame extends VSFrame { Container contentPane = getContentPane(); VSInfoArea infoArea = new VSInfoArea( - prefs.getString("lang.about.info")); + prefs.getString("lang.en.about.info")); JPanel buttonPane = createButtonPanel(); JScrollPane scrollPane = new JScrollPane(infoArea); @@ -90,12 +90,12 @@ public class VSAboutFrame extends VSFrame { buttonPane.setBackground(Color.WHITE); JButton closeButton = new JButton( - prefs.getString("lang.close")); + prefs.getString("lang.en.close")); closeButton.setMnemonic(prefs.getInteger("keyevent.close")); closeButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { String actionCommand = e.getActionCommand(); - if (actionCommand.equals(prefs.getString("lang.close"))) + if (actionCommand.equals(prefs.getString("lang.en.close"))) dispose(); } }); |
