Moved magic strings from settings_pref.xml to values/strings.xml so that

they can be translated.
This commit is contained in:
devdan 2012-05-11 20:47:53 +02:00
parent 48ae2a87e6
commit a593f82cbd
2 changed files with 8 additions and 4 deletions

View file

@ -1,5 +1,9 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<resources>
<string name="debugging_and_development">OsmAnd debugging and development</string>
<string name="native_rendering">Native rendering</string>
<string name="animate_routing">Animate routing</string>
<string name="test_voice_prompts">Test voice prompts</string>
<string name="switch_to_raster_map_to_see">No offline vector map present for this location. You can download one in Settings (Offline data), or switch to online maps.</string>
<string name="tip_recent_changes_0_7_2_t">Changes in 0.7.2 :
\n\t- Native rendering for all devices

View file

@ -112,12 +112,12 @@
android:key="offline_poi_edition"></CheckBoxPreference>
<Preference android:title="@string/local_openstreetmap_settings" android:key="local_openstreetmap_points" android:summary="@string/local_openstreetmap_settings_descr"></Preference>
</PreferenceCategory>
<PreferenceCategory android:title="OsmAnd debugging and development">
<CheckBoxPreference android:key="native_rendering" android:title="Native rendering" android:summary="Vector maps may display faster. May not work well on some devices."></CheckBoxPreference>
<PreferenceCategory android:title="@string/debugging_and_development">
<CheckBoxPreference android:key="native_rendering" android:title="@string/native_rendering" android:summary="Vector maps may display faster. May not work well on some devices."></CheckBoxPreference>
<CheckBoxPreference android:summary="@string/trace_rendering_descr" android:title="@string/trace_rendering"
android:key="debug_rendering"></CheckBoxPreference>
<CheckBoxPreference android:key="animate_routing" android:title="Animate routing" android:summary="Simulate route progression manually"></CheckBoxPreference>
<Preference android:key="test_voice_commands" android:summary="Play commands of currently selected voice" android:title="Test voice prompts"></Preference>
<CheckBoxPreference android:key="animate_routing" android:title="@string/animate_routing" android:summary="Simulate route progression manually"></CheckBoxPreference>
<Preference android:key="test_voice_commands" android:summary="Play commands of currently selected voice" android:title="@string/test_voice_prompts"></Preference>
</PreferenceCategory>
</PreferenceScreen>