diff --git a/app/src/main/java/com/lagradost/cloudstream3/ui/settings/SettingsGeneral.kt b/app/src/main/java/com/lagradost/cloudstream3/ui/settings/SettingsGeneral.kt index 224ca74a..5a751096 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/ui/settings/SettingsGeneral.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/ui/settings/SettingsGeneral.kt @@ -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"), diff --git a/app/src/main/java/com/lagradost/cloudstream3/utils/SubtitleHelper.kt b/app/src/main/java/com/lagradost/cloudstream3/utils/SubtitleHelper.kt index 33f1b6ff..09f5e0f1 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/utils/SubtitleHelper.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/utils/SubtitleHelper.kt @@ -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", @@ -515,4 +517,4 @@ object SubtitleHelper { Language639("Zhuang", "Saɯ cueŋƅ, Saw cuengh", "za", "zha", "zha", "zha", ""), Language639("Zulu", "isiZulu", "zu", "zul", "zul", "zul", ""), ) -} \ No newline at end of file +}