Merge "Capitalize the names of languages in the dictionary picker."

main
Eric Fischer 2010-02-04 10:37:37 -08:00 committed by Android (Google) Code Review
commit 30a7315878
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);