Added extra translatable strings for preference headers

This commit is contained in:
Graham Jones
2020-10-17 22:13:46 +01:00
parent 217b8e7769
commit 4616a0ab64
4 changed files with 38 additions and 14 deletions

View File

@@ -2,8 +2,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="uk.org.openseizuredetector"
android:versionCode="74"
android:versionName="3.6.1">
android:versionCode="75"
android:versionName="3.6.1b">
<!-- android:allowBackup="false" -->
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />

View File

@@ -146,4 +146,16 @@
<string name="unknown_device">Nieznane urządzenie</string>
<string name="select_ble_device_title">Wybierz urządzenie BLE (tylko dla źródeł danych Bluetooth)</string>
<string name="select_ble_device_desc">Wybierz urządzenie Bluetooth Low Energy (BLE) gdy używasz Bluetooth jako źródła danych wykrywania ataków (akcelerometr i tętno).</string>
<string name="basic_settings_title">Basic</string>
<string name="general_settings_summary">General Preferences</string>
<string name="alarms_settings_title">Alarms</string>
<string name="alarms_settings_summary">Alarms Preferences</string>
<string name="seizure_detector_settings_title">Seizure Detector</string>
<string name="seizure_detector_settings_summary">Seizure Detector Preferences</string>
<string name="network_datasource_title">Network Datasource</string>
<string name="network_datasource_summary">Network Datasource Preferences</string>
<string name="pebble_datasource_title">Pebble Datasource</string>
<string name="pebble_datasource_summary">Pebble Datasource Preferences</string>
<string name="basic_settings_summary">Basic Settings</string>
<string name="general_settings_title">General</string>
</resources>

View File

@@ -146,4 +146,16 @@
<string name="unknown_device">Unknown Device</string>
<string name="select_ble_device_title">Select BLE Device (for Buetooth Data Source Only)</string>
<string name="select_ble_device_desc">Select Bluetooth Low Energy (BLE) Device to provide seizure (acceleration and heart rate) data) when using the Bluetooth Device data source.</string>
<string name="basic_settings_title">Basic</string>
<string name="basic_settings_summary">Basic Settings</string>
<string name="general_settings_title">General</string>
<string name="general_settings_summary">General Preferences</string>
<string name="alarms_settings_title">Alarms</string>
<string name="alarms_settings_summary">Alarms Preferences</string>
<string name="seizure_detector_settings_title">Seizure Detector</string>
<string name="seizure_detector_settings_summary">Seizure Detector Preferences</string>
<string name="pebble_datasource_summary">Pebble Datasource Preferences</string>
<string name="network_datasource_title">Network Datasource</string>
<string name="network_datasource_summary">Network Datasource Preferences</string>
<string name="pebble_datasource_title">Pebble Datasource</string>
</resources>

View File

@@ -4,33 +4,33 @@
<header android:fragment="uk.org.openseizuredetector.PrefActivity$BasicPrefsFragment"
android:icon="@drawable/icon_24x24"
android:title="Basic"
android:summary="Basic Settings" />
android:title="@string/basic_settings_title"
android:summary="@string/basic_settings_summary" />
<header android:fragment="uk.org.openseizuredetector.PrefActivity$GeneralPrefsFragment"
android:icon="@drawable/icon_24x24"
android:title="General"
android:summary="General Preferences" />
android:title="@string/general_settings_title"
android:summary="@string/general_settings_summary" />
<header android:fragment="uk.org.openseizuredetector.PrefActivity$AlarmPrefsFragment"
android:icon="@drawable/icon_24x24"
android:title="Alarms"
android:summary="Alarms Preferences" />
android:title="@string/alarms_settings_title"
android:summary="@string/alarms_settings_summary" />
<header android:fragment="uk.org.openseizuredetector.PrefActivity$SeizureDetectorPrefsFragment"
android:icon="@drawable/icon_24x24"
android:title="Seizure Detector"
android:summary="Seizure Detector Preferences" />
android:title="@string/seizure_detector_settings_title"
android:summary="@string/seizure_detector_settings_summary" />
<header android:fragment="uk.org.openseizuredetector.PrefActivity$PebbleDatasourcePrefsFragment"
android:icon="@drawable/icon_24x24"
android:title="Pebble Datasource"
android:summary="Pebble Datasource Preferences" />
android:title="@string/pebble_datasource_title"
android:summary="@string/pebble_datasource_summary" />
<header android:fragment="uk.org.openseizuredetector.PrefActivity$NetworkDatasourcePrefsFragment"
android:icon="@drawable/icon_24x24"
android:title="Network Datasource"
android:summary="Network Datasource Preferences" />
android:title="@string/network_datasource_title"
android:summary="@string/network_datasource_summary" />
</preference-headers>