Capitalize the names of languages in the dictionary picker.

Bug 2417503
main
Eric Fischer 2010-02-03 17:32:56 -08:00
parent f892861b7b
commit 6fd70d9259
1 changed files with 1 additions and 1 deletions

View File

@ -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);