Skip to content

Commit

Permalink
Issue #22: Add l10n to application
Browse files Browse the repository at this point in the history
* New keys.
  • Loading branch information
ottlinger committed Feb 3, 2016
1 parent e5f6b92 commit 694947c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/de/aikiit/spamprotector/GUI.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ private void init(final boolean isApplet) {
final JTextField input = new JTextField();
input.setSize(BOX_DIMENSION);
input.setPreferredSize(BOX_DIMENSION);
final JTextField output = new JTextField("Bitte Text eingeben und Button betätigen!");
final JTextField output = new JTextField(getBundleString("spamschutz.ui.default.output"));
output.setSize(BOX_DIMENSION);
output.setPreferredSize(BOX_DIMENSION);

Expand Down
1 change: 1 addition & 0 deletions src/main/resources/spamprotector.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ spamschutz.ui.output=2: Ausgabe:
spamschutz.ui.output.mnemonic=2
spamschutz.ui.input=1: Eingabe:
spamschutz.ui.input.mnemonic=1
spamschutz.ui.default.output=Bitte Text eingeben und Button bet\u00e4tigen!

# ProgressBar.java
fotorenamer.ui.progress=Fortschritt
Expand Down

0 comments on commit 694947c

Please sign in to comment.