From 249b8d7d785c9f5703de0c12a9d00e9a391a75a9 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Fri, 15 Apr 2016 01:21:15 +0200 Subject: Handle user input on key creation more generously Allow empty name and do not regex-check email fixes #1825 --- OpenKeychain/src/main/res/layout/create_key_final_fragment.xml | 6 +++++- OpenKeychain/src/main/res/values/strings.xml | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'OpenKeychain/src/main/res') diff --git a/OpenKeychain/src/main/res/layout/create_key_final_fragment.xml b/OpenKeychain/src/main/res/layout/create_key_final_fragment.xml index 46b5d186d..dbd53db08 100644 --- a/OpenKeychain/src/main/res/layout/create_key_final_fragment.xml +++ b/OpenKeychain/src/main/res/layout/create_key_final_fragment.xml @@ -39,7 +39,9 @@ android:layout_height="wrap_content" android:layout_marginBottom="8dp" android:layout_marginLeft="8dp" - android:textAppearance="?android:attr/textAppearanceMedium" /> + android:textAppearance="?android:attr/textAppearanceMedium" + android:focusable="true" + android:focusableInTouchMode="true" /> diff --git a/OpenKeychain/src/main/res/values/strings.xml b/OpenKeychain/src/main/res/values/strings.xml index d77d64a27..c147b7ea5 100644 --- a/OpenKeychain/src/main/res/values/strings.xml +++ b/OpenKeychain/src/main/res/values/strings.xml @@ -768,6 +768,7 @@ "Passwords do not match" "You entered the following identity:" "Creating a key may take a while, have a cup of coffee in the meantime…" + "Many applications work better when provided with keys only containing valid email addresses" "(3 subkeys, RSA, 4096 bit)" "(custom key configuration)" "Choose a name associated with this key. This can be a full name, e.g., 'John Doe', or a nickname, e.g., 'Johnny'." @@ -778,7 +779,7 @@ "Add email address" "Additional email addresses are also associated to this key and can be used for secure communication." "Email address has already been added" - "Email address format is invalid" + "Email address can not be empty" "Please choose a PIN with 6 numbers." "Please write down the Admin PIN and store it in a safe place (required when you used a wrong PIN 3 times)." "PIN" -- cgit v1.2.3