revert in xml, must be done in java it looks like

This commit is contained in:
sonora 2015-01-07 18:37:44 +01:00
parent 7a5f0e052e
commit 9f32849320
2 changed files with 2 additions and 1 deletions

View file

@ -4,7 +4,7 @@
<ListPreference android:key="rotate_map" android:title="@string/rotate_map_to_bearing" android:summary="@string/rotate_map_to_bearing_descr"></ListPreference>
<ListPreference android:key="map_screen_orientation" android:title="@string/map_screen_orientation" android:summary="@string/map_screen_orientation_descr"></ListPreference>
<PreferenceCategory android:title="@string/localization_pref_title" android:key="localization">
<ListPreference android:key="preferred_locale" android:title="@string/preferred_locale"&" ("&"@string/system_default"&")" android:summary="@string/preferred_locale_descr"></ListPreference>
<ListPreference android:key="preferred_locale" android:title="@string/preferred_locale" android:summary="@string/preferred_locale_descr"></ListPreference>
<ListPreference android:key="default_driving_region" android:title="@string/driving_region" android:summary="@string/driving_region_descr"></ListPreference>
<ListPreference android:key="default_metric_system" android:title="@string/unit_of_length" android:summary="@string/unit_of_length_descr"></ListPreference>

View file

@ -153,6 +153,7 @@ public class SettingsGeneralActivity extends SettingsBaseActivity {
// See language list and statistics at: https://hosted.weblate.org/projects/osmand/main/
String incompleteSuffix = " (" + getString(R.string.incomplete_locale) + ")";
// Add this in Latin also so it can be more easily identified if foreign language has been selected by mistake
String latinSystemDefaultSuffix = " (" + getString(R.string.system_default_no_translate) + ")";
//getResources().getAssets().getLocales();