Don't try to translate while still initialising
This commit is contained in:
parent
fb0660e6e0
commit
08d4aa5fc8
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue