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) {
3939 Locale (" bn" ), Locale (" ca" ), Locale (" cs" ),
4040 Locale (" da" ), Locale (" el" ), Locale (" es" ),
4141 Locale (" es" , " MX" ),
42+ Locale (" es" , " CU" ),
43+
4244 Locale (" es" , " AR" ),
4345 Locale (" en" ," GB" ),
4446 Locale (" eo" ),
@@ -185,8 +187,11 @@ class Languages private constructor(activity: Activity) {
185187 } else if (locale.language.equals(" nah" )) {
186188 tmpMap[" nah" ] = " Nahuatl"
187189 }
190+ else if (locale.country.equals(" cu" ,true )) {
191+ tmpMap[locale.toString()] = " Español Cubano"
192+ }
188193 else {
189- tmpMap[locale.toString()] = locale.getDisplayLanguage(locale) + " " + locale.getDisplayCountry(locale)
194+ tmpMap[locale.toString()] = locale.getDisplayLanguage(locale).capitalize() + " " + locale.getDisplayCountry(locale)
190195 }
191196 }
192197
You can’t perform that action at this time.
0 commit comments