diff options
| author | Paul Buetow <paul@buetow.org> | 2009-02-02 22:35:13 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2009-02-02 22:35:13 +0000 |
| commit | 849d24b005131a8072054cbe3fb2cf2ad2214f06 (patch) | |
| tree | 711223207e102d0dbed2f7e4cbaef69fd3314826 | |
| parent | c09bf2d2abeb34f4c2b9f926696757cee7b526ae (diff) | |
the program is in the english language now
| -rw-r--r-- | sources/smstrade/SFrame.java | 2 | ||||
| -rw-r--r-- | sources/smstrade/SMain.java | 20 | ||||
| -rw-r--r-- | sources/smstrade/SPrefs.java | 8 |
3 files changed, 15 insertions, 15 deletions
diff --git a/sources/smstrade/SFrame.java b/sources/smstrade/SFrame.java index 4b3c18c..13bd45f 100644 --- a/sources/smstrade/SFrame.java +++ b/sources/smstrade/SFrame.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008 Paul C. Buetow, smstrade@dev.buetow.org + * Copyright (c) 2008, 2009 Paul C. Buetow, smstrade@dev.buetow.org * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff --git a/sources/smstrade/SMain.java b/sources/smstrade/SMain.java index adb9231..9a0cba6 100644 --- a/sources/smstrade/SMain.java +++ b/sources/smstrade/SMain.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008 Paul C. Buetow, smstrade@dev.buetow.org + * Copyright (c) 2008, 2009 Paul C. Buetow, smstrade@dev.buetow.org * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -58,16 +58,16 @@ public class SMain extends SFrame { private JTextArea textArea = new JTextArea(); /** The send button */ - private JButton sendButton = new JButton("Senden"); + private JButton sendButton = new JButton("Send it"); /** The clear button */ - private JButton clearButton = new JButton("Löschen"); + private JButton clearButton = new JButton("Delete"); /** The counter label button */ private JLabel counterLabel = new JLabel(" 160"); /** The counter text label button */ - private JLabel counterTextLabel = new JLabel("Zeichen"); + private JLabel counterTextLabel = new JLabel("Chars"); /** The button panel */ private JPanel buttonPanel = new JPanel(); @@ -76,7 +76,7 @@ public class SMain extends SFrame { private JMenuBar menuBar = new JMenuBar(); /** The file menu */ - private JMenu fileMenu = new JMenu("Datei"); + private JMenu fileMenu = new JMenu("File"); /** * Instantiates a new SMain object. @@ -105,21 +105,21 @@ public class SMain extends SFrame { JMenuItem source = (JMenuItem) ae.getSource(); String text = source.getText(); - if (text.equals("Einstellungen")) { + if (text.equals("Preferences")) { new SPrefs(SMain.this, options); - } else if (text.equals("Beenden")) { + } else if (text.equals("Quit")) { System.exit(0); } } }; - JMenuItem prefsItem = new JMenuItem("Einstellungen"); + JMenuItem prefsItem = new JMenuItem("Preferences"); prefsItem.addActionListener(listener); fileMenu.add(prefsItem); fileMenu.addSeparator(); - JMenuItem exitItem = new JMenuItem("Beenden"); + JMenuItem exitItem = new JMenuItem("Quit"); exitItem.addActionListener(listener); fileMenu.add(exitItem); @@ -213,7 +213,7 @@ public class SMain extends SFrame { System.err.println(e); } - } else if (text.equals("Löschen")) { + } else if (text.equals("Delete")) { textArea.setText(""); buttonPanel.remove(2); counterLabel = new JLabel(" 160"); diff --git a/sources/smstrade/SPrefs.java b/sources/smstrade/SPrefs.java index 77182b7..1d35f8a 100644 --- a/sources/smstrade/SPrefs.java +++ b/sources/smstrade/SPrefs.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008 Paul C. Buetow, smstrade@dev.buetow.org + * Copyright (c) 2008, 2009 Paul C. Buetow, smstrade@dev.buetow.org * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -50,13 +50,13 @@ public class SPrefs extends SFrame { private JButton okButton = new JButton("OK"); /** The save button */ - private JButton saveButton = new JButton("Speichern"); + private JButton saveButton = new JButton("Save"); /** * Instantiates a new SMain object. */ public SPrefs(Component parent, HashMap<String,String> options) { - super("Einstellungen", parent); + super("Preferences", parent); this.options = options; disposeWithParent(); @@ -101,7 +101,7 @@ public class SPrefs extends SFrame { save(); dispose(); - } else if (text.equals("Speichern")) { + } else if (text.equals("Save")) { save(); } } |
