From ff0c70b54edbbe3436583d6491d4a56d96302de5 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 17 Jan 2009 14:29:28 +0000 Subject: added initial multiple langua support. --- sources/utils/VSAboutFrame.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sources/utils/VSAboutFrame.java') 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(); } }); -- cgit v1.2.3