diff options
author | snowleo <schneeleo@gmail.com> | 2011-12-07 11:22:02 +0100 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2011-12-07 11:22:02 +0100 |
commit | 5c02346f85ffe37639b5f6485b565e5d5c978187 (patch) | |
tree | e18bd816c23031648b4804db374281c30c79db0c | |
parent | 5b539bf034a2553aa92142b9a09945d6a9250ab7 (diff) | |
download | Essentials-5c02346f85ffe37639b5f6485b565e5d5c978187.tar Essentials-5c02346f85ffe37639b5f6485b565e5d5c978187.tar.gz Essentials-5c02346f85ffe37639b5f6485b565e5d5c978187.tar.lz Essentials-5c02346f85ffe37639b5f6485b565e5d5c978187.tar.xz Essentials-5c02346f85ffe37639b5f6485b565e5d5c978187.zip |
Fix I18n file not loading from Essentials folder, when the locale is not defined in config.
-rw-r--r-- | Essentials/src/com/earth2me/essentials/I18n.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/I18n.java b/Essentials/src/com/earth2me/essentials/I18n.java index 33708e5cd..63fdcc065 100644 --- a/Essentials/src/com/earth2me/essentials/I18n.java +++ b/Essentials/src/com/earth2me/essentials/I18n.java @@ -28,7 +28,7 @@ public class I18n implements II18n public I18n(final IEssentials ess) { this.ess = ess; - customBundle = ResourceBundle.getBundle(MESSAGES, defaultLocale); + customBundle = ResourceBundle.getBundle(MESSAGES, defaultLocale, new FileResClassLoader(I18n.class.getClassLoader(), ess)); localeBundle = ResourceBundle.getBundle(MESSAGES, defaultLocale); defaultBundle = ResourceBundle.getBundle(MESSAGES, Locale.ENGLISH); } |