Merge branch 'preference_warning_fix' of https://github.com/osodebailar/AndroidAPS-Nightscout_Fork into osodebailar-preference_warning_fix
This commit is contained in:
commit
bf952cca33
39 changed files with 115 additions and 15 deletions
|
@ -28,6 +28,11 @@
|
|||
<string name="tr_lang" translatable="false">Turkish</string>
|
||||
|
||||
<string name="key_email_for_crash_report" translatable="false">email_for_crash_report</string>
|
||||
<string name="key_smscommunicator_settings" translatable="false">smscommunicator</string>
|
||||
<string name="key_open_humans_settings" translatable="false">open_humans</string>
|
||||
<string name="key_protection_settings" translatable="false">protection</string>
|
||||
<string name="key_absorption_category_settings" translatable="false">absorption_category_settings</string>
|
||||
<string name="key_insulin_oref_peak_settings" translatable="false">insulin_oref_peak_settings</string>
|
||||
|
||||
<string name="treatmentssafety_title">Treatments safety</string>
|
||||
<string name="treatmentssafety_maxbolus_title">Max allowed bolus [U]</string>
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="@string/key_absorption_settings"
|
||||
android:title="@string/absorptionsettings_title"
|
||||
app:initialExpandedChildrenCount="0">
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="@string/key_absorption_category_settings"
|
||||
android:title="@string/absorptionsettings_title"
|
||||
app:initialExpandedChildrenCount="0">
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
xmlns:validate="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="@string/key_localalert_settings"
|
||||
android:title="@string/localalertsettings_title"
|
||||
app:initialExpandedChildrenCount="0">
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="@string/key_bgsource_upload_settings"
|
||||
android:title="@string/bgsource_upload"
|
||||
app:initialExpandedChildrenCount="0">
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="@string/key_dexcom_settings"
|
||||
android:title="@string/bgsource_upload"
|
||||
app:initialExpandedChildrenCount="0">
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
xmlns:validate="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="@string/key_data_choices_settings"
|
||||
android:title="@string/data_choices"
|
||||
app:initialExpandedChildrenCount="0">
|
||||
|
||||
|
|
|
@ -3,8 +3,9 @@
|
|||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<PreferenceCategory
|
||||
app:initialExpandedChildrenCount="0"
|
||||
android:title="@string/configbuilder_general">
|
||||
android:key="@string/key_configbuilder_general_settings"
|
||||
android:title="@string/configbuilder_general"
|
||||
app:initialExpandedChildrenCount="0">
|
||||
|
||||
<ListPreference
|
||||
android:defaultValue="mg/dl"
|
||||
|
@ -27,7 +28,9 @@
|
|||
android:summary="@string/patient_name_summary"
|
||||
/>
|
||||
|
||||
<PreferenceCategory android:title="@string/protection">
|
||||
<PreferenceCategory
|
||||
android:key="@string/key_protection_settings"
|
||||
android:title="@string/protection">
|
||||
|
||||
<Preference
|
||||
android:inputType="textPassword"
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
xmlns:validate="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="@string/key_insulin_oref_peak_settings"
|
||||
android:title="@string/insulin_oref_peak"
|
||||
app:initialExpandedChildrenCount="0">
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
xmlns:validate="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="@string/key_loop_settings"
|
||||
app:initialExpandedChildrenCount="0"
|
||||
android:title="@string/loop">
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="maintenance"
|
||||
android:key="@string/key_maintenance_settings"
|
||||
android:title="@string/maintenance_settings"
|
||||
app:initialExpandedChildrenCount="0">
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
xmlns:validate="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="@string/key_nsclientinternal_settings"
|
||||
android:title="@string/nsclientinternal_title"
|
||||
app:initialExpandedChildrenCount="0">
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
xmlns:validate="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="@string/key_openapsma_settings"
|
||||
android:title="@string/openapsama"
|
||||
app:initialExpandedChildrenCount="0">
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
xmlns:validate="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="@string/key_openapssmb_settings"
|
||||
android:title="@string/openapssmb"
|
||||
app:initialExpandedChildrenCount="0">
|
||||
|
||||
|
|
|
@ -1,7 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:validate="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<PreferenceCategory android:title="@string/open_humans">
|
||||
<PreferenceCategory
|
||||
android:key="@string/key_open_humans_settings"
|
||||
android:title="@string/open_humans">
|
||||
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="true"
|
||||
|
@ -15,4 +19,4 @@
|
|||
|
||||
</PreferenceCategory>
|
||||
|
||||
</PreferenceScreen>
|
||||
</androidx.preference.PreferenceScreen>
|
|
@ -4,6 +4,7 @@
|
|||
xmlns:validate="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="@string/key_overview_settings"
|
||||
android:title="@string/overview"
|
||||
app:initialExpandedChildrenCount="0">
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="@string/key_pump_settings"
|
||||
android:title="@string/pump"
|
||||
app:initialExpandedChildrenCount="0">
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
xmlns:validate="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="@string/key_treatmentssafety_settings"
|
||||
android:title="@string/treatmentssafety_title"
|
||||
app:initialExpandedChildrenCount="0">
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
xmlns:validate="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="@string/key_smscommunicator_settings"
|
||||
android:title="@string/smscommunicator"
|
||||
app:initialExpandedChildrenCount="0">
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
xmlns:validate="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="@string/key_tidepool_settings"
|
||||
android:title="@string/tidepool"
|
||||
app:initialExpandedChildrenCount="0">
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="@string/key_virtualpump_settings"
|
||||
android:title="@string/virtualpump_settings"
|
||||
app:initialExpandedChildrenCount="0">
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="@string/key_wear_settings"
|
||||
android:title="@string/wear_settings"
|
||||
app:initialExpandedChildrenCount="0">
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="@string/key_xdripstatus_settings"
|
||||
android:title="@string/xdripstatus_settings"
|
||||
app:initialExpandedChildrenCount="0">
|
||||
|
||||
|
|
|
@ -109,6 +109,7 @@
|
|||
<string name="preconditions">Preconditions:</string>
|
||||
<string name="automation_event">Automation event</string>
|
||||
<string name="reorder_label">Reorder</string>
|
||||
<string name="key_automation_settings" translatable="false">automation_settings</string>
|
||||
|
||||
|
||||
</resources>
|
|
@ -3,6 +3,7 @@
|
|||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="@string/key_automation_settings"
|
||||
android:title="@string/automation"
|
||||
app:initialExpandedChildrenCount="0">
|
||||
|
||||
|
|
|
@ -34,6 +34,28 @@
|
|||
<string name="key_openapsama_autosens_max" translatable="false">autosens_max</string>
|
||||
<string name="key_openapsama_autosens_min" translatable="false">autosens_min</string>
|
||||
<string name="key_treatmentssafety_maxcarbs" translatable="false">treatmentssafety_maxcarbs</string>
|
||||
<string name="key_bgsource_upload_settings" translatable="false">bgsource_upload_settings</string>
|
||||
<string name="key_localalert_settings" translatable="false">localalert_settings</string>
|
||||
<string name="key_wear_settings" translatable="false">wear_settings</string>
|
||||
<string name="key_configbuilder_general_settings" translatable="false">configbuilder_general_settings</string>
|
||||
<string name="key_maintenance_settings" translatable="false">maintenance_settings</string>
|
||||
<string name="key_smscommunicator_settings" translatable="false">smscommunicator_settings</string>
|
||||
<string name="key_openapssmb_settings" translatable="false">openapssmb_settings</string>
|
||||
<string name="key_treatmentssafety_settings" translatable="false">treatmentssafety_settings</string>
|
||||
<string name="key_loop_settings" translatable="false">loop_settings</string>
|
||||
<string name="key_virtualpump_settings" translatable="false">virtualpump_settings</string>
|
||||
<string name="key_pump_settings" translatable="false">pump_settings</string>
|
||||
<string name="key_tidepool_settings" translatable="false">tidepool_settings</string>
|
||||
<string name="key_absorption_settings" translatable="false">absorption_settings</string>
|
||||
<string name="key_overview_settings" translatable="false">overview_settings</string>
|
||||
<string name="key_openapsma_settings" translatable="false">openapsma_settings</string>
|
||||
<string name="key_medtronic_settings" translatable="false">medtronic_settings</string>
|
||||
<string name="key_danars_settings" translatable="false">danars_settings</string>
|
||||
<string name="key_xdripstatus_settings" translatable="false">xdripstatus_settings</string>
|
||||
<string name="key_nsclientinternal_settings" translatable="false">nsclientinternal_settings</string>
|
||||
<string name="key_insight_local_settings" translatable="false">insight_local_settings</string>
|
||||
<string name="key_data_choices_settings" translatable="false">data_choices_settings</string>
|
||||
<string name="key_dexcom_settings" translatable="false">dexcom_settings</string>
|
||||
|
||||
<!-- General-->
|
||||
<string name="refresh">Refresh</string>
|
||||
|
|
4
danar/src/main/res/values/strings.xml
Normal file
4
danar/src/main/res/values/strings.xml
Normal file
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="key_danar_pump_settings" translatable="false">danar_pump_settings</string>
|
||||
</resources>
|
|
@ -4,6 +4,7 @@
|
|||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="@string/key_danar_pump_settings"
|
||||
android:title="@string/danar_pump_settings"
|
||||
app:initialExpandedChildrenCount="0">
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="@string/key_danar_pump_settings"
|
||||
android:title="@string/danar_pump_settings"
|
||||
app:initialExpandedChildrenCount="0">
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
xmlns:validate="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="@string/key_danar_pump_settings"
|
||||
android:title="@string/danar_pump_settings"
|
||||
app:initialExpandedChildrenCount="0">
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="@string/key_danars_settings"
|
||||
android:title="@string/danarspump"
|
||||
app:initialExpandedChildrenCount="0">
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="@string/key_insight_local_settings"
|
||||
android:title="@string/insight_local"
|
||||
app:initialExpandedChildrenCount="0">
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="@string/key_insight_local_settings"
|
||||
android:title="@string/insight_local"
|
||||
app:initialExpandedChildrenCount="0">
|
||||
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
<string name="key_medtronic_pump_battery_lithium" translatable="false">medtronic_pump_battery_lithium</string>
|
||||
<string name="key_medtronic_pump_battery_nizn" translatable="false">medtronic_pump_battery_nizn</string>
|
||||
<string name="key_medtronic_pump_battery_nimh" translatable="false">medtronic_pump_battery_nimh</string>
|
||||
<string name="key_medtronic_name_settings" translatable="false">medtronic_name_settings</string>
|
||||
|
||||
<string name="medtronic_serial_number">Pump Serial Number</string>
|
||||
<string name="medtronic_pump_type">Pump Type</string>
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
xmlns:validate="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="@string/key_medtronic_name_settings"
|
||||
android:title="@string/medtronic_name"
|
||||
app:initialExpandedChildrenCount="0">
|
||||
|
||||
|
|
|
@ -11,4 +11,7 @@
|
|||
<!-- Omnipod Dash - Overview -->
|
||||
<string name="omnipod_dash_bluetooth_status">Bluetooth Status</string>
|
||||
<string name="omnipod_dash_bluetooth_address">Bluetooth Address</string>
|
||||
<string name="key_omnipod_common_preferences_category_confirmation_beeps" translatable="false">omnipod_common_preferences_category_confirmation</string>
|
||||
<string name="key_common_preferences_category_alerts_settings" translatable="false">common_preferences_category_alerts</string>
|
||||
<string name="key_common_preferences_category_other_settings" translatable="false">common_preferences_category_other</string>
|
||||
</resources>
|
|
@ -1,7 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:validate="http://schemas.android.com/apk/res-auto">
|
||||
<PreferenceCategory android:title="@string/omnipod_common_preferences_category_confirmation_beeps">
|
||||
<PreferenceCategory
|
||||
android:key="@string/key_omnipod_common_preferences_category_confirmation_beeps"
|
||||
android:title="@string/omnipod_common_preferences_category_confirmation_beeps"
|
||||
app:initialExpandedChildrenCount="0">
|
||||
|
||||
<SwitchPreference
|
||||
android:defaultValue="true"
|
||||
|
@ -25,7 +29,10 @@
|
|||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory android:title="@string/omnipod_common_preferences_category_alerts">
|
||||
<PreferenceCategory
|
||||
android:key="@string/key_common_preferences_category_alerts_settings"
|
||||
android:title="@string/omnipod_common_preferences_category_alerts"
|
||||
app:initialExpandedChildrenCount="0">
|
||||
|
||||
<SwitchPreference
|
||||
android:defaultValue="true"
|
||||
|
@ -66,7 +73,10 @@
|
|||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory android:title="@string/omnipod_common_preferences_category_other">
|
||||
<PreferenceCategory
|
||||
android:key="@string/key_common_preferences_category_other_settings"
|
||||
android:title="@string/omnipod_common_preferences_category_other"
|
||||
app:initialExpandedChildrenCount="0">
|
||||
|
||||
<SwitchPreference
|
||||
android:defaultValue="false"
|
||||
|
|
|
@ -18,6 +18,10 @@
|
|||
<string name="key_omnipod_eros_tbrs_set" translatable="false">AAPS.Omnipod.tbrs_set</string>
|
||||
<string name="key_omnipod_eros_std_boluses_delivered" translatable="false">AAPS.Omnipod.std_boluses_delivered</string>
|
||||
<string name="key_omnipod_eros_smb_boluses_delivered" translatable="false">AAPS.Omnipod.smb_boluses_delivered</string>
|
||||
<string name="key_common_preferences_category_confirmation_beeps_settings" translatable="false">common_preferences_category_confirmation_beeps_settings</string>
|
||||
<string name="key_omnipod_eros_preferences_category_notifications_settings" translatable="false">omnipod_eros_preferences_category_notifications_settings</string>
|
||||
<string name="key_omnipod_common_preferences_category_other_settings" translatable="false">omnipod_common_preferences_category_other_settings</string>
|
||||
<string name="key_omnipod_preference_category_rileylink_settings" translatable="false">omnipod_preference_category_rileylink_settings</string>
|
||||
|
||||
<!-- Omnipod Eros - Overview -->
|
||||
<string name="omnipod_eros_overview_firmware_version_value" translatable="false">PM %1$s / PI %2$s</string>
|
||||
|
|
|
@ -1,8 +1,12 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:validate="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<PreferenceCategory android:title="@string/omnipod_eros_preferences_category_riley_link">
|
||||
<PreferenceCategory
|
||||
android:key="@string/key_omnipod_preference_category_rileylink_settings"
|
||||
android:title="@string/omnipod_eros_preferences_category_riley_link"
|
||||
app:initialExpandedChildrenCount="0">
|
||||
|
||||
<Preference
|
||||
android:enabled="true"
|
||||
|
@ -25,7 +29,10 @@
|
|||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory android:title="@string/omnipod_common_preferences_category_confirmation_beeps">
|
||||
<PreferenceCategory
|
||||
android:key="@string/key_common_preferences_category_confirmation_beeps_settings"
|
||||
android:title="@string/omnipod_common_preferences_category_confirmation_beeps"
|
||||
app:initialExpandedChildrenCount="0">
|
||||
|
||||
<SwitchPreference
|
||||
android:defaultValue="true"
|
||||
|
@ -49,7 +56,10 @@
|
|||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory android:title="@string/omnipod_common_preferences_category_alerts">
|
||||
<PreferenceCategory
|
||||
android:key="@string/key_common_preferences_category_alerts_settings"
|
||||
android:title="@string/omnipod_common_preferences_category_alerts"
|
||||
app:initialExpandedChildrenCount="0">
|
||||
|
||||
<SwitchPreference
|
||||
android:defaultValue="true"
|
||||
|
@ -90,7 +100,10 @@
|
|||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory android:title="@string/omnipod_eros_preferences_category_notifications">
|
||||
<PreferenceCategory
|
||||
android:key="@string/key_omnipod_eros_preferences_category_notifications_settings"
|
||||
android:title="@string/omnipod_eros_preferences_category_notifications"
|
||||
app:initialExpandedChildrenCount="0">
|
||||
|
||||
<SwitchPreference
|
||||
android:defaultValue="false"
|
||||
|
@ -109,7 +122,10 @@
|
|||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory android:title="@string/omnipod_common_preferences_category_other">
|
||||
<PreferenceCategory
|
||||
android:key="@string/key_omnipod_common_preferences_category_other_settings"
|
||||
android:title="@string/omnipod_common_preferences_category_other"
|
||||
app:initialExpandedChildrenCount="0">
|
||||
|
||||
<SwitchPreference
|
||||
android:defaultValue="false"
|
||||
|
|
Loading…
Reference in a new issue