add missing gerString()

This commit is contained in:
sonora 2015-01-07 22:41:04 +01:00
parent 8c35e4a353
commit 23aab4df5e

View file

@ -258,7 +258,7 @@ public class SettingsGeneralActivity extends SettingsBaseActivity {
registerListPreference(settings.PREFERRED_LOCALE, screen, entries, entrieValues); registerListPreference(settings.PREFERRED_LOCALE, screen, entries, entrieValues);
// Display "Device language" in Latin for all non-en languages // Display "Device language" in Latin for all non-en languages
if (!getResources().getString(R.string.preferred_locale).equals(getResources().getString(R.string.preferred_locale_no_translate))) { if (!getResources().getString(R.string.preferred_locale).equals(getResources().getString(R.string.preferred_locale_no_translate))) {
((ListPreference) screen.findPreference(settings.PREFERRED_LOCALE.getId())).setTitle(R.string.preferred_locale + " (" + R.string.preferred_locale_no_translate + ")"); ((ListPreference) screen.findPreference(settings.PREFERRED_LOCALE.getId())).setTitle(getString(R.string.preferred_locale) + " (" + getString(R.string.preferred_locale_no_translate) + ")");
} }
} }