mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
address issue #339
Co-authored-by: eightyy8 <64216434+eightyy8@users.noreply.github.com>
This commit is contained in:
parent
84493b7f3b
commit
dd38556102
1 changed files with 19 additions and 19 deletions
|
@ -57,47 +57,47 @@ fun getCurrentLocale(context: Context): String {
|
|||
val appLanguages = arrayListOf(
|
||||
/* begin language list */
|
||||
Triple("", "العربية", "ar"),
|
||||
Triple("", "български език", "bg"),
|
||||
Triple("", "български", "bg"),
|
||||
Triple("", "বাংলা", "bn"),
|
||||
Triple("\uD83C\uDDE7\uD83C\uDDF7", "Brazilian Portuguese", "bp"),
|
||||
Triple("", "čeština", "cs"),
|
||||
Triple("", "Deutsch", "de"),
|
||||
Triple("", "ελληνικά", "el"),
|
||||
Triple("", "Ελληνικά", "el"),
|
||||
Triple("", "English", "en"),
|
||||
Triple("", "Esperanto", "eo"),
|
||||
Triple("", "Español", "es"),
|
||||
Triple("", "español", "es"),
|
||||
Triple("", "فارسی", "fa"),
|
||||
Triple("", "français", "fr"),
|
||||
Triple("\uD83C\uDDEE\uD83C\uDDF1", "עברית", "he"),
|
||||
Triple("", "हिन्दी", "hi"),
|
||||
Triple("", "hrvatski jezik", "hr"),
|
||||
Triple("", "hrvatski", "hr"),
|
||||
Triple("", "magyar", "hu"),
|
||||
Triple("\uD83C\uDDEE\uD83C\uDDE9", "Indonesian", "in"),
|
||||
Triple("", "Italiano", "it"),
|
||||
Triple("\uD83C\uDDEE\uD83C\uDDF1", "עִברִית", "iw"),
|
||||
Triple("\uD83C\uDDEE\uD83C\uDDE9", "Bahasa Indonesia", "in"),
|
||||
Triple("", "italiano", "it"),
|
||||
Triple("", "ಕನ್ನಡ", "kn"),
|
||||
Triple("", "македонски јазик", "mk"),
|
||||
Triple("", "македонски", "mk"),
|
||||
Triple("", "മലയാളം", "ml"),
|
||||
Triple("", "Nederlands", "nl"),
|
||||
Triple("", "Norsk nynorsk", "nn"),
|
||||
Triple("", "Norsk", "no"),
|
||||
Triple("", "język polski", "pl"),
|
||||
Triple("\uD83C\uDDF5\uD83C\uDDF9", "Português", "pt"),
|
||||
Triple("", "norsk nynorsk", "nn"),
|
||||
Triple("", "norsk bokmål", "no"),
|
||||
Triple("", "polski", "pl"),
|
||||
Triple("\uD83C\uDDF5\uD83C\uDDF9", "português", "pt"),
|
||||
Triple("🦍", "mmmm... monke", "qt"),
|
||||
Triple("", "Română", "ro"),
|
||||
Triple("", "Русский", "ru"),
|
||||
Triple("", "română", "ro"),
|
||||
Triple("", "русский", "ru"),
|
||||
Triple("", "slovenčina", "sk"),
|
||||
Triple("", "Soomaaliga", "so"),
|
||||
Triple("", "svenska", "sv"),
|
||||
Triple("", "தமிழ்", "ta"),
|
||||
Triple("", "Wikang Tagalog", "tl"),
|
||||
Triple("", "Tagalog", "tl"),
|
||||
Triple("", "Türkçe", "tr"),
|
||||
Triple("", "Українська", "uk"),
|
||||
Triple("", "українська", "uk"),
|
||||
Triple("", "اردو", "ur"),
|
||||
Triple("", "Tiếng Việt", "vi"),
|
||||
Triple("", "中文 (Zhōngwén)", "zh"),
|
||||
Triple("\uD83C\uDDF9\uD83C\uDDFC", "Chinese Traditional", "zh-rTW"),
|
||||
Triple("", "中文", "zh"),
|
||||
Triple("\uD83C\uDDF9\uD83C\uDDFC", "文言", "zh-rTW"),
|
||||
/* end language list */
|
||||
).sortedBy { it.second } //ye, we go alphabetical, so ppl don't put their lang on top
|
||||
).sortedBy { it.second?.toLowerCase() } //ye, we go alphabetical, so ppl don't put their lang on top
|
||||
|
||||
class SettingsGeneral : PreferenceFragmentCompat() {
|
||||
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
|
||||
|
|
Loading…
Reference in a new issue