From 18967d9890a599ce48e71180a5c89087424bc067 Mon Sep 17 00:00:00 2001 From: nielsandriesse Date: Mon, 25 May 2020 17:11:15 +1000 Subject: [PATCH] Prepare remaining screens for localization --- res/layout/dialog_edit_device_name.xml | 6 +- res/layout/dialog_link_device_master_mode.xml | 8 +-- res/layout/dialog_link_device_slave_mode.xml | 6 +- .../fragment_device_list_bottom_sheet.xml | 4 +- res/layout/session_restore_banner.xml | 6 +- res/values/strings.xml | 58 ++++++++++++++----- .../loki/activities/ChatSettingsActivity.kt | 2 +- .../loki/activities/LinkedDevicesActivity.kt | 16 ++--- .../NotificationSettingsActivity.kt | 2 +- .../activities/PrivacySettingsActivity.kt | 2 +- .../dialogs/LinkDeviceMasterModeDialog.kt | 8 +-- .../loki/dialogs/LinkDeviceSlaveModeDialog.kt | 6 +- .../loki/views/SessionRestoreBannerView.kt | 2 +- 13 files changed, 79 insertions(+), 47 deletions(-) diff --git a/res/layout/dialog_edit_device_name.xml b/res/layout/dialog_edit_device_name.xml index 1805bca21a..a63395415a 100644 --- a/res/layout/dialog_edit_device_name.xml +++ b/res/layout/dialog_edit_device_name.xml @@ -30,7 +30,7 @@ android:textAlignment="center" android:paddingTop="12dp" android:paddingBottom="12dp" - android:hint="Enter a name" /> + android:hint="@string/dialog_edit_device_name_edit_text_hint" /> + android:text="@string/cancel" />