Don't try to translate while still initialising

This commit is contained in:
fullwall 2012-10-16 15:48:43 +08:00
parent 5e3c351c8d
commit 02d54f43fb

View File

@ -38,7 +38,7 @@ public class Translator {
Translator.class.getClassLoader(), resourceFile));
} catch (MissingResourceException e) {
preferredBundle = getDefaultBundle();
Messaging.logTr(Messages.MISSING_TRANSLATIONS, locale);
Messaging.log(translate(Messages.MISSING_TRANSLATIONS, locale));
}
}