diff --git a/OsmAnd/src/net/osmand/plus/activities/SettingsGeneralActivity.java b/OsmAnd/src/net/osmand/plus/activities/SettingsGeneralActivity.java index 543935f822..d5367be2e7 100644 --- a/OsmAnd/src/net/osmand/plus/activities/SettingsGeneralActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/SettingsGeneralActivity.java @@ -257,7 +257,7 @@ public class SettingsGeneralActivity extends SettingsBaseActivity { getString(R.string.lang_cy) + incompleteSuffix,}; registerListPreference(settings.PREFERRED_LOCALE, screen, entries, entrieValues); // Display "Device language" in Latin for all non-en languages - if (!getResources().getString(R.string.preferred_locale).getText().equals(getResources().getString(R.string.preferred_locale_no_translate).getText())) { + 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 + ")"); } }