aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/java/org/sufficientlysecure/keychain
diff options
context:
space:
mode:
authorVincent Breitmoser <valodim@mugenguild.com>2014-09-23 16:23:13 +0200
committerVincent Breitmoser <valodim@mugenguild.com>2014-09-23 16:23:13 +0200
commitc5239d6e9b138925718e031df8da86f57035947a (patch)
tree25c266b7344a5db00d977cc4d6a2ac4047018bcc /OpenKeychain/src/main/java/org/sufficientlysecure/keychain
parentda1779816b8afc29d9c5efc38971346804ad191e (diff)
downloadopen-keychain-c5239d6e9b138925718e031df8da86f57035947a.tar.gz
open-keychain-c5239d6e9b138925718e031df8da86f57035947a.tar.bz2
open-keychain-c5239d6e9b138925718e031df8da86f57035947a.zip
be more precise on importresult overall error
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain')
-rw-r--r--OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/results/ImportKeyResult.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/results/ImportKeyResult.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/results/ImportKeyResult.java
index 3c07e8667..b5174bc63 100644
--- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/results/ImportKeyResult.java
+++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/results/ImportKeyResult.java
@@ -165,7 +165,7 @@ public class ImportKeyResult extends OperationResult {
? R.string.import_error_nothing_cancelled
: R.string.import_error_nothing);
} else {
- str = activity.getString(R.string.import_error);
+ str = activity.getResources().getQuantityString(R.plurals.import_error, mBadKeys);
}
}