mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-13 01:08:25 +07:00
Enabled vietnamese (#7772)
* Enabled vietnamese * Fixed tests * Fix tests (again)
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@ -157,11 +157,9 @@ class Translations : LinkedHashMap<String, TranslationEntry>(){
|
|||||||
|
|
||||||
languages.remove("template")
|
languages.remove("template")
|
||||||
languages.remove("completionPercentages")
|
languages.remove("completionPercentages")
|
||||||
languages.remove("Thai") // Until we figure out what to do with it
|
languages.remove("Thai") // Spacing looks horrible, so disable until we figure out what to do with it
|
||||||
languages.remove("Vietnamese") // Until we figure out what to do with it
|
|
||||||
|
|
||||||
return languages
|
return languages.filter { Gdx.files.internal("jsons/translations/$it.properties").exists() }
|
||||||
.filter { Gdx.files.internal("jsons/translations/$it.properties").exists() }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Ensure _all_ languages are loaded, used by [TranslationFileWriter] and `TranslationTests` */
|
/** Ensure _all_ languages are loaded, used by [TranslationFileWriter] and `TranslationTests` */
|
||||||
|
Reference in New Issue
Block a user