1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-29 13:26:50 +01:00

update default value,

extract strings to translation file
This commit is contained in:
Lukas 2023-06-09 12:24:23 +02:00 committed by José Rebelo
parent 6e3ce89ae5
commit 4cdefb17df
2 changed files with 7 additions and 5 deletions

View File

@ -264,6 +264,9 @@
<string name="pref_summary_banglejs_text_bitmap">If a word cannot be rendered with the watch\'s font, render it to a bitmap in Gadgetbridge and display the bitmap on the watch</string>
<string name="pref_title_banglejs_txt_bitmap_size">Text Bitmaps Size</string>
<string name="pref_summary_banglejs_txt_bitmap_size">If \'Text as Bitmaps\' enabled, what size should text be rendered?</string>
<string name="pref_summary_banglejs_phone_gps_enbale">Use the gps data of the phone to overwrite the gps data of the bangle device</string>
<string name="pref_summary_banglejs_phone_gps_network_only">This option is only active, if the gps data of the phone is being used. This option can be used to use only the network provider to determine the location. This reduces the power consumption for the cost of accuracy. A reconnection of the device is needed.</string>
<string name="pref_summary_banglejs_phone_gps_update_interval">This option is only active, if the gps data of the phone is being used. This option sets the interval in ms how often the gps position is being updated</string>
<string name="pref_title_banglejs_webview_url">App loader URL</string>
<string name="pref_summary_banglejs_webview_url">If you want a custom app loader put your https://…/android.html URL here. Otherwise leave blank for https://banglejs.com/apps</string>
<string name="pref_title_rtl">Right-To-Left</string>

View File

@ -4,21 +4,20 @@
android:defaultValue="false"
android:icon="@drawable/ic_gps_location"
android:key="banglejs_gps_update"
android:summary="Use the gps data of the phone to overwrite the gps data of the bangle device"
android:summary="@string/pref_summary_banglejs_phone_gps_enbale"
android:title="Use phone gps data" />
<EditTextPreference
android:defaultValue="1000"
android:inputType="number"
android:icon="@drawable/ic_access_time"
android:key="banglejs_gps_update_interval"
android:summary="This option is only active, if the gps data of the phone is being used. This option sets the interval in ms how often the gps position is being updated"
android:summary="@string/pref_summary_banglejs_phone_gps_update_interval"
android:title="GPS data update interval in ms" />
<SwitchPreference
android:defaultValue="1000"
android:inputType="number"
android:defaultValue="false"
android:icon="@drawable/ic_gps_location"
android:key="banglejs_gps_use_network_only"
android:summary="This option is only active, if the gps data of the phone is being used. This option can be used to use only the network provider to determine the location. This reduces the power consumption for the cost of accuracy. A reconnection of the device is needed."
android:summary="@string/pref_summary_banglejs_phone_gps_network_only"
android:title="Only use network to determine location" />
<SwitchPreference