diff --git a/OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java b/OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java index de2d3aa293..54670fdba1 100644 --- a/OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java @@ -461,6 +461,8 @@ public class SettingsActivity extends PreferenceActivity implements OnPreference updateTileSourceSummary(); updateApplicationDirTextAndSummary(); + + applicationModePreference.setTitle(getString(R.string.settings_preset) + " [" + osmandSettings.APPLICATION_MODE.get() + "]"); } private void updateTileSourceSummary() { @@ -474,7 +476,7 @@ public class SettingsActivity extends PreferenceActivity implements OnPreference // summary = summary.substring(0, summary.lastIndexOf(':') + 1); // } // tileSourcePreference.setSummary(summary + mapName); - tileSourcePreference.setSummary(R.string.map_tile_source_descr + " [" + osmandSettings.MAP_TILE_SOURCES.get() + "]"); + tileSourcePreference.setSummary(getString(R.string.map_tile_source_descr) + " [" + osmandSettings.MAP_TILE_SOURCES.get() + "]"); } private void fillTileSourcesToPreference(ListPreference tileSourcePreference, String value, boolean addNone) { @@ -556,7 +558,6 @@ public class SettingsActivity extends PreferenceActivity implements OnPreference getMyApplication().showDialogInitializingCommandPlayer(this, false); } } else if (listPref.getId().equals(osmandSettings.APPLICATION_MODE.getId())) { - applicationModePreference.setTitle(R.string.settings_preset + " [" + osmandSettings.APPLICATION_MODE.get() + "]"); updateAllSettings(); } else if (listPref.getId().equals(osmandSettings.PREFERRED_LOCALE.getId())) { // restart application to update locale