This commit is contained in:
Anuken
2020-11-15 15:05:34 -05:00
parent c0786b31be
commit c95872e992

View File

@@ -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");
}
}
}
}