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

@@ -4,12 +4,12 @@
<CheckBoxPreference
android:defaultValue="false"
android:key="LatchAlarms"
android:summary="Require manual reset of alarms to reset them to silence them."
android:title="Latch Alarms" />
android:summary="@string/latch_alarms_summary"
android:title="@string/latch_alarms_title" />
<EditTextPreference
android:key="LatchAlarmTimerPeriod"
android:title="Latch Alarm Timer Duration (sec)"
android:summary="Duration in seconds that alarms will initiate for before being silenced automatically."
android:title="@string/latch_timer_period_title"
android:summary="@string/latch_timer_period_summary"
android:numeric="integer"
android:defaultValue="10" />
@@ -18,29 +18,29 @@
<CheckBoxPreference
android:defaultValue="true"
android:key="AudibleAlarm"
android:summary="Issue an audible alarm if the seizure detector enters an alarm condition."
android:title="Enable Audible Alarm" />
android:summary="@string/enable_audible_alarm_summary"
android:title="@string/enable_audible_alarm_title" />
<CheckBoxPreference
android:defaultValue="true"
android:key="AudibleWarning"
android:summary="Issue an audible alarm if the seizure detector enters a warning (pre-alarm) condition."
android:title="Enable Audible Warnings" />
android:summary="@string/enable_audible_warning_summary"
android:title="@string/enable_audible_warning_title" />
<CheckBoxPreference
android:defaultValue="true"
android:key="AudibleFaultWarning"
android:summary="Issue an audible alarm if the system detects a fault (e.g. can not talk to Pebble)."
android:title="Enable Audible System FaultWarnings" />
android:summary="@string/enable_audible_fault_summary"
android:title="@string/enable_audible_fault_title" />
<EditTextPreference
android:key="FaultTimerPeriod"
android:title="Fault Timer Duration (sec)"
android:summary="Duration that fault alarms are muted before initiating."
android:title="@string/fault_timer_period_title"
android:summary="@string/fault_timer_period_summary"
android:numeric="integer"
android:defaultValue="30" />
<CheckBoxPreference
android:defaultValue="false"
android:key="UseMp3Alarm"
android:summary="Play an MP3 file to create the alarm beeps rather than using the default tone generator."
android:title="Use MP3 Alarm Sound" />
android:summary="@string/use_mp3_alarm_summary"
android:title="@string/use_mp3_alarm_title" />
</PreferenceCategory>
@@ -48,20 +48,20 @@
<CheckBoxPreference
android:defaultValue="false"
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:title="Enable SMS Alarm" />
android:summary="@string/enable_sms_alarm_summary"
android:title="@string/enable_sms_alarm_title" />
<EditTextPreference
android:defaultValue=""
android:key="SMSNumbers"
android:summary="Telephone number(s) to notify by SMS of Alarm (comma separated)."
android:title="SMS Alarm numbers" />
android:summary="@string/sms_numbers_summary"
android:title="@string/sms_numbers_title" />
<EditTextPreference
android:defaultValue="**SEIZURE DETECTED**"
android:key="SMSMsg"
android:summary="Message to be Sent by SMS when a Seizure is Detected."
android:title="SMS Message" />
android:summary="@string/sms_message_summary"
android:title="@string/sms_message_title" />
</PreferenceCategory>
<!--
<PreferenceCategory android:title="Phone Call Alarm Settings">
<CheckBoxPreference
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:title="Enable Phone Call Alarm" />
</PreferenceCategory>
-->
<PreferenceCategory android:title="Alarm Logging">
<CheckBoxPreference
android:defaultValue="true"
android:key="LogAlarms"
android:summary="Log Alarm events to SD Card"
android:title="Log Alarm events to SD Card" />
android:summary="@string/log_alarms_summary"
android:title="@string/log_alarms_title" />
<CheckBoxPreference
android:defaultValue="false"
android:key="LogData"
android:summary="Log Data to SD Card Regularly"
android:title="Log Data to SD Card" />
android:summary="@string/log_data_summary"
android:title="@string/log_data_title"/>
</PreferenceCategory>
</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">
<ListPreference
android:key="DataSource"
android:title="Select Data Source"
android:summary="Select the seizure detector data source to use."
android:title="@string/select_datasource_title"
android:summary="@string/select_datasource_summary"
android:entries="@array/datasource_list"
android:entryValues="@array/datasource_list_values"
android:defaultValue="Garmin"
android:dialogTitle="Select Data Source" />
android:dialogTitle="@string/select_datasource_title" />
<Preference
android:key="SelectBLEDevice"
android:title="@string/select_ble_device_title"
@@ -17,67 +17,67 @@
<CheckBoxPreference
android:defaultValue="true"
android:key="LogAlarms"
android:summary="Log Alarm events to SD Card"
android:title="Log Alarm events to SD Card" />
android:summary="@string/log_alarms_summary"
android:title="@string/log_alarms_title" />
<CheckBoxPreference
android:defaultValue="true"
android:key="LogData"
android:summary="Log Data to SD Card Regularly"
android:title="Log Data to SD Card" />
android:summary="@string/log_data_summary"
android:title="@string/log_data_title" />
<CheckBoxPreference
android:defaultValue="false"
android:key="LogDataRemote"
android:summary="Log Data to Central OpenSeizureDetector Database"
android:title="Log Data Remotely" />
android:summary="@string/log_data_remote_summary"
android:title="@string/log_data_remote_title" />
<CheckBoxPreference
android:defaultValue="false"
android:key="LogDataRemoteMobile"
android:summary="Use mobile internet to log remote data"
android:title="Use Mobile Internet" />
android:summary="@string/log_data_remote_mobile_summary"
android:title="@string/log_data_remote_mobile_title" />
<EditTextPreference
android:defaultValue="user_name"
android:key="OSDUname"
android:summary="Username for remote data logging."
android:title="Remote Username" />
android:title="@string/remote_uname_title"
android:summary="@string/remote_uname_summary" />
<EditTextPreference
android:defaultValue="password"
android:key="OSDPasswd"
android:summary="Password for remote data logging."
android:title="Remote Password" />
android:summary="@string/remote_passwd_summary"
android:title="@string/remote_passwd_title" />
<EditTextPreference
android:defaultValue="0"
android:key="OSDWearerId"
android:summary="Wearer ID"
android:title="Wearer ID of the person wearing the watch (from OSD Web API)" />
android:summary="@string/wearer_id_summary"
android:title="@string/wearer_id_title" />
<EditTextPreference
android:defaultValue="http://openseizuredetector.org.uk/webApi/"
android:key="OSDUrl"
android:summary="URL for remote data logging."
android:title="Remote URL" />
android:summary="@string/remote_url_summary"
android:title="@string/remote_url_title" />
<CheckBoxPreference
android:defaultValue="false"
android:key="PreventSleep"
android:summary="Prevent the screen from blanking while the application is running."
android:title="Prevent the screen from blanking." />
android:summary="@string/prevent_sleep_summary"
android:title="@string/prevent_sleep_title" />
<EditTextPreference
android:defaultValue="1000"
android:key="UpdatePeriod"
android:summary="Display update period in miliseconds."
android:title="Display Update Period (ms)." />
android:summary="@string/data_update_period_summary"
android:title="@string/data_update_period_title" />
<CheckBoxPreference
android:defaultValue="false"
android:key="AutoStart"
android:summary="Auto Start App on Boot"
android:title="Auto Start App on Boot"
android:summary="@string/auto_start_summary"
android:title="@string/auto_start_title"
android:enabled="true"
/>
<EditTextPreference
android:defaultValue=""
android:key="AppVersionName"
android:summary="App Version Number - used to decide whether to display the welcome message or not."
android:title="App Version Number" />
android:summary="@string/app_version_summary"
android:title="@string/app_version_title" />
<!--
<CheckBoxPreference
android:defaultValue="false"

View File

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

View File

@@ -3,24 +3,24 @@
<EditTextPreference
android:defaultValue="192.168.1.175"
android:key="ServerIP"
android:summary="IP Address of OpenSeizureDetector Server (e.g. 192.168.1.175)."
android:title="Server IP Address." />
android:summary="@string/server_ip_summary"
android:title="@string/server_ip_title" />
<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)" />
android:summary="@string/network_update_period_summary"
android:title="@string/network_update_period_title" />
<EditTextPreference
android:defaultValue="5000"
android:key="ConnectTimeoutPeriod"
android:numeric="integer"
android:summary=""
android:title="Connection Timeout Period (ms)" />
android:summary="@string/connection_timeout_summary"
android:title="@string/connection_timeout_title" />
<EditTextPreference
android:defaultValue="5000"
android:key="ReadTimeoutPeriod"
android:numeric="integer"
android:summary=""
android:title="Read Timeout Period (ms)" />
android:summary="@string/read_timeout_summary"
android:title="@string/read_timeout_title" />
</PreferenceScreen>

View File

@@ -1,18 +1,18 @@
<?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">
<PreferenceCategory android:title="BLE Device Settings">
<PreferenceCategory android:title="@string/ble_device_settings_title">
<EditTextPreference
android:defaultValue=""
android:key="BLE_Device_Addr"
android:summary="MAC Address of BLE Data Source Device"
android:title="Device Address" />
android:summary="@string/ble_mac_addr_summary"
android:title="@string/ble_mac_addr_title" />
<EditTextPreference
android:defaultValue=""
android:key="BLE_Device_Name"
android:summary="Name of BLE Data Source Device"
android:title="Device Address" />
android:summary="@string/ble_device_name_summary"
android:title="@string/ble_device_name_title" />
</PreferenceCategory>
<PreferenceCategory android:title="User Interface Settings">
<PreferenceCategory android:title="@string/user_interface_settings_title">
<EditTextPreference
android:defaultValue="5"
android:key="PebbleUpdatePeriod"