Maybe fixed the 'no languages except Chinese' bug in Android phones, but since I can't check this, I'll stick with both of them. Better safe...

This commit is contained in:
Yair Morgenstern 2019-12-15 22:50:51 +02:00
parent 4251637ac1
commit 8ae0d9d191

View file

@ -148,7 +148,8 @@ class Ruleset {
catch (ex:Exception){} // Iterating on internal files will not work when running from a .jar
languages.addAll(Locale.getAvailableLocales() // And this should work for Desktop, meaning from a .jar
.map { it.displayName })
.map { it.getDisplayName(Locale.ENGLISH) }) // Maybe THIS is the problem, that the DISPLAY locale wasn't english
// and then languages were displayed according to the player's locale... *sweatdrop*
// These should probably ve renamed
languages.add("Simplified_Chinese")