new: add brazil region

This commit is contained in:
hiddify-com
2024-09-02 04:44:35 +02:00
parent 2901ab6ec4
commit 4bef962812
2 changed files with 3 additions and 0 deletions

View File

@@ -180,6 +180,7 @@
"af": "Afghanistan (af) 🇦🇫", "af": "Afghanistan (af) 🇦🇫",
"id": "Indonesia (id) 🇮🇩", "id": "Indonesia (id) 🇮🇩",
"tr": "Türkiye (tr) 🇹🇷", "tr": "Türkiye (tr) 🇹🇷",
"br": "Brazil (br) 🇧🇷",
"other": "Other" "other": "Other"
}, },
"themeMode": "Theme Mode", "themeMode": "Theme Mode",

View File

@@ -7,6 +7,7 @@ enum Region {
af, af,
id, id,
tr, tr,
br,
other; other;
String present(TranslationsEn t) => switch (this) { String present(TranslationsEn t) => switch (this) {
@@ -16,6 +17,7 @@ enum Region {
tr => t.settings.general.regions.tr, tr => t.settings.general.regions.tr,
af => t.settings.general.regions.af, af => t.settings.general.regions.af,
id => t.settings.general.regions.id, id => t.settings.general.regions.id,
br => t.settings.general.regions.br,
other => t.settings.general.regions.other, other => t.settings.general.regions.other,
}; };
} }