Translating hard-coded text to res en-US.properties

This commit is contained in:
churrufli
2019-01-18 08:20:02 +01:00
parent 40c64a943a
commit 07c2065917
6 changed files with 329 additions and 157 deletions

View File

@@ -37,7 +37,8 @@ public class Localizer {
MessageFormat formatter = null;
try {
formatter = new MessageFormat(resourceBundle.getString(key.toLowerCase()), locale);
//formatter = new MessageFormat(resourceBundle.getString(key.toLowerCase()), locale);
formatter = new MessageFormat(resourceBundle.getString(key.toString()), locale);
} catch (final IllegalArgumentException | MissingResourceException e) {
e.printStackTrace();
}