Fixed flag and name for Levantine Arabic and Najdi Arabic (#770)

This commit is contained in:
CranberrySoup 2023-11-15 16:30:29 +00:00 committed by GitHub
parent e11d36aed8
commit 765071ebef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View file

@ -55,10 +55,10 @@ fun getCurrentLocale(context: Context): String {
// https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes leave blank for auto // https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes leave blank for auto
val appLanguages = arrayListOf( val appLanguages = arrayListOf(
/* begin language list */ /* begin language list */
Triple("", "ajp", "ajp"), Triple("", "عربي شامي", "ajp"),
Triple("", "አማርኛ", "am"), Triple("", "አማርኛ", "am"),
Triple("", "العربية", "ar"), Triple("", "العربية", "ar"),
Triple("", "ars", "ars"), Triple("", "اللهجة النجدية", "ars"),
Triple("", "български", "bg"), Triple("", "български", "bg"),
Triple("", "বাংলা", "bn"), Triple("", "বাংলা", "bn"),
Triple("\uD83C\uDDE7\uD83C\uDDF7", "português brasileiro", "bp"), Triple("\uD83C\uDDE7\uD83C\uDDF7", "português brasileiro", "bp"),

View file

@ -153,9 +153,11 @@ object SubtitleHelper {
private val flags = mapOf( private val flags = mapOf(
"af" to "ZA", "af" to "ZA",
"agq" to "CM", "agq" to "CM",
"ajp" to "SY",
"ak" to "GH", "ak" to "GH",
"am" to "ET", "am" to "ET",
"ar" to "AE", "ar" to "AE",
"ars" to "SA",
"as" to "IN", "as" to "IN",
"asa" to "TZ", "asa" to "TZ",
"az" to "AZ", "az" to "AZ",
@ -515,4 +517,4 @@ object SubtitleHelper {
Language639("Zhuang", "Saɯ cueŋƅ, Saw cuengh", "za", "zha", "zha", "zha", ""), Language639("Zhuang", "Saɯ cueŋƅ, Saw cuengh", "za", "zha", "zha", "zha", ""),
Language639("Zulu", "isiZulu", "zu", "zul", "zul", "zul", ""), Language639("Zulu", "isiZulu", "zu", "zul", "zul", "zul", ""),
) )
} }