mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-29 06:05:17 +01:00
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
Block a user