Skip to content

Commit 0cf8d8f

Browse files
authored
Merge pull request #3716 from Navid200/Navid_2024_10_13
Some new translation keys
2 parents f86a17d + f6054b0 commit 0cf8d8f

File tree

5 files changed

+28
-14
lines changed

5 files changed

+28
-14
lines changed

app/src/main/res/values/strings.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -781,6 +781,8 @@
781781
<string name="glucose_meters">Glucose Meters</string>
782782
<string name="glucose_meter_options">Options for wireless glucose meters</string>
783783
<string name="auto_connect_to_meter">Automatically connect and retrieve data from a standard\'s compliant glucose meter like the Contour Next One</string>
784+
<string name="summary_use_nfc_meter">Download glucose records from NFC meter when xDrip is open</string>
785+
<string name="title_use_nfc_meter">Use NFC Meter</string>
784786
<string name="use_bluetooth_meter">Use Bluetooth Meter</string>
785787
<string name="scan_for_bluetooth_meter">Scan for Bluetooth Meter</string>
786788
<string name="meter_connect_sound">Enable this to play sound effects when the meter connects, disconnects or syncs data</string>
@@ -1249,6 +1251,12 @@
12491251
<string name="title_tidepool_window_latency">Data Age Mins</string>
12501252
<string name="summary_tidepool_dev_servers">If enabled, uploads will go to https://int-app.tidepool.org instead of the regular https://app.tidepool.org/</string>
12511253
<string name="title_tidepool_dev_servers">Use Integration (test) servers</string>
1254+
<string name="summary_tidepool_upload_when_chargeonly">Upload data only when charging</string>
1255+
<string name="title_tidepool_upload_when_chargeonly">Only when charging</string>
1256+
<string name="summary_tidepool_upload_only_wifi">Upload data only when connected to an unmetered network like Wifi</string>
1257+
<string name="title_tidepool_upload_only_wifi">Only on Wifi</string>
1258+
<string name="summary_tidepool_upload_no_treatment">Upload only CGM data to avoid duplicates with manual pump upload</string>
1259+
<string name="title_tidepool_upload_no_treatment">Don\'t upload treatments</string>
12521260
<string name="title_tidepool">Tidepool</string>
12531261
<string name="show_help">Show Help</string>
12541262
<string name="load_save_settings_on_sdcard">Load / Save Settings</string>
@@ -1331,6 +1339,8 @@
13311339
<string name="summary_lefun_send_alarms">Send notifications to the band for glucose alarms</string>
13321340
<string name="title_lefun_send_alarms">Send Alarms</string>
13331341
<string name="title_lefun_option_shake_snoozes">Shake to Snooze</string>
1342+
<string name="summary_lefun_send_calls">Send call notifications to the band</string>
1343+
<string name="title_lefun_send_calls">Send Calls</string>
13341344
<string name="title_lefun_screens_features">Lefun Screens / Features</string>
13351345
<string name="title_features">Features</string>
13361346
<string name="title_lefun_feature_lift_to_wak">Lift to Wake</string>
@@ -1398,6 +1408,8 @@
13981408
<string name="title_ob1_g5_fallback_to_xdrip">Fallback to xDrip</string>
13991409
<string name="summary_ob1_minimize_scanning">Use heuristics to minimize Bluetooth scanning + save power</string>
14001410
<string name="title_ob1_minimize_scanning">Minimize Scanning</string>
1411+
<string name="summary_ob1_avoid_scanning">Avoid scanning as much as possible (reduces battery usage further)</string>
1412+
<string name="title_ob1_avoid_scanning">Avoid Scanning</string>
14011413
<string name="summary_using_g6">I am using a G6, G7, Dexcom 1 or One+ Sensor</string>
14021414
<string name="title_using_g6">G6/G7/Dex1/One+ Support</string>
14031415
<string name="summary_ob1_g5_allow_resetbond">OB1 collector can unbond if it thinks the encryption has failed. If you get problems with it unpairing then disable this option. If you then totally lose connection, make sure this is enabled.</string>
@@ -1921,6 +1933,8 @@
19211933
<string name="audio_focus_lower_volume_of_other_apps">Lower volume of other apps</string>
19221934
<string name="audio_focus_pause_other_apps_playing_audio">Pause other apps playing audio</string>
19231935
<string name="audio_focus_pause_all_other_sounds">Pause all other sounds</string>
1936+
<string name="wake_up_screen">Wake Screen</string>
1937+
<string name="wake_up_screen_summary">Wake up screen during alerts. Might unlock devices that don\'t have screen lock enabled.</string>
19241938
<string name="use_camera_light">Use Camera Light</string>
19251939
<string name="use_camera_light_summary">Flash camera light during alerts when connected to a charger</string>
19261940
<string name="g7_should_start_automatically">G7 should start automatically</string>

app/src/main/res/xml/pref_advanced_settings.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -523,8 +523,8 @@
523523
android:defaultValue="false"
524524
android:dependency="lefun_enabled"
525525
android:key="lefun_option_call_notifications"
526-
android:summary="Send call notifications to the band (Android 6+)"
527-
android:title="Send Calls" />
526+
android:summary="@string/summary_lefun_send_calls"
527+
android:title="@string/title_lefun_send_calls" />
528528

529529
<PreferenceScreen android:title="@string/title_lefun_screens_features"
530530
android:key="lefun_features">

app/src/main/res/xml/pref_data_source.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,8 +387,8 @@
387387
android:dependency="ob1_minimize_scanning"
388388
android:enabled="true"
389389
android:key="ob1_avoid_scanning"
390-
android:summary="Avoid scanning as much as possible (reduces battery usage further)"
391-
android:title="Avoid Scanning" />
390+
android:summary="@string/summary_ob1_avoid_scanning"
391+
android:title="@string/title_ob1_avoid_scanning" />
392392
<CheckBoxPreference
393393
android:defaultValue="false"
394394
android:key="using_g6"

app/src/main/res/xml/pref_data_sync.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -311,18 +311,18 @@
311311
<CheckBoxPreference
312312
android:defaultValue="false"
313313
android:key="tidepool_only_while_charging"
314-
android:summary="Upload data only when charging"
315-
android:title="Only when charging" />
314+
android:summary="@string/summary_tidepool_upload_when_chargeonly"
315+
android:title="@string/title_tidepool_upload_when_chargeonly" />
316316
<CheckBoxPreference
317317
android:defaultValue="false"
318318
android:key="tidepool_only_while_unmetered"
319-
android:summary="Upload data only when connected to an unmetered network like Wifi"
320-
android:title="Only on Wifi" />
319+
android:summary="@string/summary_tidepool_upload_only_wifi"
320+
android:title="@string/title_tidepool_upload_only_wifi" />
321321
<CheckBoxPreference
322322
android:defaultValue="false"
323323
android:key="tidepool_no_treatments"
324-
android:summary="Upload only CGM data to avoid duplicates with manual pump upload"
325-
android:title="Don't upload treatments" />
324+
android:summary="@string/summary_tidepool_upload_no_treatment"
325+
android:title="@string/title_tidepool_upload_no_treatment" />
326326
<CheckBoxPreference
327327
android:defaultValue="false"
328328
android:key="tidepool_new_auth"
@@ -375,10 +375,10 @@
375375
<SwitchPreference
376376
android:defaultValue="false"
377377
android:key="nfc_meter_enabled"
378-
android:summary="Download glucose records from NFC meter when xDrip is open"
378+
android:summary="@string/summary_use_nfc_meter"
379379
android:switchTextOff="@string/short_off_text_for_switches"
380380
android:switchTextOn="@string/short_on_text_for_switches"
381-
android:title="Use NFC Meter" />
381+
android:title="@string/title_use_nfc_meter" />
382382
<SwitchPreference
383383
android:defaultValue="false"
384384
android:key="bluetooth_meter_enabled"

app/src/main/res/xml/pref_notifications.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@
7474
<SwitchPreference
7575
android:defaultValue="false"
7676
android:key="wake_phone_during_alerts"
77-
android:summary="Wake up screen during alerts. Might unlock devices that don't have screen lock enabled."
77+
android:summary="@string/wake_up_screen_summary"
7878
android:switchTextOff="@string/short_off_text_for_switches"
7979
android:switchTextOn="@string/short_on_text_for_switches"
80-
android:title="Wake Screen" />
80+
android:title="@string/wake_up_screen" />
8181

8282
<SwitchPreference
8383
android:defaultValue="false"

0 commit comments

Comments
 (0)