From 67ad71ff88fc96a95bb8de682e79e29605eddeeb Mon Sep 17 00:00:00 2001 From: Severiano Jaramillo Date: Thu, 10 Jan 2019 15:57:53 -0600 Subject: [PATCH] Change brainkey error description and create and import button labels in ImportBrainkeyFragment. Also added an 'Or' string between the import and create buttons. --- .../res/layout/fragment_import_brainkey.xml | 34 ++++++++++++++----- app/src/main/res/values/strings.xml | 10 +++--- 2 files changed, 30 insertions(+), 14 deletions(-) diff --git a/app/src/main/res/layout/fragment_import_brainkey.xml b/app/src/main/res/layout/fragment_import_brainkey.xml index 80e96c8..0372fdc 100644 --- a/app/src/main/res/layout/fragment_import_brainkey.xml +++ b/app/src/main/res/layout/fragment_import_brainkey.xml @@ -79,24 +79,40 @@ android:layout_marginTop="@dimen/spacing_different_topic" android:layout_marginStart="@dimen/activity_horizontal_margin" android:layout_marginEnd="@dimen/activity_horizontal_margin" - android:text="@string/button__import"/> + android:text="@string/button__import_existing_account"/> - + android:layout_height="wrap_content" + android:padding="@dimen/activity_horizontal_margin"> + + + + + + + android:text="@string/button__create_new_account"/> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 95fc195..c330420 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -12,11 +12,10 @@ Confirm PIN PIN mismatch BrainKey - Please enter correct brainkey, it should have between 12 and 16 - words. - - Import - Create + Please enter correct brainkey, it should have 12 or 16 words. + Import existing account + Or + Create new account Invalid account, please check your brainkey for typing errors Please try again after 5 minutes @@ -36,6 +35,7 @@ The server returned an error. This might be due to a limitation purposefully set in place to disallow frequent requests coming from the same IP address in a short time lapse. Please wait 5 minutes and try again, or switch to a different network, for example from wifi to cell. The faucet returned an error. Msg: %1$s The app could not retrieve information about the newly created account + Create Transactions