language vars are fully moved to apploader

This commit is contained in:
minjaesong
2017-11-25 22:29:59 +09:00
parent d9258bcb84
commit 6901b17bb6
6 changed files with 44 additions and 39 deletions

View File

@@ -129,7 +129,7 @@ object Lang {
fun pluralise(word: String, count: Int): String {
if (count < 2) return word
when (Terrarum.gameLocale) {
when (TerrarumAppLoader.GAME_LOCALE) {
"fr" -> {
if (Arrays.binarySearch(FRENCH_WORD_NORMAL_PLURAL, word) >= 0) {
return word + "s"