From 055fb59ec34a986ea9f5620554b51c438d809361 Mon Sep 17 00:00:00 2001 From: Vincent Breitmoser Date: Mon, 8 Sep 2014 14:32:55 +0200 Subject: Properly handle uneditable key types in EditKeyFragment More specifically, return an OperationResultParcel for stripped and divert-to-card keys, with an appropriate error message in the log. part of #828 --- OpenKeychain/src/main/res/values/strings.xml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'OpenKeychain/src/main/res') diff --git a/OpenKeychain/src/main/res/values/strings.xml b/OpenKeychain/src/main/res/values/strings.xml index 24effb7f1..2a89f15bc 100644 --- a/OpenKeychain/src/main/res/values/strings.xml +++ b/OpenKeychain/src/main/res/values/strings.xml @@ -756,6 +756,11 @@ "Exception deleting public cache file" "Exception deleting secret cache file" + + "editing of nfc keys is not (yet) supported" + "cannot edit keyring with stripped master key!" + "key not found" + "Click to clear cached passphrases" "OpenKeychain has cached %d passphrases" -- cgit v1.2.3 From ceea2667e8544b58acfc59f8d3284f4dcbd7cf7a Mon Sep 17 00:00:00 2001 From: Vincent Breitmoser Date: Mon, 8 Sep 2014 14:50:16 +0200 Subject: introduce SingletonResult for... singleton results --- OpenKeychain/src/main/res/values/strings.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'OpenKeychain/src/main/res') diff --git a/OpenKeychain/src/main/res/values/strings.xml b/OpenKeychain/src/main/res/values/strings.xml index 2a89f15bc..64affdfde 100644 --- a/OpenKeychain/src/main/res/values/strings.xml +++ b/OpenKeychain/src/main/res/values/strings.xml @@ -757,9 +757,9 @@ "Exception deleting secret cache file" - "editing of nfc keys is not (yet) supported" - "cannot edit keyring with stripped master key!" - "key not found" + "Editing of nfc keys is not (yet) supported!" + "Cannot edit keyring with stripped master key!" + "Key not found!" "Click to clear cached passphrases" -- cgit v1.2.3