Updated to new k-i18n data

This commit is contained in:
dankito 2024-12-13 00:07:08 +01:00
parent 33c0dc9d01
commit 2dfe338a8c
2 changed files with 1 additions and 2 deletions

View File

@ -51,7 +51,7 @@ enum class Country(val alpha2Code: String, val alpha3Code: String?, val englishN
CocosKeelingIslands("CC", "CCK", "Cocos (Keeling) Islands (the)"), CocosKeelingIslands("CC", "CCK", "Cocos (Keeling) Islands (the)"),
Colombia("CO", "COL", "Colombia"), Colombia("CO", "COL", "Colombia"),
Comoros("KM", "COM", "Comoros (the)"), Comoros("KM", "COM", "Comoros (the)"),
CongoDemocraticRepublic("CD", "COD", "Congo (the Democratic Republic of the)"), Congo_DemocraticRepublic("CD", "COD", "Congo (the Democratic Republic of the)"),
Congo("CG", "COG", "Congo (the)"), Congo("CG", "COG", "Congo (the)"),
CookIslands("CK", "COK", "Cook Islands (the)"), CookIslands("CK", "COK", "Cook Islands (the)"),
CostaRica("CR", "CRI", "Costa Rica"), CostaRica("CR", "CRI", "Costa Rica"),

View File

@ -224,7 +224,6 @@ class CodeGenerator {
} }
private fun fixCurrencyName(currencyName: Any?): String = when (currencyName) { private fun fixCurrencyName(currencyName: Any?): String = when (currencyName) {
"Sierra Leone (new valuation 2022)" -> "SierraLeone_NewValuation2022"
"Bolívar Soberano, new valuation" -> "BolivarSoberano_NewValuation" "Bolívar Soberano, new valuation" -> "BolivarSoberano_NewValuation"
else -> currencyName.toString().replace(" ", "") else -> currencyName.toString().replace(" ", "")
} }