summaryrefslogtreecommitdiff
path: root/sources/prefs/editors/VSEditorFrame.java
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2009-01-17 14:29:28 +0000
committerPaul Buetow <paul@buetow.org>2009-01-17 14:29:28 +0000
commitff0c70b54edbbe3436583d6491d4a56d96302de5 (patch)
tree2b63fc15e30d953e043018fc0c0aa2be54af94f1 /sources/prefs/editors/VSEditorFrame.java
parentb5e0d976418e3373b3d518a1ca01fc542a2fe602 (diff)
added initial multiple langua support.
Diffstat (limited to 'sources/prefs/editors/VSEditorFrame.java')
-rw-r--r--sources/prefs/editors/VSEditorFrame.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/sources/prefs/editors/VSEditorFrame.java b/sources/prefs/editors/VSEditorFrame.java
index 332c8a5..855bf0a 100644
--- a/sources/prefs/editors/VSEditorFrame.java
+++ b/sources/prefs/editors/VSEditorFrame.java
@@ -82,13 +82,13 @@ public class VSEditorFrame extends VSFrame implements ActionListener {
*/
private void fillButtonPanel(JPanel buttonPanel) {
JButton okButton = new JButton(
- prefs.getString("lang.ok"));
+ prefs.getString("lang.en.ok"));
okButton.setMnemonic(prefs.getInteger("keyevent.ok"));
okButton.addActionListener(this);
buttonPanel.add(okButton, 0);
JButton cancelButton = new JButton(
- prefs.getString("lang.cancel"));
+ prefs.getString("lang.en.cancel"));
cancelButton.setMnemonic(prefs.getInteger("keyevent.cancel"));
cancelButton.addActionListener(this);
buttonPanel.add(cancelButton, 1);
@@ -102,11 +102,11 @@ public class VSEditorFrame extends VSFrame implements ActionListener {
public void actionPerformed(ActionEvent e) {
String actionCommand = e.getActionCommand();
- if (actionCommand.equals(prefs.getString("lang.ok"))) {
+ if (actionCommand.equals(prefs.getString("lang.en.ok"))) {
editor.actionPerformed(e);
dispose();
- } else if (actionCommand.equals(prefs.getString("lang.cancel"))) {
+ } else if (actionCommand.equals(prefs.getString("lang.en.cancel"))) {
editor.actionPerformed(e);
dispose();