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
val appLanguages = arrayListOf(
/* begin language list */
Triple("", "ajp", "ajp"),
Triple("", "عربي شامي", "ajp"),
Triple("", "አማርኛ", "am"),
Triple("", "العربية", "ar"),
Triple("", "ars", "ars"),
Triple("", "اللهجة النجدية", "ars"),
Triple("", "български", "bg"),
Triple("", "বাংলা", "bn"),
Triple("\uD83C\uDDE7\uD83C\uDDF7", "português brasileiro", "bp"),

View file

@ -153,9 +153,11 @@ object SubtitleHelper {
private val flags = mapOf(
"af" to "ZA",
"agq" to "CM",
"ajp" to "SY",
"ak" to "GH",
"am" to "ET",
"ar" to "AE",
"ars" to "SA",
"as" to "IN",
"asa" to "TZ",
"az" to "AZ",