mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-27 21:29:14 +01:00
Don't try to translate while still initialising
This commit is contained in:
parent
5e3c351c8d
commit
02d54f43fb
@ -38,7 +38,7 @@ public class Translator {
|
|||||||
Translator.class.getClassLoader(), resourceFile));
|
Translator.class.getClassLoader(), resourceFile));
|
||||||
} catch (MissingResourceException e) {
|
} catch (MissingResourceException e) {
|
||||||
preferredBundle = getDefaultBundle();
|
preferredBundle = getDefaultBundle();
|
||||||
Messaging.logTr(Messages.MISSING_TRANSLATIONS, locale);
|
Messaging.log(translate(Messages.MISSING_TRANSLATIONS, locale));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user