File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
appcore/src/main/java/org/torproject/android/core Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,8 @@ class Languages private constructor(activity: Activity) {
39
39
Locale (" bn" ), Locale (" ca" ), Locale (" cs" ),
40
40
Locale (" da" ), Locale (" el" ), Locale (" es" ),
41
41
Locale (" es" , " MX" ),
42
+ Locale (" es" , " CU" ),
43
+
42
44
Locale (" es" , " AR" ),
43
45
Locale (" en" ," GB" ),
44
46
Locale (" eo" ),
@@ -185,8 +187,11 @@ class Languages private constructor(activity: Activity) {
185
187
} else if (locale.language.equals(" nah" )) {
186
188
tmpMap[" nah" ] = " Nahuatl"
187
189
}
190
+ else if (locale.country.equals(" cu" ,true )) {
191
+ tmpMap[locale.toString()] = " Español Cubano"
192
+ }
188
193
else {
189
- tmpMap[locale.toString()] = locale.getDisplayLanguage(locale) + " " + locale.getDisplayCountry(locale)
194
+ tmpMap[locale.toString()] = locale.getDisplayLanguage(locale).capitalize() + " " + locale.getDisplayCountry(locale)
190
195
}
191
196
}
192
197
You can’t perform that action at this time.
0 commit comments