From 13943f75ef7edafd346cfab1762056604af3deeb Mon Sep 17 00:00:00 2001 From: nielsandriesse Date: Mon, 25 May 2020 15:24:55 +1000 Subject: [PATCH 1/5] Prepare onboarding for localization --- res/layout-sw400dp/activity_display_name.xml | 8 +-- res/layout-sw400dp/activity_landing.xml | 8 +-- res/layout-sw400dp/activity_register.xml | 10 +-- res/layout-sw400dp/activity_restore.xml | 10 +-- res/layout/activity_display_name.xml | 8 +-- res/layout/activity_landing.xml | 8 +-- res/layout/activity_pn_mode.xml | 2 +- res/layout/activity_register.xml | 10 +-- res/layout/activity_restore.xml | 10 +-- res/layout/fragment_enter_session_id.xml | 8 +-- res/layout/view_fake_chat.xml | 10 +-- res/values/strings.xml | 70 ++++++++++++++++--- .../loki/activities/DisplayNameActivity.kt | 6 +- .../loki/activities/LandingActivity.kt | 4 +- .../loki/activities/LinkDeviceActivity.kt | 10 +-- .../loki/activities/RegisterActivity.kt | 4 +- .../loki/activities/RestoreActivity.kt | 2 +- 17 files changed, 121 insertions(+), 67 deletions(-) diff --git a/res/layout-sw400dp/activity_display_name.xml b/res/layout-sw400dp/activity_display_name.xml index 11de7b28c2..dc118f42b8 100644 --- a/res/layout-sw400dp/activity_display_name.xml +++ b/res/layout-sw400dp/activity_display_name.xml @@ -19,7 +19,7 @@ android:textSize="@dimen/very_large_font_size" android:textStyle="bold" android:textColor="@color/text" - android:text="Pick your display name" /> + android:text="@string/activity_display_name_title_2" /> + android:text="@string/activity_display_name_explanation" /> + android:hint="@string/activity_display_name_edit_text_hint" /> + android:text="@string/continue_2" /> \ No newline at end of file diff --git a/res/layout-sw400dp/activity_landing.xml b/res/layout-sw400dp/activity_landing.xml index a4f7790d60..815f4f9732 100644 --- a/res/layout-sw400dp/activity_landing.xml +++ b/res/layout-sw400dp/activity_landing.xml @@ -19,7 +19,7 @@ android:textSize="@dimen/very_large_font_size" android:textStyle="bold" android:textColor="@color/text" - android:text="Your Session begins here..." /> + android:text="@string/activity_landing_title_2" /> + android:text="@string/activity_landing_register_button_title" />