summaryrefslogtreecommitdiff
path: root/sources/utils/VSAboutFrame.java
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2022-04-03 20:04:57 +0100
committerPaul Buetow <paul@buetow.org>2022-04-03 20:53:17 +0100
commite1ab7f751de9ccfd703931016371a95e8208ffb4 (patch)
tree25a6f2797d786c6169d3d012c3018c0aa411ae91 /sources/utils/VSAboutFrame.java
parentdc9500c513173a0f527e5edc7a8e9c26f1acd99a (diff)
reformatted with astyleds-sim
Diffstat (limited to 'sources/utils/VSAboutFrame.java')
-rw-r--r--sources/utils/VSAboutFrame.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/sources/utils/VSAboutFrame.java b/sources/utils/VSAboutFrame.java
index ef64ffa..e07289f 100644
--- a/sources/utils/VSAboutFrame.java
+++ b/sources/utils/VSAboutFrame.java
@@ -31,8 +31,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.en.name") + " - "
- + prefs.getString("lang.en.about"), relativeTo);
+ super(prefs.getString("lang.name") + " - "
+ + prefs.getString("lang.about"), relativeTo);
this.prefs = prefs;
disposeWithParent();
@@ -51,7 +51,7 @@ public class VSAboutFrame extends VSFrame {
Container contentPane = getContentPane();
VSInfoArea infoArea = new VSInfoArea(
- prefs.getString("lang.en.about.info"));
+ prefs.getString("lang.about.info"));
JPanel buttonPane = createButtonPanel();
JScrollPane scrollPane = new JScrollPane(infoArea);
@@ -71,12 +71,12 @@ public class VSAboutFrame extends VSFrame {
buttonPane.setBackground(Color.WHITE);
JButton closeButton = new JButton(
- prefs.getString("lang.en.close"));
+ prefs.getString("lang.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.en.close")))
+ if (actionCommand.equals(prefs.getString("lang.close")))
dispose();
}
});