diff options
author | Vincent Breitmoser <valodim@mugenguild.com> | 2014-07-02 14:51:11 +0200 |
---|---|---|
committer | Vincent Breitmoser <valodim@mugenguild.com> | 2014-07-02 14:51:11 +0200 |
commit | 287b74885e68ef1d922fc3178f9f446440c4e530 (patch) | |
tree | 882b21700b7f215a2fdfbadc18d85520ab561315 /OpenKeychain/src/main/java/org/sufficientlysecure | |
parent | a9010045889d307ede37d154b0a2fece566c1845 (diff) | |
download | open-keychain-287b74885e68ef1d922fc3178f9f446440c4e530.tar.gz open-keychain-287b74885e68ef1d922fc3178f9f446440c4e530.tar.bz2 open-keychain-287b74885e68ef1d922fc3178f9f446440c4e530.zip |
don't use zero plural string for english
closes #703
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/provider/ProviderHelper.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/provider/ProviderHelper.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/provider/ProviderHelper.java index 28495d51d..b5609a327 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/provider/ProviderHelper.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/provider/ProviderHelper.java @@ -405,7 +405,11 @@ public class ProviderHelper { // classify and order user ids. primary are moved to the front, revoked to the back, // otherwise the order in the keyfile is preserved. - log(LogLevel.INFO, LogType.MSG_IP_UID_CLASSIFYING, trustedKeys.size()); + if (trustedKeys.size() == 0) { + log(LogLevel.INFO, LogType.MSG_IP_UID_CLASSIFYING_ZERO); + } else { + log(LogLevel.INFO, LogType.MSG_IP_UID_CLASSIFYING, trustedKeys.size()); + } mIndent += 1; List<UserIdItem> uids = new ArrayList<UserIdItem>(); for (String userId : new IterableIterator<String>( |