summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2012-03-23 12:10:46 +0100
committersnowleo <schneeleo@gmail.com>2012-03-23 12:11:01 +0100
commit29a190f93a89c0b9d5532aadd7a84f16b1a4c736 (patch)
tree464a09f691db8ccc82abeb33d30e699494776359
parent5c0b522026654f45a93e8b8a36a851147cd62919 (diff)
downloadEssentials-29a190f93a89c0b9d5532aadd7a84f16b1a4c736.tar
Essentials-29a190f93a89c0b9d5532aadd7a84f16b1a4c736.tar.gz
Essentials-29a190f93a89c0b9d5532aadd7a84f16b1a4c736.tar.lz
Essentials-29a190f93a89c0b9d5532aadd7a84f16b1a4c736.tar.xz
Essentials-29a190f93a89c0b9d5532aadd7a84f16b1a4c736.zip
http://youtu.be/8DdeLUA0Fms
-rw-r--r--Essentials/src/com/earth2me/essentials/I18n.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/Essentials/src/com/earth2me/essentials/I18n.java b/Essentials/src/com/earth2me/essentials/I18n.java
index 63fdcc065..97d500a6a 100644
--- a/Essentials/src/com/earth2me/essentials/I18n.java
+++ b/Essentials/src/com/earth2me/essentials/I18n.java
@@ -114,6 +114,7 @@ public class I18n implements II18n
{
currentLocale = new Locale(parts[0], parts[1], parts[2]);
}
+ ResourceBundle.clearCache();
Logger.getLogger("Minecraft").log(Level.INFO, String.format("Using locale %s", currentLocale.toString()));
customBundle = ResourceBundle.getBundle(MESSAGES, currentLocale, new FileResClassLoader(I18n.class.getClassLoader(), ess));
localeBundle = ResourceBundle.getBundle(MESSAGES, currentLocale);