Skip to content

Commit

Permalink
Update ICU4J and locales
Browse files Browse the repository at this point in the history
  • Loading branch information
gdude2002 committed Jun 30, 2023
1 parent c6ca505 commit 7ad7bc4
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,15 @@ public object SupportedLocales {
/** Russian locale. **/
public val RUSSIAN: Locale = Locale("ru", "ru")

/** Spanish locale. **/
public val SPANISH: Locale = Locale("es")

/** Toki Pona locale. **/
public val TOKI_PONA: Locale = Locale("tok")

/** Turkish locale. **/
public val TURKISH: Locale = Locale("tr")

/** Map of string names to supported Locale objects.. **/
public val ALL_LOCALES: Map<String, Locale> = mapOf(
"chinese" to CHINESE_SIMPLIFIED,
Expand All @@ -54,6 +63,14 @@ public object SupportedLocales {
"en_us" to ENGLISH,
"english" to ENGLISH,

"es" to SPANISH,
"es_es" to SPANISH,
"spanish" to SPANISH,
"espanol" to SPANISH,
"espanola" to SPANISH,
"español" to SPANISH,
"española" to SPANISH,

"fi" to FINNISH,
"fi_fi" to FINNISH,
"finnish" to FINNISH,
Expand Down Expand Up @@ -90,5 +107,19 @@ public object SupportedLocales {
"русская" to RUSSIAN,
"русскии" to RUSSIAN,
"русский" to RUSSIAN,

"tok" to TOKI_PONA,
"tok_tok" to TOKI_PONA,
"toki" to TOKI_PONA,
"toki_pona" to TOKI_PONA,
"toki pona" to TOKI_PONA,

"tr" to TURKISH,
"tr_tr" to TURKISH,
"turkish" to TURKISH,
"turkce" to TURKISH,
"turkçe" to TURKISH,
"türkce" to TURKISH,
"türkçe" to TURKISH,
)
}
2 changes: 1 addition & 1 deletion libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kotlin = "1.8.20" # Note: Plugin versions must be updated in buildSrc/build.gra

commons-validator = "1.7"
groovy = "3.0.14"
icu4j = "73.1"
icu4j = "73.2"
jansi = "2.4.0"
jsoup = "1.15.4"
junit = "5.9.3"
Expand Down

0 comments on commit 7ad7bc4

Please sign in to comment.