Adding more translations...

This commit is contained in:
Graham Jones
2020-10-28 21:24:23 +00:00
parent c752e68b32
commit 48b4a1e114
8 changed files with 198 additions and 130 deletions

View File

@@ -158,4 +158,59 @@
<string name="pebble_datasource_summary">Pebble Datasource Preferences</string> <string name="pebble_datasource_summary">Pebble Datasource Preferences</string>
<string name="basic_settings_summary">Basic Settings</string> <string name="basic_settings_summary">Basic Settings</string>
<string name="general_settings_title">General</string> <string name="general_settings_title">General</string>
<string name="log_alarms_summary">Log Alarm events to SD Card</string>
<string name="log_alarms_title">Log Alarm events to SD Card</string>
<string name="log_data_summary">Log Data to SD Card Regularly</string>
<string name="log_data_title">Log Data to SD Card</string>
<string name="log_data_remote_summary">Log Data to Central OpenSeizureDetector Database</string>
<string name="log_data_remote_title">Log Data Remotely</string>
<string name="log_data_remote_mobile_summary">Use mobile internet to log remote data</string>
<string name="log_data_remote_mobile_title">Use Mobile Internet</string>
<string name="remote_uname_title">Username for remote data logging.</string>
<string name="remote_uname_summary">Remote Username</string>
<string name="remote_passwd_summary">Password for remote data logging.</string>
<string name="remote_passwd_title">Remote Password</string>
<string name="wearer_id_summary">Wearer ID</string>
<string name="wearer_id_title">Wearer ID of the person wearing the watch (from OSD Web API)</string>
<string name="remote_url_summary">URL for remote data logging.</string>
<string name="remote_url_title">Remote URL</string>
<string name="prevent_sleep_summary">Prevent the screen from blanking while the application is running.</string>
<string name="prevent_sleep_title">Prevent the screen from blanking.</string>
<string name="data_update_period_title">Display Update Period (ms).</string>
<string name="auto_start_summary">Auto Start App on Boot</string>
<string name="auto_start_title">Auto Start App on Boot</string>
<string name="app_version_summary">App Version Number - used to decide whether to display the welcome message or not.</string>
<string name="app_version_title">App Version Number</string>
<string name="latch_alarms_summary">Require manual reset of alarms to reset them to silence them.</string>
<string name="latch_alarms_title">Latch Alarms</string>
<string name="latch_timer_period_title">Latch Alarm Timer Duration (sec)</string>
<string name="latch_timer_period_summary">Duration in seconds that alarms will initiate for before being silenced automatically.</string>
<string name="enable_audible_alarm_summary">Issue an audible alarm if the seizure detector enters an alarm condition.</string>
<string name="enable_audible_alarm_title">Enable Audible Alarm</string>
<string name="enable_audible_warning_summary">Issue an audible alarm if the seizure detector enters a warning (pre-alarm) condition.</string>
<string name="enable_audible_warning_title">Enable Audible Warnings</string>
<string name="enable_audible_fault_summary">Issue an audible alarm if the system detects a fault (e.g. can not talk to Pebble).</string>
<string name="enable_audible_fault_title">Enable Audible System FaultWarnings</string>
<string name="fault_timer_period_title">Fault Timer Duration (sec)</string>
<string name="fault_timer_period_summary">Duration that fault alarms are muted before initiating.</string>
<string name="use_mp3_alarm_summary">Play an MP3 file to create the alarm beeps rather than using the default tone generator.</string>
<string name="use_mp3_alarm_title">Use MP3 Alarm Sound</string>
<string name="enable_sms_alarm_summary">Issue a SMS (Text Message) alarm if the seizure detector enters an alarm condition. NOTE: THE MESSAGE WILL INCLUDE THE USER\'s LOCATION. Disable this option if sharing your location is a concern.</string>
<string name="enable_sms_alarm_title">Enable SMS Alarm</string>
<string name="sms_numbers_summary">Telephone number(s) to notify by SMS of Alarm (comma separated).</string>
<string name="sms_numbers_title">SMS Alarm numbers</string>
<string name="sms_message_summary">Message to be Sent by SMS when a Seizure is Detected.</string>
<string name="sms_message_title">SMS Message</string>
<string name="server_ip_summary">IP Address of OpenSeizureDetector Server (e.g. 192.168.1.175).</string>
<string name="server_ip_title">Server IP Address.</string>
<string name="network_update_period_summary">Period between server data requests in miliseconds.</string>
<string name="network_update_period_title">Data Update Period (ms)</string>
<string name="connection_timeout_title">Connection Timeout Period (ms)</string>
<string name="read_timeout_summary" />
<string name="read_timeout_title">Read Timeout Period (ms)</string>
<string name="ble_device_settings_title">BLE Device Settings</string>
<string name="ble_mac_addr_title">Device Address</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="user_interface_settings_title">User Interface Settings</string>
</resources> </resources>

View File

@@ -158,4 +158,64 @@
<string name="network_datasource_title">Network Datasource</string> <string name="network_datasource_title">Network Datasource</string>
<string name="network_datasource_summary">Network Datasource Preferences</string> <string name="network_datasource_summary">Network Datasource Preferences</string>
<string name="pebble_datasource_title">Pebble Datasource</string> <string name="pebble_datasource_title">Pebble Datasource</string>
<string name="select_datasource_title">Select Data Source</string>
<string name="select_datasource_summary">Select the seizure detector data source to use.</string>
<string name="log_alarms_summary">Log Alarm events to SD Card</string>
<string name="log_alarms_title">Log Alarm events to SD Card</string>
<string name="log_data_summary">Log Data to SD Card Regularly</string>
<string name="log_data_title">Log Data to SD Card</string>
<string name="log_data_remote_summary">Log Data to Central OpenSeizureDetector Database</string>
<string name="log_data_remote_title">Log Data Remotely</string>
<string name="log_data_remote_mobile_summary">Use mobile internet to log remote data</string>
<string name="log_data_remote_mobile_title">Use Mobile Internet</string>
<string name="remote_uname_title">Username for remote data logging.</string>
<string name="remote_uname_summary">Remote Username</string>
<string name="remote_passwd_summary">Password for remote data logging.</string>
<string name="remote_passwd_title">Remote Password</string>
<string name="wearer_id_summary">Wearer ID</string>
<string name="wearer_id_title">Wearer ID of the person wearing the watch (from OSD Web API)</string>
<string name="remote_url_summary">URL for remote data logging.</string>
<string name="remote_url_title">Remote URL</string>
<string name="prevent_sleep_summary">Prevent the screen from blanking while the application is running.</string>
<string name="prevent_sleep_title">Prevent the screen from blanking.</string>
<string name="data_update_period_summary">Display update period in miliseconds.</string>
<string name="data_update_period_title">Display Update Period (ms).</string>
<string name="auto_start_summary">Auto Start App on Boot</string>
<string name="auto_start_title">Auto Start App on Boot</string>
<string name="app_version_summary">App Version Number - used to decide whether to display the welcome message or not.</string>
<string name="app_version_title">App Version Number</string>
<string name="latch_alarms_summary">Require manual reset of alarms to reset them to silence them.</string>
<string name="latch_alarms_title">Latch Alarms</string>
<string name="latch_timer_period_title">Latch Alarm Timer Duration (sec)</string>
<string name="latch_timer_period_summary">Duration in seconds that alarms will initiate for before being silenced automatically.</string>
<string name="enable_audible_alarm_summary">Issue an audible alarm if the seizure detector enters an alarm condition.</string>
<string name="enable_audible_alarm_title">Enable Audible Alarm</string>
<string name="enable_audible_warning_summary">Issue an audible alarm if the seizure detector enters a warning (pre-alarm) condition.</string>
<string name="enable_audible_warning_title">Enable Audible Warnings</string>
<string name="enable_audible_fault_summary">Issue an audible alarm if the system detects a fault (e.g. can not talk to Pebble).</string>
<string name="enable_audible_fault_title">Enable Audible System FaultWarnings</string>
<string name="fault_timer_period_title">Fault Timer Duration (sec)</string>
<string name="fault_timer_period_summary">Duration that fault alarms are muted before initiating.</string>
<string name="use_mp3_alarm_summary">Play an MP3 file to create the alarm beeps rather than using the default tone generator.</string>
<string name="use_mp3_alarm_title">Use MP3 Alarm Sound</string>
<string name="enable_sms_alarm_summary">Issue a SMS (Text Message) alarm if the seizure detector enters an alarm condition. NOTE: THE MESSAGE WILL INCLUDE THE USER\'s LOCATION. Disable this option if sharing your location is a concern.</string>
<string name="enable_sms_alarm_title">Enable SMS Alarm</string>
<string name="sms_numbers_summary">Telephone number(s) to notify by SMS of Alarm (comma separated).</string>
<string name="sms_numbers_title">SMS Alarm numbers</string>
<string name="sms_message_summary">Message to be Sent by SMS when a Seizure is Detected.</string>
<string name="sms_message_title">SMS Message</string>
<string name="server_ip_summary">IP Address of OpenSeizureDetector Server (e.g. 192.168.1.175).</string>
<string name="server_ip_title">Server IP Address.</string>
<string name="network_update_period_summary">Period between server data requests in miliseconds.</string>
<string name="network_update_period_title">Data Update Period (ms)</string>
<string name="connection_timeout_summary" />
<string name="connection_timeout_title">Connection Timeout Period (ms)</string>
<string name="read_timeout_summary" />
<string name="read_timeout_title">Read Timeout Period (ms)</string>
<string name="ble_device_settings_title">BLE Device Settings</string>
<string name="ble_mac_addr_summary">MAC Address of BLE Data Source Device</string>
<string name="ble_mac_addr_title">Device Address</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="user_interface_settings_title">User Interface Settings</string>
</resources> </resources>

View File

@@ -4,12 +4,12 @@
<CheckBoxPreference <CheckBoxPreference
android:defaultValue="false" android:defaultValue="false"
android:key="LatchAlarms" android:key="LatchAlarms"
android:summary="Require manual reset of alarms to reset them to silence them." android:summary="@string/latch_alarms_summary"
android:title="Latch Alarms" /> android:title="@string/latch_alarms_title" />
<EditTextPreference <EditTextPreference
android:key="LatchAlarmTimerPeriod" android:key="LatchAlarmTimerPeriod"
android:title="Latch Alarm Timer Duration (sec)" android:title="@string/latch_timer_period_title"
android:summary="Duration in seconds that alarms will initiate for before being silenced automatically." android:summary="@string/latch_timer_period_summary"
android:numeric="integer" android:numeric="integer"
android:defaultValue="10" /> android:defaultValue="10" />
@@ -18,29 +18,29 @@
<CheckBoxPreference <CheckBoxPreference
android:defaultValue="true" android:defaultValue="true"
android:key="AudibleAlarm" android:key="AudibleAlarm"
android:summary="Issue an audible alarm if the seizure detector enters an alarm condition." android:summary="@string/enable_audible_alarm_summary"
android:title="Enable Audible Alarm" /> android:title="@string/enable_audible_alarm_title" />
<CheckBoxPreference <CheckBoxPreference
android:defaultValue="true" android:defaultValue="true"
android:key="AudibleWarning" android:key="AudibleWarning"
android:summary="Issue an audible alarm if the seizure detector enters a warning (pre-alarm) condition." android:summary="@string/enable_audible_warning_summary"
android:title="Enable Audible Warnings" /> android:title="@string/enable_audible_warning_title" />
<CheckBoxPreference <CheckBoxPreference
android:defaultValue="true" android:defaultValue="true"
android:key="AudibleFaultWarning" android:key="AudibleFaultWarning"
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:title="Enable Audible System FaultWarnings" /> android:title="@string/enable_audible_fault_title" />
<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" />
<CheckBoxPreference <CheckBoxPreference
android:defaultValue="false" android:defaultValue="false"
android:key="UseMp3Alarm" android:key="UseMp3Alarm"
android:summary="Play an MP3 file to create the alarm beeps rather than using the default tone generator." android:summary="@string/use_mp3_alarm_summary"
android:title="Use MP3 Alarm Sound" /> android:title="@string/use_mp3_alarm_title" />
</PreferenceCategory> </PreferenceCategory>
@@ -48,20 +48,20 @@
<CheckBoxPreference <CheckBoxPreference
android:defaultValue="false" android:defaultValue="false"
android:key="SMSAlarm" android:key="SMSAlarm"
android:summary="Issue a SMS (Text Message) alarm if the seizure detector enters an alarm condition. NOTE: THE MESSAGE WILL INCLUDE THE USER's LOCATION. Disable this option if sharing your location is a concern." android:summary="@string/enable_sms_alarm_summary"
android:title="Enable SMS Alarm" /> android:title="@string/enable_sms_alarm_title" />
<EditTextPreference <EditTextPreference
android:defaultValue="" android:defaultValue=""
android:key="SMSNumbers" android:key="SMSNumbers"
android:summary="Telephone number(s) to notify by SMS of Alarm (comma separated)." android:summary="@string/sms_numbers_summary"
android:title="SMS Alarm numbers" /> android:title="@string/sms_numbers_title" />
<EditTextPreference <EditTextPreference
android:defaultValue="**SEIZURE DETECTED**" android:defaultValue="**SEIZURE DETECTED**"
android:key="SMSMsg" android:key="SMSMsg"
android:summary="Message to be Sent by SMS when a Seizure is Detected." android:summary="@string/sms_message_summary"
android:title="SMS Message" /> android:title="@string/sms_message_title" />
</PreferenceCategory> </PreferenceCategory>
<!--
<PreferenceCategory android:title="Phone Call Alarm Settings"> <PreferenceCategory android:title="Phone Call Alarm Settings">
<CheckBoxPreference <CheckBoxPreference
android:defaultValue="false" android:defaultValue="false"
@@ -69,17 +69,17 @@
android:summary="Dial the Carer(s) phone number(s) as well as sending SMS alerts. It requests an external application (OpenSeizureDetector Dialler) to make the phone calls to the same numbers as are set for SMS alerts above" android:summary="Dial the Carer(s) phone number(s) as well as sending SMS alerts. It requests an external application (OpenSeizureDetector Dialler) to make the phone calls to the same numbers as are set for SMS alerts above"
android:title="Enable Phone Call Alarm" /> android:title="Enable Phone Call Alarm" />
</PreferenceCategory> </PreferenceCategory>
-->
<PreferenceCategory android:title="Alarm Logging"> <PreferenceCategory android:title="Alarm Logging">
<CheckBoxPreference <CheckBoxPreference
android:defaultValue="true" android:defaultValue="true"
android:key="LogAlarms" android:key="LogAlarms"
android:summary="Log Alarm events to SD Card" android:summary="@string/log_alarms_summary"
android:title="Log Alarm events to SD Card" /> android:title="@string/log_alarms_title" />
<CheckBoxPreference <CheckBoxPreference
android:defaultValue="false" android:defaultValue="false"
android:key="LogData" android:key="LogData"
android:summary="Log Data to SD Card Regularly" android:summary="@string/log_data_summary"
android:title="Log Data to SD Card" /> android:title="@string/log_data_title"/>
</PreferenceCategory> </PreferenceCategory>
</PreferenceScreen> </PreferenceScreen>

View File

@@ -1,47 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<CheckBoxPreference
android:defaultValue="true"
android:key="UseIpCamera"
android:summary=""
android:title="Use IP Camera to show images" />
<EditTextPreference
android:defaultValue="192.168.1.25"
android:key="CameraIp"
android:summary="IP Address of the IP Camera (e.g. 192.168.1.175)."
android:title="Camera IP Address." />
<EditTextPreference
android:defaultValue="0"
android:key="CameraCmdSet"
android:numeric="integer"
android:summary="Camera Command Set Number (0=mjpeg,1=h264)"
android:title="Camera Command Set Number" />
<EditTextPreference
android:defaultValue="guest"
android:key="CameraUname"
android:summary=""
android:title="Camera User Name" />
<EditTextPreference
android:defaultValue="guest"
android:key="CameraPasswd"
android:summary=""
android:title="Camera User Password" />
<EditTextPreference
android:defaultValue="2000"
android:key="DataUpdatePeriod"
android:numeric="integer"
android:summary="Period between server data requests in miliseconds."
android:title="Data Update Period (ms)" />
<EditTextPreference
android:defaultValue="2000"
android:key="ConnTimeout"
android:numeric="integer"
android:summary=""
android:title="Connection Timeout (ms)" />
<EditTextPreference
android:defaultValue="2000"
android:key="SoTimeout"
android:numeric="integer"
android:summary=""
android:title="So Timeout (ms)" />
</PreferenceScreen>

View File

@@ -2,12 +2,12 @@
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<ListPreference <ListPreference
android:key="DataSource" android:key="DataSource"
android:title="Select Data Source" android:title="@string/select_datasource_title"
android:summary="Select the seizure detector data source to use." android:summary="@string/select_datasource_summary"
android:entries="@array/datasource_list" android:entries="@array/datasource_list"
android:entryValues="@array/datasource_list_values" android:entryValues="@array/datasource_list_values"
android:defaultValue="Garmin" android:defaultValue="Garmin"
android:dialogTitle="Select Data Source" /> android:dialogTitle="@string/select_datasource_title" />
<Preference <Preference
android:key="SelectBLEDevice" android:key="SelectBLEDevice"
android:title="@string/select_ble_device_title" android:title="@string/select_ble_device_title"
@@ -17,67 +17,67 @@
<CheckBoxPreference <CheckBoxPreference
android:defaultValue="true" android:defaultValue="true"
android:key="LogAlarms" android:key="LogAlarms"
android:summary="Log Alarm events to SD Card" android:summary="@string/log_alarms_summary"
android:title="Log Alarm events to SD Card" /> android:title="@string/log_alarms_title" />
<CheckBoxPreference <CheckBoxPreference
android:defaultValue="true" android:defaultValue="true"
android:key="LogData" android:key="LogData"
android:summary="Log Data to SD Card Regularly" android:summary="@string/log_data_summary"
android:title="Log Data to SD Card" /> android:title="@string/log_data_title" />
<CheckBoxPreference <CheckBoxPreference
android:defaultValue="false" android:defaultValue="false"
android:key="LogDataRemote" android:key="LogDataRemote"
android:summary="Log Data to Central OpenSeizureDetector Database" android:summary="@string/log_data_remote_summary"
android:title="Log Data Remotely" /> android:title="@string/log_data_remote_title" />
<CheckBoxPreference <CheckBoxPreference
android:defaultValue="false" android:defaultValue="false"
android:key="LogDataRemoteMobile" android:key="LogDataRemoteMobile"
android:summary="Use mobile internet to log remote data" android:summary="@string/log_data_remote_mobile_summary"
android:title="Use Mobile Internet" /> android:title="@string/log_data_remote_mobile_title" />
<EditTextPreference <EditTextPreference
android:defaultValue="user_name" android:defaultValue="user_name"
android:key="OSDUname" android:key="OSDUname"
android:summary="Username for remote data logging." android:title="@string/remote_uname_title"
android:title="Remote Username" /> android:summary="@string/remote_uname_summary" />
<EditTextPreference <EditTextPreference
android:defaultValue="password" android:defaultValue="password"
android:key="OSDPasswd" android:key="OSDPasswd"
android:summary="Password for remote data logging." android:summary="@string/remote_passwd_summary"
android:title="Remote Password" /> android:title="@string/remote_passwd_title" />
<EditTextPreference <EditTextPreference
android:defaultValue="0" android:defaultValue="0"
android:key="OSDWearerId" android:key="OSDWearerId"
android:summary="Wearer ID" android:summary="@string/wearer_id_summary"
android:title="Wearer ID of the person wearing the watch (from OSD Web API)" /> android:title="@string/wearer_id_title" />
<EditTextPreference <EditTextPreference
android:defaultValue="http://openseizuredetector.org.uk/webApi/" android:defaultValue="http://openseizuredetector.org.uk/webApi/"
android:key="OSDUrl" android:key="OSDUrl"
android:summary="URL for remote data logging." android:summary="@string/remote_url_summary"
android:title="Remote URL" /> android:title="@string/remote_url_title" />
<CheckBoxPreference <CheckBoxPreference
android:defaultValue="false" android:defaultValue="false"
android:key="PreventSleep" android:key="PreventSleep"
android:summary="Prevent the screen from blanking while the application is running." android:summary="@string/prevent_sleep_summary"
android:title="Prevent the screen from blanking." /> android:title="@string/prevent_sleep_title" />
<EditTextPreference <EditTextPreference
android:defaultValue="1000" android:defaultValue="1000"
android:key="UpdatePeriod" android:key="UpdatePeriod"
android:summary="Display update period in miliseconds." android:summary="@string/data_update_period_summary"
android:title="Display Update Period (ms)." /> android:title="@string/data_update_period_title" />
<CheckBoxPreference <CheckBoxPreference
android:defaultValue="false" android:defaultValue="false"
android:key="AutoStart" android:key="AutoStart"
android:summary="Auto Start App on Boot" android:summary="@string/auto_start_summary"
android:title="Auto Start App on Boot" android:title="@string/auto_start_title"
android:enabled="true" android:enabled="true"
/> />
<EditTextPreference <EditTextPreference
android:defaultValue="" android:defaultValue=""
android:key="AppVersionName" android:key="AppVersionName"
android:summary="App Version Number - used to decide whether to display the welcome message or not." android:summary="@string/app_version_summary"
android:title="App Version Number" /> android:title="@string/app_version_title" />
<!-- <!--
<CheckBoxPreference <CheckBoxPreference
android:defaultValue="false" android:defaultValue="false"

View File

@@ -3,48 +3,48 @@
<EditTextPreference <EditTextPreference
android:defaultValue="https://osd.dynu.net/" android:defaultValue="https://osd.dynu.net/"
android:key="serverUrl" android:key="serverUrl"
android:title="Server URL" android:title="@string/remote_url_title"
android:summary="URL of OpenSeizureDetector Data Log Server" android:summary="@string/remote_url_summary"
/> />
<CheckBoxPreference <CheckBoxPreference
android:defaultValue="true" android:defaultValue="true"
android:key="LogToServer" android:key="LogToServer"
android:summary="Log Data to OpenSeizureDetector Server" android:summary="@string/log_data_remote_summary"
android:title="Log to Server" /> android:title="@string/log_data_remote_title" />
<CheckBoxPreference <CheckBoxPreference
android:defaultValue="false" android:defaultValue="false"
android:key="UploadOverMobileNetwork" android:key="UploadOverMobileNetwork"
android:summary="Upload Data when using Mobile Network" android:summary="@string/UseMobileSummary"
android:title="Use Mobile Network" /> android:title="@string/UseMobileTitle" />
<EditTextPreference <EditTextPreference
android:defaultValue="password" android:defaultValue="password"
android:key="OSDPasswd" android:key="OSDPasswd"
android:summary="Password for remote data logging." android:summary="@string/remote_passwd_summary"
android:title="Remote Password" /> android:title="@string/remote_passwd_title" />
<CheckBoxPreference <CheckBoxPreference
android:defaultValue="false" android:defaultValue="false"
android:key="PreventSleep" android:key="PreventSleep"
android:summary="Prevent the screen from blanking while the application is running." android:summary="@string/prevent_sleep_summary"
android:title="Prevent the screen from blanking." /> android:title="@string/prevent_sleep_title" />
<EditTextPreference <EditTextPreference
android:defaultValue="1000" android:defaultValue="1000"
android:key="UpdatePeriod" android:key="UpdatePeriod"
android:summary="Display update period in miliseconds." android:summary="@string/data_update_period_summary"
android:title="Display Update Period (ms)." /> android:title="@string/data_update_period_title" />
<CheckBoxPreference <CheckBoxPreference
android:defaultValue="false" android:defaultValue="false"
android:key="AutoStart" android:key="AutoStart"
android:summary="Auto Start App on Boot" android:summary="@string/auto_start_summary"
android:title="Auto Start App on Boot" android:title="@string/auto_start_title"
android:enabled="true" android:enabled="true"
/> />
<EditTextPreference <EditTextPreference
android:defaultValue="" android:defaultValue=""
android:key="AppVersionName" android:key="AppVersionName"
android:summary="App Version Number - used to decide whether to display the welcome message or not." android:summary="@string/app_version_summary"
android:title="App Version Number" /> android:title="@string/app_version_title" />
<!-- <!--
<CheckBoxPreference <CheckBoxPreference
android:defaultValue="false" android:defaultValue="false"

View File

@@ -3,24 +3,24 @@
<EditTextPreference <EditTextPreference
android:defaultValue="192.168.1.175" android:defaultValue="192.168.1.175"
android:key="ServerIP" android:key="ServerIP"
android:summary="IP Address of OpenSeizureDetector Server (e.g. 192.168.1.175)." android:summary="@string/server_ip_summary"
android:title="Server IP Address." /> android:title="@string/server_ip_title" />
<EditTextPreference <EditTextPreference
android:defaultValue="2000" android:defaultValue="2000"
android:key="DataUpdatePeriod" android:key="DataUpdatePeriod"
android:numeric="integer" android:numeric="integer"
android:summary="Period between server data requests in miliseconds." android:summary="@string/network_update_period_summary"
android:title="Data Update Period (ms)" /> android:title="@string/network_update_period_title" />
<EditTextPreference <EditTextPreference
android:defaultValue="5000" android:defaultValue="5000"
android:key="ConnectTimeoutPeriod" android:key="ConnectTimeoutPeriod"
android:numeric="integer" android:numeric="integer"
android:summary="" android:summary="@string/connection_timeout_summary"
android:title="Connection Timeout Period (ms)" /> android:title="@string/connection_timeout_title" />
<EditTextPreference <EditTextPreference
android:defaultValue="5000" android:defaultValue="5000"
android:key="ReadTimeoutPeriod" android:key="ReadTimeoutPeriod"
android:numeric="integer" android:numeric="integer"
android:summary="" android:summary="@string/read_timeout_summary"
android:title="Read Timeout Period (ms)" /> android:title="@string/read_timeout_title" />
</PreferenceScreen> </PreferenceScreen>

View File

@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="utf-8"?><!-- The ListPreference data is defined in pebble_datasource_values.xml --> <?xml version="1.0" encoding="utf-8"?><!-- The ListPreference data is defined in pebble_datasource_values.xml -->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory android:title="BLE Device Settings"> <PreferenceCategory android:title="@string/ble_device_settings_title">
<EditTextPreference <EditTextPreference
android:defaultValue="" android:defaultValue=""
android:key="BLE_Device_Addr" android:key="BLE_Device_Addr"
android:summary="MAC Address of BLE Data Source Device" android:summary="@string/ble_mac_addr_summary"
android:title="Device Address" /> android:title="@string/ble_mac_addr_title" />
<EditTextPreference <EditTextPreference
android:defaultValue="" android:defaultValue=""
android:key="BLE_Device_Name" android:key="BLE_Device_Name"
android:summary="Name of BLE Data Source Device" android:summary="@string/ble_device_name_summary"
android:title="Device Address" /> android:title="@string/ble_device_name_title" />
</PreferenceCategory> </PreferenceCategory>
<PreferenceCategory android:title="User Interface Settings"> <PreferenceCategory android:title="@string/user_interface_settings_title">
<EditTextPreference <EditTextPreference
android:defaultValue="5" android:defaultValue="5"
android:key="PebbleUpdatePeriod" android:key="PebbleUpdatePeriod"