mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-04 06:34:44 +02:00
Merge branch 'master' of github.com:mcMMO-Dev/mcMMO
Conflicts: src/main/java/com/gmail/nossr50/locale/mcLocale.java
This commit is contained in:
src/main
java
com
gmail
nossr50
locale
resources
locale
locale_da.propertieslocale_de.propertieslocale_en_US.propertieslocale_es.propertieslocale_fi.propertieslocale_fr.propertieslocale_it.propertieslocale_ko.propertieslocale_lv.propertieslocale_nl.propertieslocale_no.propertieslocale_pl.propertieslocale_pt_BR.propertieslocale_ru.propertieslocale_sv.properties
@ -27,10 +27,9 @@ public class mcLocale {
|
||||
public static String getString(String key, Object[] messageArguments) {
|
||||
try {
|
||||
if (RESOURCE_BUNDLE == null) {
|
||||
Locale.setDefault(new Locale("en", "US"));
|
||||
String[] myLocale = Config.getLocale().split("[-_ ]");
|
||||
|
||||
Locale.setDefault(new Locale("en", "US"));
|
||||
Locale locale = null;
|
||||
String[] myLocale = Config.getLocale().split("[-_ ]");
|
||||
|
||||
if (myLocale.length == 1) {
|
||||
locale = new Locale(myLocale[0]);
|
||||
|
Reference in New Issue
Block a user