Made more settings strings translatable
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<PreferenceCategory android:title="Alarm Functionality Settings">
|
||||
<PreferenceCategory android:title="@string/AlarmFunctionalitySettingsTitle">
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="LatchAlarms"
|
||||
@@ -14,7 +14,7 @@
|
||||
android:defaultValue="10" />
|
||||
|
||||
</PreferenceCategory>
|
||||
<PreferenceCategory android:title="Audible Alarm Settings">
|
||||
<PreferenceCategory android:title="@string/AudibleAlarmSettingsTitle">
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="true"
|
||||
android:key="AudibleAlarm"
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory android:title="SMS Alarm Settings">
|
||||
<PreferenceCategory android:title="@string/SMSAlarmSettingsTitle">
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="SMSAlarm"
|
||||
@@ -56,7 +56,7 @@
|
||||
android:summary="@string/sms_numbers_summary"
|
||||
android:title="@string/sms_numbers_title" />
|
||||
<EditTextPreference
|
||||
android:defaultValue="**SEIZURE DETECTED**"
|
||||
android:defaultValue="@string/DefaultSMSMsgText"
|
||||
android:key="SMSMsg"
|
||||
android:summary="@string/sms_message_summary"
|
||||
android:title="@string/sms_message_title" />
|
||||
@@ -70,7 +70,7 @@
|
||||
android:title="Enable Phone Call Alarm" />
|
||||
</PreferenceCategory>
|
||||
-->
|
||||
<PreferenceCategory android:title="Alarm Logging">
|
||||
<PreferenceCategory android:title="@string/AlarmLoggingTitle">
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="true"
|
||||
android:key="LogAlarms"
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
android:summary="@string/DataSourceSummary"
|
||||
android:title="@string/DataSourceTitle" />
|
||||
|
||||
<PreferenceCategory android:title="Data Logging Settings">
|
||||
<PreferenceCategory android:title="@string/DataLoggingSettingsTitle">
|
||||
<!-- <CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="LogDataRemote"
|
||||
@@ -62,7 +62,7 @@
|
||||
android:title="@string/AlarmFreqMaxTitle" />
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory android:title="Heart Rate Alarm Settings">
|
||||
<PreferenceCategory android:title="@string/HeartRateAlarmSettingsTitle">
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="HRAlarmActive"
|
||||
|
||||
@@ -6,86 +6,86 @@
|
||||
<EditTextPreference
|
||||
android:defaultValue="5"
|
||||
android:key="WarnTime"
|
||||
android:summary="Time to wait before initiating warning (Default = 5 sec)"
|
||||
android:title="WarnTime (sec)" />
|
||||
android:summary="@string/WarnTimeSummary"
|
||||
android:title="@string/WarnTimeTitle" />
|
||||
<EditTextPreference
|
||||
android:defaultValue="10"
|
||||
android:key="AlarmTime"
|
||||
android:summary="Time to wait before initiating alarm (Default = 10 sec)"
|
||||
android:title="AlarmTime (sec)" />
|
||||
android:summary="@string/AlarmTimeSummary"
|
||||
android:title="@string/AlarmTimeTitle" />
|
||||
<EditTextPreference
|
||||
android:defaultValue="100"
|
||||
android:key="AlarmThresh"
|
||||
android:summary="Alarm Threshold (Default = 100)"
|
||||
android:title="AlarmThresh" />
|
||||
android:summary="@string/AlarmThreshSummary"
|
||||
android:title="@string/AlarmThreshTitle" />
|
||||
<EditTextPreference
|
||||
android:defaultValue="50"
|
||||
android:key="AlarmRatioThresh"
|
||||
android:summary="Alarm Ratio Threshold (Default = 50). Increase this value to reduce sensitivity if false alarms are a problem."
|
||||
android:title="AlarmRatioThresh" />
|
||||
android:summary="@string/AlarmRatioThreshSummary"
|
||||
android:title="@string/AlarmRatioThreshTitle" />
|
||||
|
||||
<EditTextPreference
|
||||
android:defaultValue="3"
|
||||
android:key="AlarmFreqMin"
|
||||
android:summary="Minimum Frequency of ROI (Hz) (Default = 3 Hz)"
|
||||
android:title="AlarmFreqMin (Hz)" />
|
||||
android:summary="@string/AlarmFreqMinSummary"
|
||||
android:title="@string/AlarmFreqMinTitle" />
|
||||
<EditTextPreference
|
||||
android:defaultValue="10"
|
||||
android:key="AlarmFreqMax"
|
||||
android:summary="Maximum Frequency of ROI (Hz) (Default = 10 Hz)"
|
||||
android:title="AlarmFreqMax (Hz)" />
|
||||
android:summary="@string/AlarmFreqMaxSummary"
|
||||
android:title="@string/AlarmFreqMaxTitle" />
|
||||
|
||||
<EditTextPreference
|
||||
android:defaultValue="5"
|
||||
android:key="SamplePeriod"
|
||||
android:summary="Period (in seconds) between data analyses"
|
||||
android:title="SamplePeriod (sec)" />
|
||||
android:summary="@string/sample_period_summary"
|
||||
android:title="@string/sample_period_title" />
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory android:title="Heart Rate Alarm Settings">
|
||||
<PreferenceCategory android:title="@string/HeartRateAlarmSettingsTitle">
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="HRAlarmActive"
|
||||
android:summary=""
|
||||
android:title="Heart Rate Alarm Enabled" />
|
||||
android:summary="@string/HRAlarmEnabledSummary"
|
||||
android:title="@string/HRAlarmEnabledTitle" />
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="HRNullAsAlarm"
|
||||
android:summary=""
|
||||
android:title="Treat a Null heart rate as an alarm condition" />
|
||||
android:summary="@string/HRNullAlarmSummary"
|
||||
android:title="@string/HRNullAlarmTitle" />
|
||||
<EditTextPreference
|
||||
android:defaultValue="40"
|
||||
android:key="HRThreshMin"
|
||||
android:summary=""
|
||||
android:title="Heart Rate Min Threshold (bpm)" />
|
||||
android:summary="@string/HRThreshMinSummary"
|
||||
android:title="@string/HRThreshMinTitle" />
|
||||
<EditTextPreference
|
||||
android:defaultValue="150"
|
||||
android:key="HRThreshMax"
|
||||
android:summary=""
|
||||
android:title="Heart Rate Max Threshold (bpm)" />
|
||||
android:summary="@string/HRThreshMaxSummary"
|
||||
android:title="@string/HRThreshMaxTitle" />
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory android:title="Fall Detector Settings">
|
||||
<PreferenceCategory android:title="@string/fall_detect_title">
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="FallActive"
|
||||
android:summary=""
|
||||
android:title="Activate Fall Detection Function" />
|
||||
android:title="@string/fall_detect_active_title" />
|
||||
<EditTextPreference
|
||||
android:defaultValue="200"
|
||||
android:key="FallThreshMin"
|
||||
android:summary=""
|
||||
android:title="Fall Detection Lower Threshold (milli-g)" />
|
||||
android:title="@string/fall_thresh_min_title" />
|
||||
<EditTextPreference
|
||||
android:defaultValue="1200"
|
||||
android:key="FallThreshMax"
|
||||
android:summary=""
|
||||
android:title="Fall Detection Upper Threshold (milli-g)" />
|
||||
android:title="@string/fall_thresh_max_title" />
|
||||
<EditTextPreference
|
||||
android:defaultValue="1500"
|
||||
android:key="FallWindow"
|
||||
android:summary=""
|
||||
android:title="Fall Detection Window (milli-seconds)" />
|
||||
android:title="@string/fall_window_title" />
|
||||
</PreferenceCategory>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user