Merge "Capitalize the names of languages in the dictionary picker."
This commit is contained in:
commit
30a7315878
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ public class InputLanguageSelection extends PreferenceActivity {
|
|||
for (int i = 0; i < mAvailableLanguages.size(); i++) {
|
||||
CheckBoxPreference pref = new CheckBoxPreference(this);
|
||||
Locale locale = mAvailableLanguages.get(i).locale;
|
||||
pref.setTitle(locale.getDisplayName(locale));
|
||||
pref.setTitle(toTitleCase(locale.getDisplayName(locale)));
|
||||
boolean checked = isLocaleIn(locale, languageList);
|
||||
pref.setChecked(checked);
|
||||
parent.addPreference(pref);
|
||||
|
|
Loading…
Reference in a new issue