mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-27 23:11:12 -08:00
#3413 but better
This commit is contained in:
parent
c0786b31be
commit
c95872e992
1 changed files with 7 additions and 0 deletions
|
|
@ -233,6 +233,7 @@ public class Vars implements Loadable{
|
|||
}
|
||||
|
||||
Arrays.sort(locales, Structs.comparing(l -> l.getDisplayName(l), String.CASE_INSENSITIVE_ORDER));
|
||||
locales = Seq.with(locales).and(new Locale("router")).toArray(Locale.class);
|
||||
}
|
||||
|
||||
Version.init();
|
||||
|
|
@ -388,7 +389,13 @@ public class Vars implements Loadable{
|
|||
}
|
||||
|
||||
Locale.setDefault(locale);
|
||||
|
||||
Core.bundle = I18NBundle.createBundle(handle, locale);
|
||||
|
||||
//router
|
||||
if(locale.getDisplayName().equals("router")){
|
||||
bundle.debug("router");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue