From 7b24679094b40c0f99f11d728554bf7c288de24c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Fri, 29 Apr 2016 22:22:10 +0200 Subject: Re-enable move-to-card option, improve strings --- .../keychain/ui/EditKeyFragment.java | 82 ++++++++++------------ .../keychain/ui/ViewKeyAdvSubkeysFragment.java | 82 ++++++++++------------ .../ui/dialog/EditSubkeyDialogFragment.java | 4 +- .../keychain/ui/util/KeyFormattingUtils.java | 2 +- OpenKeychain/src/main/res/values/strings.xml | 14 ++-- 5 files changed, 88 insertions(+), 96 deletions(-) diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/EditKeyFragment.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/EditKeyFragment.java index 4cbb4724e..9ed8e369d 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/EditKeyFragment.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/EditKeyFragment.java @@ -35,6 +35,7 @@ import android.view.ViewGroup; import android.widget.AdapterView; import android.widget.ListView; +import org.bouncycastle.bcpg.PublicKeyAlgorithmTags; import org.sufficientlysecure.keychain.Constants; import org.sufficientlysecure.keychain.R; import org.sufficientlysecure.keychain.compatibility.DialogFragmentWorkaround; @@ -440,50 +441,45 @@ public class EditKeyFragment extends QueueingCryptoOperationFragment"Add at least one subkey!" "Algorithm not supported by Security Token!" "Key size not supported by Security Token!" - "Cannot move key to Security Token (either stripped or 'divert-to-card')!" + "Cannot move key to Security Token (either stripped or already on Security Token)!" "Synchronize with the Internet" @@ -953,7 +953,7 @@ "Marked secret subkey %s as available, with empty password" "Marked secret subkey %s as available, with PIN" "Marked secret subkey %s as stripped" - "Marked secret subkey %s as 'divert-to-card'" + "Marked secret subkey %s as key on Security Token" "Keyring contains no new data, nothing to do" "Successfully imported secret keyring" @@ -1062,9 +1062,9 @@ "Modifying keyring %s" - "Will divert to Security Token for crypto operations" - "Creation of new subkeys is not supported for 'divert-to-card' primary keys!" - "The serial number of a 'divert-to-card' key must be 16 bytes! This is a programming error, please file a bug report!" + "Will use Security Token for crypto operations" + "Creation of new subkeys is not supported for primary keys on Security Tokens!" + "The serial number of a key on Security Tokens must be 16 bytes! This is a programming error, please file a bug report!" "Encoding exception!" "Actual key fingerprint does not match the expected one!" "No key ID. This is an internal error, please file a bug report!" @@ -1097,7 +1097,7 @@ "Generating new certificate for new primary user ID" "Changing to restricted operation mode" "Modifying subkey %s" - "Diverting to Security Token for crypto operations" + "Using Security Token for crypto operations" "Password required for operations" "Adding new subkey of type %s" "New subkey ID: %s" @@ -1498,7 +1498,7 @@ "Key not found!" "Error processing key!" "stripped" - "divert to Security Token" + "on Security Token" "no password" "unavailable" "Your own keys can only be deleted individually!" -- cgit v1.2.3