From bf21db40bdef78ab4326b4cd64901cea062c37cc Mon Sep 17 00:00:00 2001 From: Pierre Duchemin <pierre.duchemin@savoirfairelinux.com> Date: Fri, 7 Aug 2020 16:02:03 -0400 Subject: [PATCH] prefs: extract translations Change-Id: I8d74b645a3bc6ec0c6710d24bfddcdff95c4c69f --- ring-android/app/src/main/res/values/strings_account.xml | 2 ++ ring-android/app/src/main/res/xml/account_prefs_jami.xml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ring-android/app/src/main/res/values/strings_account.xml b/ring-android/app/src/main/res/values/strings_account.xml index cc5ae2d1d..8cc5f4bde 100644 --- a/ring-android/app/src/main/res/values/strings_account.xml +++ b/ring-android/app/src/main/res/values/strings_account.xml @@ -106,6 +106,7 @@ along with this program; if not, write to the Free Software <!-- Advanced Details --> <string name="account_preferences_advanced_tab">Advanced</string> + <string name="account_call_settings_title">Call settings</string> <string name="account_dht_public_in_calls_label">Allow incoming calls from unknown contacts</string> <string name="account_registration_exp_label">Registration Expire</string> <string name="account_local_interface_label">Local Interface</string> @@ -113,6 +114,7 @@ along with this program; if not, write to the Free Software <string name="account_stun_enable_label">Use Stun</string> <string name="account_stun_server_label">Stun Server</string> <string name="account_accept_files">Accept incoming files automatically</string> + <string name="account_conversation_settings_title">Conversation settings</string> <string name="account_accept_files_max_size">Maximum file size to accept automatically</string> <string name="account_accept_files_never">Never accept automatically</string> <string name="account_accept_files_always">Always accept automatically</string> diff --git a/ring-android/app/src/main/res/xml/account_prefs_jami.xml b/ring-android/app/src/main/res/xml/account_prefs_jami.xml index 44108eab9..8c625f6ee 100644 --- a/ring-android/app/src/main/res/xml/account_prefs_jami.xml +++ b/ring-android/app/src/main/res/xml/account_prefs_jami.xml @@ -21,7 +21,7 @@ along with this program; if not, write to the Free Software xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools"> - <androidx.preference.PreferenceCategory android:title="Call settings"> + <androidx.preference.PreferenceCategory android:title="@string/account_call_settings_title"> <SwitchPreference android:defaultValue="false" @@ -37,7 +37,7 @@ along with this program; if not, write to the Free Software android:title="@string/account_autoanswer_label" /> </androidx.preference.PreferenceCategory> - <androidx.preference.PreferenceCategory android:title="Conversation settings"> + <androidx.preference.PreferenceCategory android:title="@string/account_conversation_settings_title"> <androidx.preference.SeekBarPreference android:icon="@drawable/baseline_attach_file_24" android:key="acceptIncomingFilesMaxSize" -- GitLab