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

This commit is contained in:
Eric Fischer 2010-02-04 10:37:37 -08:00 committed by Android (Google) Code Review
commit 30a7315878

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