extracted more strings for translations

This commit is contained in:
Graham Jones
2020-10-28 22:04:28 +00:00
parent 48b4a1e114
commit ee89e9acbe
5 changed files with 177 additions and 95 deletions

View File

@@ -213,4 +213,47 @@
<string name="ble_device_name_summary">Name of BLE Data Source Device</string> <string name="ble_device_name_summary">Name of BLE Data Source Device</string>
<string name="ble_device_name_title">Device Address</string> <string name="ble_device_name_title">Device Address</string>
<string name="user_interface_settings_title">User Interface Settings</string> <string name="user_interface_settings_title">User Interface Settings</string>
<string name="pebble_update_period_summary">Time period at which data is sent to the phone (does not affect analysis frequency - see Sample Period setting for that)</string>
<string name="mute_period_summary">Time that alarms are muted following a long press of the UP button</string>
<string name="pebble_update_period_title">Data Transfer Period (sec)</string>
<string name="mute_period_title">Mute Period (sec)</string>
<string name="manual_alarm_period_summary">Time that manual alarms sound following a long press of the DOWN button</string>
<string name="manual_alarm_period_title">Manual Alarm Period (sec)</string>
<string name="warn_time_summary">Time to wait before initiating warning (Default = 5 sec)</string>
<string name="warn_time_title">WarnTime (sec)</string>
<string name="alarm_time_summary">Time to wait before initiating alarm (Default = 10 sec)</string>
<string name="alarm_time_title">AlarmTime (sec)</string>
<string name="alarm_threshold_title">AlarmThresh</string>
<string name="alarm_ratio_thresh_summary">Alarm Ratio Threshold (Default = 50). Increase this value to reduce sensitivity if false alarms are a problem.</string>
<string name="alarm_ratio_thresh_title">AlarmRatioThresh</string>
<string name="alarm_feq_min_summary">Minimum Frequency of ROI (Hz) (Default = 3 Hz)</string>
<string name="alarm_freq_min_title">AlarmFreqMin (Hz)</string>
<string name="alarm_freq_max_summary">Maximum Frequency of ROI (Hz) (Default = 10 Hz)</string>
<string name="alarm_frequency_max_title">AlarmFreqMax (Hz)</string>
<string name="sample_period_summary">Period (in seconds) between data analyses</string>
<string name="sample_period_title">SamplePeriod (sec)</string>
<string name="seizure_detect_mode_summary">Select one of the three available modes of operation.</string>
<string name="seizure_detect_mode_title">Seizure Detector Mode</string>
<string name="sample_freq_summary">Higher Frequency is more Accurate, but uses more battery power.</string>
<string name="fall_detect_title">Fall Detector Settings</string>
<string name="fall_detect_active_title">Activate Fall Detection Function</string>
<string name="fall_thresh_min_title">Fall Detection Lower Threshold (milli-g)</string>
<string name="fall_window_title">Fall Detection Window (milli-seconds)</string>
<string name="watch_comms_title">Watch Communications Settings</string>
<string name="debug_mode_summary">Set Debug mode on or off.</string>
<string name="app_restart_timeout_summary">Period (seconds) that we wait for data from the watch before assuming the watch app is not running and re-starting it.</string>
<string name="app_restart_timeout_title">Period (sec) we wait for data before restarting watch app.</string>
<string name="display_spectrum_mode_title">Select Display Spectrum Mode</string>
<string name="display_spectrum_mode_summary">Set Display Spectrum mode on or off.</string>
<string name="analysis_prefs_title">Analysis</string>
<string name="watch_comms_settings_title">Watch Communications Settings</string>
<string name="alarm_freq_min_summary">alarm_freq_min_summary</string>
<string name="debug_mode_title">Seizure Detector Debug Mode</string>
<string name="fall_thresh_max_title">Fall Detection Upper Threshold (milli-g)</string>
<string name="sample_freq_title">Select Sample Frequency</string>
<string name="alarm_threshold_summary">Alarm Threshold (Default = 100)</string>
<string name="ble_mac_addr_summary">MAC Address of BLE Data Source Device</string>
<string name="data_update_period_summary">Display update period in miliseconds.</string>
<string name="select_datasource_title">Select Data Source</string>
<string name="select_datasource_summary">Select the seizure detector data source to use.</string>
</resources> </resources>

View File

@@ -218,4 +218,43 @@
<string name="ble_device_name_summary">Name of BLE Data Source Device</string> <string name="ble_device_name_summary">Name of BLE Data Source Device</string>
<string name="ble_device_name_title">Device Address</string> <string name="ble_device_name_title">Device Address</string>
<string name="user_interface_settings_title">User Interface Settings</string> <string name="user_interface_settings_title">User Interface Settings</string>
<string name="pebble_update_period_summary">Time period at which data is sent to the phone (does not affect analysis frequency - see Sample Period setting for that)</string>
<string name="mute_period_summary">Time that alarms are muted following a long press of the UP button</string>
<string name="pebble_update_period_title">Data Transfer Period (sec)</string>
<string name="mute_period_title">Mute Period (sec)</string>
<string name="manual_alarm_period_summary">Time that manual alarms sound following a long press of the DOWN button</string>
<string name="manual_alarm_period_title">Manual Alarm Period (sec)</string>
<string name="warn_time_summary">Time to wait before initiating warning (Default = 5 sec)</string>
<string name="warn_time_title">WarnTime (sec)</string>
<string name="alarm_time_summary">Time to wait before initiating alarm (Default = 10 sec)</string>
<string name="alarm_time_title">AlarmTime (sec)</string>
<string name="alarm_threshold_summary">Alarm Threshold (Default = 100)</string>
<string name="alarm_threshold_title">AlarmThresh</string>
<string name="alarm_ratio_thresh_summary">Alarm Ratio Threshold (Default = 50). Increase this value to reduce sensitivity if false alarms are a problem.</string>
<string name="alarm_ratio_thresh_title">AlarmRatioThresh</string>
<string name="alarm_feq_min_summary">Minimum Frequency of ROI (Hz) (Default = 3 Hz)</string>
<string name="alarm_freq_min_title">AlarmFreqMin (Hz)</string>
<string name="alarm_freq_max_summary">Maximum Frequency of ROI (Hz) (Default = 10 Hz)</string>
<string name="alarm_frequency_max_title">AlarmFreqMax (Hz)</string>
<string name="sample_period_summary">Period (in seconds) between data analyses</string>
<string name="sample_period_title">SamplePeriod (sec)</string>
<string name="seizure_detect_mode_summary">Select one of the three available modes of operation.</string>
<string name="seizure_detect_mode_title">Seizure Detector Mode</string>
<string name="sample_freq_summary">Higher Frequency is more Accurate, but uses more battery power.</string>
<string name="sample_freq_title">Select Sample Frequency</string>
<string name="fall_detect_title">Fall Detector Settings</string>
<string name="fall_detect_active_title">Activate Fall Detection Function</string>
<string name="fall_thresh_min_title">Fall Detection Lower Threshold (milli-g)</string>
<string name="fall_thresh_max_title">Fall Detection Upper Threshold (milli-g)</string>
<string name="fall_window_title">Fall Detection Window (milli-seconds)</string>
<string name="watch_comms_title">Watch Communications Settings</string>
<string name="debug_mode_summary">Set Debug mode on or off.</string>
<string name="debug_mode_title">Seizure Detector Debug Mode</string>
<string name="app_restart_timeout_summary">Period (seconds) that we wait for data from the watch before assuming the watch app is not running and re-starting it.</string>
<string name="app_restart_timeout_title">Period (sec) we wait for data before restarting watch app.</string>
<string name="display_spectrum_mode_title">Select Display Spectrum Mode</string>
<string name="display_spectrum_mode_summary">Set Display Spectrum mode on or off.</string>
<string name="analysis_prefs_title">Analysis</string>
<string name="watch_comms_settings_title">Watch Communications Settings</string>
<string name="alarm_freq_min_summary">alarm_freq_min_summary</string>
</resources> </resources>

View File

@@ -16,65 +16,65 @@
<EditTextPreference <EditTextPreference
android:defaultValue="5" android:defaultValue="5"
android:key="PebbleUpdatePeriod" android:key="PebbleUpdatePeriod"
android:summary="Time period at which data is sent to the phone (does not affect analysis frequency - see Sample Period setting for that)" android:summary="@string/pebble_update_period_summary"
android:title="Data Transfer Period (sec)" /> android:title="@string/pebble_update_period_title" />
<EditTextPreference <EditTextPreference
android:defaultValue="300" android:defaultValue="300"
android:key="MutePeriod" android:key="MutePeriod"
android:summary="Time that alarms are muted following a long press of the UP button" android:summary="@string/mute_period_summary"
android:title="Mute Period (sec)" /> android:title="@string/mute_period_title" />
<EditTextPreference <EditTextPreference
android:defaultValue="30" android:defaultValue="30"
android:key="ManAlarmPeriod" android:key="ManAlarmPeriod"
android:summary="Time that manual alarms sound following a long press of the DOWN button" android:summary="@string/manual_alarm_period_summary"
android:title="Manual Alarm Period (sec)" /> android:title="@string/manual_alarm_period_title" />
</PreferenceCategory> </PreferenceCategory>
<PreferenceCategory android:title="Seizure Detector Settings"> <PreferenceCategory android:title="@string/seizure_detector_settings_title">
<EditTextPreference <EditTextPreference
android:defaultValue="5" android:defaultValue="5"
android:key="WarnTime" android:key="WarnTime"
android:summary="Time to wait before initiating warning (Default = 5 sec)" android:summary="@string/warn_time_summary"
android:title="WarnTime (sec)" /> android:title="@string/warn_time_title" />
<EditTextPreference <EditTextPreference
android:defaultValue="10" android:defaultValue="10"
android:key="AlarmTime" android:key="AlarmTime"
android:summary="Time to wait before initiating alarm (Default = 10 sec)" android:summary="@string/alarm_time_summary"
android:title="AlarmTime (sec)" /> android:title="@string/alarm_time_title" />
<EditTextPreference <EditTextPreference
android:defaultValue="100" android:defaultValue="100"
android:key="AlarmThresh" android:key="AlarmThresh"
android:summary="Alarm Threshold (Default = 100)" android:summary="@string/alarm_threshold_summary"
android:title="AlarmThresh" /> android:title="@string/alarm_threshold_title" />
<EditTextPreference <EditTextPreference
android:defaultValue="50" android:defaultValue="50"
android:key="AlarmRatioThresh" android:key="AlarmRatioThresh"
android:summary="Alarm Ratio Threshold (Default = 50). Increase this value to reduce sensitivity if false alarms are a problem." android:summary="@string/alarm_ratio_thresh_summary"
android:title="AlarmRatioThresh" /> android:title="@string/alarm_ratio_thresh_title" />
<EditTextPreference <EditTextPreference
android:defaultValue="3" android:defaultValue="3"
android:key="AlarmFreqMin" android:key="AlarmFreqMin"
android:summary="Minimum Frequency of ROI (Hz) (Default = 3 Hz)" android:summary="@string/alarm_feq_min_summary"
android:title="AlarmFreqMin (Hz)" /> android:title="@string/alarm_freq_min_title" />
<EditTextPreference <EditTextPreference
android:defaultValue="10" android:defaultValue="10"
android:key="AlarmFreqMax" android:key="AlarmFreqMax"
android:summary="Maximum Frequency of ROI (Hz) (Default = 10 Hz)" android:summary="@string/alarm_freq_max_summary"
android:title="AlarmFreqMax (Hz)" /> android:title="@string/alarm_frequency_max_title" />
<EditTextPreference <EditTextPreference
android:defaultValue="5" android:defaultValue="5"
android:key="SamplePeriod" android:key="SamplePeriod"
android:summary="Period (in seconds) between data analyses" android:summary="@string/sample_period_summary"
android:title="SamplePeriod (sec)" /> android:title="@string/sample_period_title" />
<ListPreference <ListPreference
android:defaultValue="0" android:defaultValue="0"
android:dialogTitle="Select Seizure Detector Mode" android:dialogTitle="Select Seizure Detector Mode"
android:entries="@array/pebble_sd_mode_list" android:entries="@array/pebble_sd_mode_list"
android:entryValues="@array/pebble_sd_mode_list_values" android:entryValues="@array/pebble_sd_mode_list_values"
android:key="PebbleSdMode" android:key="PebbleSdMode"
android:summary="Select one of the three available modes of operation." android:summary="@string/seizure_detect_mode_summary"
android:title="Seizure Detector Mode" /> android:title="@string/seizure_detect_mode_title" />
<ListPreference <ListPreference
android:defaultValue="100" android:defaultValue="100"
android:dialogTitle="Select Sample Frequency" android:dialogTitle="Select Sample Frequency"
@@ -82,49 +82,49 @@
android:entries="@array/pebble_sample_freq_list" android:entries="@array/pebble_sample_freq_list"
android:entryValues="@array/pebble_sample_freq_list_values" android:entryValues="@array/pebble_sample_freq_list_values"
android:key="SampleFreq" android:key="SampleFreq"
android:summary="Higher Frequency is more Accurate, but uses more battery power." android:summary="@string/sample_freq_summary"
android:title="Select Sample Frequency" /> android:title="@string/sample_freq_title" />
</PreferenceCategory> </PreferenceCategory>
<PreferenceCategory android:title="Fall Detector Settings"> <PreferenceCategory android:title="@string/fall_detect_title">
<CheckBoxPreference <CheckBoxPreference
android:defaultValue="false" android:defaultValue="false"
android:key="FallActive" android:key="FallActive"
android:summary="" android:summary=""
android:title="Activate Fall Detection Function" /> android:title="@string/fall_detect_active_title" />
<EditTextPreference <EditTextPreference
android:defaultValue="200" android:defaultValue="200"
android:key="FallThreshMin" android:key="FallThreshMin"
android:summary="" android:summary=""
android:title="Fall Detection Lower Threshold (milli-g)" /> android:title="@string/fall_thresh_min_title" />
<EditTextPreference <EditTextPreference
android:defaultValue="1200" android:defaultValue="1200"
android:key="FallThreshMax" android:key="FallThreshMax"
android:summary="" android:summary=""
android:title="Fall Detection Upper Threshold (milli-g)" /> android:title="@string/fall_thresh_max_title" />
<EditTextPreference <EditTextPreference
android:defaultValue="1500" android:defaultValue="1500"
android:key="FallWindow" android:key="FallWindow"
android:summary="" android:summary=""
android:title="Fall Detection Window (milli-seconds)" /> android:title="@string/fall_window_title" />
</PreferenceCategory> </PreferenceCategory>
<PreferenceCategory android:title="Watch Communications Settings"> <PreferenceCategory android:title="@string/watch_comms_title">
<ListPreference <ListPreference
android:defaultValue="0" android:defaultValue="0"
android:dialogTitle="Select Debug Mode" android:dialogTitle="Select Debug Mode"
android:entries="@array/pebble_debug_list" android:entries="@array/pebble_debug_list"
android:entryValues="@array/pebble_debug_values" android:entryValues="@array/pebble_debug_values"
android:key="PebbleDebug" android:key="PebbleDebug"
android:summary="Set Debug mode on or off." android:summary="@string/debug_mode_summary"
android:title="Seizure Detector Debug Mode" /> android:title="@string/debug_mode_title" />
<EditTextPreference <EditTextPreference
android:defaultValue="10" android:defaultValue="10"
android:key="AppRestartTimeout" android:key="AppRestartTimeout"
android:numeric="integer" android:numeric="integer"
android:summary="Period (seconds) that we wait for data from the watch before assuming the watch app is not running and re-starting it." android:summary="@string/app_restart_timeout_summary"
android:title="Period (sec) we wait for data before restarting watch app." /> android:title="@string/app_restart_timeout_title" />
</PreferenceCategory> </PreferenceCategory>
</PreferenceScreen> </PreferenceScreen>

View File

@@ -4,66 +4,66 @@
<EditTextPreference <EditTextPreference
android:defaultValue="5" android:defaultValue="5"
android:key="PebbleUpdatePeriod" android:key="PebbleUpdatePeriod"
android:summary="Time period at which data is sent to the phone (does not affect analysis frequency - see Sample Period setting for that)" android:summary="@string/pebble_update_period_summary"
android:title="Data Transfer Period (sec)" /> android:title="@string/pebble_update_period_title" />
<EditTextPreference <EditTextPreference
android:defaultValue="300" android:defaultValue="300"
android:key="MutePeriod" android:key="MutePeriod"
android:summary="Time that alarms are muted following a long press of the UP button" android:summary="@string/mute_period_summary"
android:title="Mute Period (sec)" /> android:title="@string/mute_period_title" />
<EditTextPreference <EditTextPreference
android:defaultValue="30" android:defaultValue="30"
android:key="ManAlarmPeriod" android:key="ManAlarmPeriod"
android:summary="Time that manual alarms sound following a long press of the DOWN button" android:summary="@string/manual_alarm_period_summary"
android:title="Manual Alarm Period (sec)" /> android:title="@string/manual_alarm_period_title" />
<ListPreference <ListPreference
android:key="PebbleDisplaySpectrum" android:key="PebbleDisplaySpectrum"
android:title="Spectrum display Mode" android:title="@string/display_spectrum_mode_title"
android:summary="Set Display Spectrum mode on or off." android:summary="@string/display_spectrum_mode_summary"
android:entries="@array/pebble_display_spectrum_list" android:entries="@array/pebble_display_spectrum_list"
android:entryValues="@array/pebble_display_spectrum_values" android:entryValues="@array/pebble_display_spectrum_values"
android:defaultValue="0" android:defaultValue="0"
android:dialogTitle="Select Display Spectrum Mode" /> android:dialogTitle="@string/display_spectrum_mode_title" />
</PreferenceCategory> </PreferenceCategory>
<PreferenceCategory android:title="Analysis"> <PreferenceCategory android:title="@string/analysis_prefs_title">
<ListPreference <ListPreference
android:key="PebbleSdMode" android:key="PebbleSdMode"
android:title="Seizure Detector Mode" android:title="@string/seizure_detect_mode_title"
android:summary="Select one of the three available modes of operation." android:summary="@string/seizure_detect_mode_summary"
android:entries="@array/pebble_sd_mode_list" android:entries="@array/pebble_sd_mode_list"
android:entryValues="@array/pebble_sd_mode_list_values" android:entryValues="@array/pebble_sd_mode_list_values"
android:defaultValue="0" android:defaultValue="0"
android:dialogTitle="Select Seizure Detector Mode" /> android:dialogTitle="@string/seizure_detect_mode_title" />
<ListPreference <ListPreference
android:key="SampleFreq" android:key="SampleFreq"
android:title="Select Sample Frequency" android:title="@string/sample_freq_title"
android:summary="Higher Frequency is more Accurate, but uses more battery power." android:summary="@string/sample_freq_summary"
android:entries="@array/pebble_sample_freq_list" android:entries="@array/pebble_sample_freq_list"
android:entryValues="@array/pebble_sample_freq_list_values" android:entryValues="@array/pebble_sample_freq_list_values"
android:defaultValue="100" android:defaultValue="100"
android:dialogTitle="Select Sample Frequency" android:dialogTitle="@string/sample_freq_title"
android:enabled="true" android:enabled="true"
/> />
</PreferenceCategory> </PreferenceCategory>
<PreferenceCategory <PreferenceCategory
android:title="Watch Communications Settings"> android:title="@string/watch_comms_settings_title">
<ListPreference <ListPreference
android:key="PebbleDebug" android:key="PebbleDebug"
android:title="Seizure Detector Debug Mode" android:title="@string/debug_mode_title"
android:summary="Set Debug mode on or off." android:summary="@string/debug_mode_summary"
android:entries="@array/pebble_debug_list" android:entries="@array/pebble_debug_list"
android:entryValues="@array/pebble_debug_values" android:entryValues="@array/pebble_debug_values"
android:defaultValue="0" android:defaultValue="0"
android:dialogTitle="Select Debug Mode" /> android:dialogTitle="@string/debug_mode_title" />
<EditTextPreference <EditTextPreference
android:defaultValue="10" android:defaultValue="10"
android:key="AppRestartTimeout" android:key="AppRestartTimeout"
android:numeric="integer" android:numeric="integer"
android:summary="Period (seconds) that we wait for data from the watch before assuming the watch app is not running and re-starting it." android:summary="@string/app_restart_timeout_summary"
android:title="Period (sec) we wait for data before restarting watch app." /> android:title="@string/app_restart_timeout_title" />
</PreferenceCategory> </PreferenceCategory>
</PreferenceScreen> </PreferenceScreen>

View File

@@ -2,51 +2,51 @@
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<CheckBoxPreference <CheckBoxPreference
android:key="LatchAlarms" android:key="LatchAlarms"
android:title="Latch Alarms" android:title="@string/latch_alarms_title"
android:summary="Require manual reset of alarms to reset them to silence them." android:summary="@string/latch_alarms_summary"
android:defaultValue="false" /> android:defaultValue="false" />
<CheckBoxPreference <CheckBoxPreference
android:key="AudibleAlarm" android:key="AudibleAlarm"
android:title="Enable Audible Alarm" android:title="@string/enable_audible_alarm_title"
android:summary="Issue an audible alarm if the seizure detector enters an alarm condition." android:summary="@string/enable_audible_alarm_summary"
android:defaultValue="true" /> android:defaultValue="true" />
<CheckBoxPreference <CheckBoxPreference
android:key="AudibleWarning" android:key="AudibleWarning"
android:title="Enable Audible Warnings" android:title="@string/enable_audible_warning_title"
android:summary="Issue an audible alarm if the seizure detector enters a warning (pre-alarm) condition." android:summary="@string/enable_audible_warning_summary"
android:defaultValue="true" /> android:defaultValue="true" />
<CheckBoxPreference <CheckBoxPreference
android:key="SMSAlarm" android:key="SMSAlarm"
android:title="Enable SMS Alarm" android:title="@string/enable_sms_alarm_title"
android:summary="Issue a SMS (Text Message) alarm if the seizure detector enters an alarm condition." android:summary="@string/enable_sms_alarm_summary"
android:defaultValue="false" /> android:defaultValue="false" />
<EditTextPreference <EditTextPreference
android:key="SMSNumbers" android:key="SMSNumbers"
android:title="SMS Alarm numbers" android:title="@string/sms_numbers_title"
android:summary="Telephone number(s) to notify by SMS of Alarm (comma separated)." android:summary="@string/sms_numbers_summary"
android:defaultValue="" /> android:defaultValue="" />
<EditTextPreference <EditTextPreference
android:key="SMSMsg" android:key="SMSMsg"
android:title="SMS Message" android:title="@string/sms_message_title"
android:summary="Message to be Sent by SMS when a Seizure is Detected." android:summary="@string/sms_message_summary"
android:defaultValue="**SEIZURE DETECTED**" /> android:defaultValue="**SEIZURE DETECTED**" />
<CheckBoxPreference <CheckBoxPreference
android:key="AudibleFaultWarning" android:key="AudibleFaultWarning"
android:title="Enable Audible System FaultWarnings" android:title="@string/enable_audible_fault_title"
android:summary="Issue an audible alarm if the system detects a fault (e.g. can not talk to Pebble)." android:summary="@string/enable_audible_fault_summary"
android:defaultValue="true" /> android:defaultValue="true" />
<CheckBoxPreference <CheckBoxPreference
android:key="LogAlarms" android:key="LogAlarms"
android:title="Log Alarm events to SD Card" android:title="@string/log_alarms_title"
android:summary="Log Alarm events to SD Card" android:summary="@string/log_alarms_summary"
android:defaultValue="true" /> android:defaultValue="true" />
<CheckBoxPreference <CheckBoxPreference
android:key="LogData" android:key="LogData"
android:title="Log Data to SD Card" android:title="@string/log_data_title"
android:summary="Log Data to SD Card Regularly" android:summary="@string/log_data_summary"
android:defaultValue="false" /> android:defaultValue="false" />
<!-- <CheckBoxPreference <!-- <CheckBoxPreference
android:key="PreventSleep" android:key="PreventSleep"
@@ -61,53 +61,53 @@
--> -->
<EditTextPreference <EditTextPreference
android:key="AlarmFreqMin" android:key="AlarmFreqMin"
android:title="AlarmFreqMin (Hz)" android:title="@string/alarm_freq_min_title"
android:summary="Minimum Frequency of ROI (Hz) (Default = 5 Hz)" android:summary="@string/alarm_freq_min_summary"
android:defaultValue="5" /> android:defaultValue="5" />
<EditTextPreference <EditTextPreference
android:key="AlarmFreqMax" android:key="AlarmFreqMax"
android:title="AlarmFreqMax (Hz)" android:title="@string/alarm_frequency_max_title"
android:summary="Maximum Frequency of ROI (Hz) (Default = 10 Hz)" android:summary="@string/alarm_freq_max_summary"
android:defaultValue="10" /> android:defaultValue="10" />
<EditTextPreference <EditTextPreference
android:key="WarnTime" android:key="WarnTime"
android:title="WarnTime (sec)" android:title="@string/warn_time_title"
android:summary="Time to wait before initiating warning (Default = 5 sec)" android:summary="@string/warn_time_summary"
android:defaultValue="5" /> android:defaultValue="5" />
<EditTextPreference <EditTextPreference
android:key="AlarmTime" android:key="AlarmTime"
android:title="AlarmTime (sec)" android:title="@string/alarm_time_title"
android:summary="Time to wait before initiating alarm (Default = 10 sec)" android:summary="@string/alarm_time_summary"
android:defaultValue="10" /> android:defaultValue="10" />
<EditTextPreference <EditTextPreference
android:key="AlarmThresh" android:key="AlarmThresh"
android:title="AlarmThresh" android:title="@string/alarm_threshold_title"
android:summary="Alarm Threshold (Default = 100)" android:summary="@string/alarm_threshold_summary"
android:defaultValue="100" /> android:defaultValue="100" />
<EditTextPreference <EditTextPreference
android:key="AlarmRatioThresh" android:key="AlarmRatioThresh"
android:title="AlarmRatioThresh" android:title="@string/alarm_ratio_thresh_title"
android:summary="Alarm Ratio Threshold (Default = 30)" android:summary="@string/alarm_ratio_thresh_summary"
android:defaultValue="30" /> android:defaultValue="30" />
<CheckBoxPreference <CheckBoxPreference
android:key="FallActive" android:key="FallActive"
android:title="Activate Fall Detection Function" android:title="@string/fall_detect_active_title"
android:summary="" android:summary=""
android:defaultValue="false" /> android:defaultValue="false" />
<EditTextPreference <EditTextPreference
android:key="FallThreshMin" android:key="FallThreshMin"
android:title="Fall Detection Lower Threshold (milli-g)" android:title="@string/fall_thresh_min_title"
android:summary="" android:summary=""
android:defaultValue="200" /> android:defaultValue="200" />
<EditTextPreference <EditTextPreference
android:key="FallThreshMax" android:key="FallThreshMax"
android:title="Fall Detection Upper Threshold (milli-g)" android:title="@string/fall_thresh_max_title"
android:summary="" android:summary=""
android:defaultValue="1200" /> android:defaultValue="1200" />
<EditTextPreference <EditTextPreference
android:key="FallWindow" android:key="FallWindow"
android:title="Fall Detection Window (milli-seconds)" android:title="@string/fall_window_title"
android:summary="" android:summary=""
android:defaultValue="1500" /> android:defaultValue="1500" />
@@ -115,14 +115,14 @@
<EditTextPreference <EditTextPreference
android:key="AppRestartTimeout" android:key="AppRestartTimeout"
android:title="Period (sec) we wait for data before restarting watch app." android:title="@string/app_restart_timeout_title"
android:summary="Period (seconds) that we wait for data from the watch before assuming the watch app is not running and re-starting it." android:summary="@string/app_restart_timeout_summary"
android:numeric="integer" android:numeric="integer"
android:defaultValue="10" /> android:defaultValue="10" />
<EditTextPreference <EditTextPreference
android:key="FaultTimerPeriod" android:key="FaultTimerPeriod"
android:title="Fault Timer Duration (sec)" android:title="@string/fault_timer_period_title"
android:summary="Duration that fault alarms are muted before initiating." android:summary="@string/fault_timer_period_summary"
android:numeric="integer" android:numeric="integer"
android:defaultValue="30" /> android:defaultValue="30" />