Skip to content

Commit 7fd3840

Browse files
committed
Added support for Nahuatl in language picker
1 parent 4d0361e commit 7fd3840

File tree

1 file changed

+3
-0
lines changed
  • appcore/src/main/java/org/torproject/android/core

1 file changed

+3
-0
lines changed

appcore/src/main/java/org/torproject/android/core/Languages.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ class Languages private constructor(activity: Activity) {
4848
Locale("gu"),
4949
Locale("guc"),
5050
Locale("gum"),
51+
Locale("nah"),
5152
Locale("hi"),
5253
Locale("hr"), Locale("hu"), Locale("hy","AM"),
5354
Locale("ia"),
@@ -181,6 +182,8 @@ class Languages private constructor(activity: Activity) {
181182
}
182183
else if (locale.language.equals("guc")) {
183184
tmpMap["guc"] = "Wayuu"
185+
} else if (locale.language.equals("nah")) {
186+
tmpMap["nah"] = "Nahuatl"
184187
}
185188
else {
186189
tmpMap[locale.toString()] = locale.getDisplayLanguage(locale) + " " + locale.getDisplayCountry(locale)

0 commit comments

Comments
 (0)