mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-06-02 04:42:28 +00:00
Recognize the he
language code as Hebrew (#1529)
in addition to outdated `iw` that is used on Android 14 and older
This commit is contained in:
parent
9f06394a1a
commit
875491a0e1
2 changed files with 3 additions and 3 deletions
|
@ -266,7 +266,7 @@ private fun getCurrencyKey(locale: Locale): Pair<String, List<String>> {
|
|||
return euro
|
||||
if (locale.language.matches("ca|eu|lb|mt|pms".toRegex()))
|
||||
return euro
|
||||
if (locale.language.matches("ak|dag|ee|fa|gaa|ha|ig|iw|lo|ko|km|mn|ne|si|th|uk|vi|yo".toRegex()))
|
||||
if (locale.language.matches("ak|dag|ee|fa|gaa|ha|he|ig|iw|lo|ko|km|mn|ne|si|th|uk|vi|yo".toRegex()))
|
||||
return genericCurrencyKey(getCurrency(locale))
|
||||
if (locale.language == "hy")
|
||||
return dram
|
||||
|
@ -299,7 +299,7 @@ private fun getCurrency(locale: Locale): String {
|
|||
"gaa" -> "¢"
|
||||
"ha" -> "₦"
|
||||
"ig" -> "₦"
|
||||
"iw" -> "₪"
|
||||
"iw", "he" -> "₪"
|
||||
"lo" -> "₭"
|
||||
"km" -> "៛"
|
||||
"ko" -> "₩"
|
||||
|
|
|
@ -168,7 +168,7 @@ object ScriptUtils {
|
|||
"sr", "mk", "ru", "uk", "mn", "be", "kk", "ky", "bg", "xdq", "cv", "mhr", "mns", "dru" -> SCRIPT_CYRILLIC
|
||||
"ka" -> SCRIPT_GEORGIAN
|
||||
"el" -> SCRIPT_GREEK
|
||||
"iw" -> SCRIPT_HEBREW
|
||||
"iw", "he" -> SCRIPT_HEBREW
|
||||
"km" -> SCRIPT_KHMER
|
||||
"lo" -> SCRIPT_LAO
|
||||
"ml" -> SCRIPT_MALAYALAM
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue