From 694947c93a18697bac408ca80e1cc805907fb96f Mon Sep 17 00:00:00 2001 From: Hugo Hirsch Date: Wed, 3 Feb 2016 22:56:56 +0100 Subject: [PATCH] Issue #22: Add l10n to application * New keys. --- src/main/java/de/aikiit/spamprotector/GUI.java | 2 +- src/main/resources/spamprotector.properties | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/de/aikiit/spamprotector/GUI.java b/src/main/java/de/aikiit/spamprotector/GUI.java index b3e92294a..d3a8c16d9 100755 --- a/src/main/java/de/aikiit/spamprotector/GUI.java +++ b/src/main/java/de/aikiit/spamprotector/GUI.java @@ -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); diff --git a/src/main/resources/spamprotector.properties b/src/main/resources/spamprotector.properties index a3bdc6d9e..88a73bd6a 100644 --- a/src/main/resources/spamprotector.properties +++ b/src/main/resources/spamprotector.properties @@ -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