Configure to speak street names
This commit is contained in:
parent
0691eec173
commit
f470d13f3a
3 changed files with 4 additions and 4 deletions
|
@ -11,7 +11,7 @@
|
|||
-->
|
||||
<string name="speak_title">Announce …</string>
|
||||
<string name="speak_descr">Configure to announce street names, traffic warnings (forced stops, speed bumps), speed camera warnings, speed limits</string>
|
||||
<string name="speak_street_name">Announce speed limit</string>
|
||||
<string name="speak_street_names">Announce street names (TTS)</string>
|
||||
<string name="speak_speed_limit">Announce speed limit</string>
|
||||
<string name="speak_cameras">Announce speed cameras</string>
|
||||
<string name="speak_traffic_warnings">Announce traffic warnings</string>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<CheckBoxPreference android:title="@string/auto_zoom_map" android:summary="@string/auto_zoom_map_descr" android:key="auto_zoom_map"></CheckBoxPreference>
|
||||
<CheckBoxPreference android:title="@string/snap_to_road" android:summary="@string/snap_to_road_descr" android:key="snap_to_road"></CheckBoxPreference>
|
||||
<Preference android:title="@string/show_warnings_title" android:summary="@string/show_warnings_descr" android:key="show_routing_alarms"/>
|
||||
<Preference android:title="@string/speak_warnings_title" android:summary="@string/speak_warnings_descr" android:key="speak_routing_alarms"/>
|
||||
<Preference android:title="@string/speak_title" android:summary="@string/speak_descr" android:key="speak_routing_alarms"/>
|
||||
<Preference android:title="@string/avoid_in_routing_title" android:summary="@string/avoid_in_routing_descr" android:key="avoid_in_routing"/>
|
||||
<Preference android:title="@string/prefer_in_routing_title" android:summary="@string/prefer_in_routing_descr" android:key="prefer_in_routing"/>
|
||||
<CheckBoxPreference android:summary="@string/use_compass_navigation_descr" android:title="@string/use_compass_navigation"
|
||||
|
|
|
@ -176,8 +176,8 @@ public class SettingsNavigationActivity extends SettingsBaseActivity {
|
|||
settings.SHOW_CAMERAS, settings.SHOW_LANES });
|
||||
return true;
|
||||
} else if (preference == speakAlarms) {
|
||||
showBooleanSettings(new String[] { getString(R.string.speak_traffic_warnings), getString(R.string.speak_cameras),
|
||||
getString(R.string.speak_speed_limit) }, new OsmandPreference[] { settings.SPEAK_TRAFFIC_WARNINGS,
|
||||
showBooleanSettings(new String[] { getString(R.string.speak_street_names), getString(R.string.speak_traffic_warnings), getString(R.string.speak_cameras),
|
||||
getString(R.string.speak_speed_limit) }, new OsmandPreference[] { settings.SPEAK_STREET_NAMES, settings.SPEAK_TRAFFIC_WARNINGS,
|
||||
settings.SPEAK_SPEED_CAMERA , settings.SPEAK_SPEED_LIMIT});
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue