1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-02 03:16:07 +02:00

Fossil/Skagen Hybrids: Make navigation options texts translatable

This commit is contained in:
Arjan Schrijver 2023-12-23 22:13:20 +01:00
parent 7aeb0dd2ef
commit 9c619c6c7c
2 changed files with 12 additions and 6 deletions

View File

@ -2485,4 +2485,10 @@
<string name="widget_move_down">Move down</string>
<string name="widget_missing_parts">Please select all widgets</string>
<string name="widget_unknown_workout">Unknown workout - %s</string>
<string name="pref_title_fossil_hr_navigation_instructions">Navigation instructions</string>
<string name="pref_summary_fossil_hr_navigation_instructions">Configure on-watch navigation app behavior</string>
<string name="pref_title_fossil_hr_nav_foreground">Come to foreground</string>
<string name="pref_summary_fossil_hr_nav_foreground">Whether the navigation app should automatically come to the foreground when it receives a navigation instruction</string>
<string name="pref_title_fossil_hr_nav_vibrate">Vibrate on new instruction</string>
<string name="pref_summary_fossil_hr_nav_vibrate">Whether the watch should vibrate on every new or changed navigation instruction (only when the app is in the foreground)</string>
</resources>

View File

@ -133,21 +133,21 @@
<PreferenceScreen
android:icon="@drawable/baseline_merge_24"
android:title="Navigation instructions"
android:summary="Configure on-watch navigation app behavior"
android:title="@string/pref_title_fossil_hr_navigation_instructions"
android:summary="@string/pref_summary_fossil_hr_navigation_instructions"
android:key="navigation_app_config">
<SwitchPreferenceCompat
android:defaultValue="true"
android:key="fossil_hr_nav_auto_foreground"
android:title="Come to foreground"
android:summary="Whether the navigation app should automatically come to the foreground when it receives a navigation instruction"
android:title="@string/pref_title_fossil_hr_nav_foreground"
android:summary="@string/pref_summary_fossil_hr_nav_foreground"
android:icon="@drawable/ic_info"/>
<SwitchPreferenceCompat
android:defaultValue="true"
android:key="fossil_hr_nav_vibrate"
android:title="Vibrate on new instruction"
android:summary="Whether the watch should vibrate on every new or changed navigation instruction (only when the app is in the foreground)"
android:title="@string/pref_title_fossil_hr_nav_vibrate"
android:summary="@string/pref_summary_fossil_hr_nav_vibrate"
android:icon="@drawable/ic_action_find_lost_device"/>
</PreferenceScreen>