aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2015-12-23 14:13:21 +0000
committerWerner Koch <[email protected]>2015-12-23 14:13:21 +0000
commitb0c9867fb74d5a00335e6606d5bdcc5342ce26cd (patch)
treec1f79094eeafe7fe58b7af22ec4b223fe2708222
parentscd: Fix commit b30c15bf (again). (diff)
downloadgnupg-b0c9867fb74d5a00335e6606d5bdcc5342ce26cd.tar.gz
gnupg-b0c9867fb74d5a00335e6606d5bdcc5342ce26cd.zip
gpg: Do not translate debug output.
* g10/getkey.c (parse_def_secret_key): Do not make strings passed to log_debug translatable. -- Debug output is intended to be used along with the source or to be send to the developers. Thus translations are at best not helpful.
Diffstat (limited to '')
-rw-r--r--g10/getkey.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/g10/getkey.c b/g10/getkey.c
index 24c96367c..a32e7298d 100644
--- a/g10/getkey.c
+++ b/g10/getkey.c
@@ -1501,21 +1501,21 @@ parse_def_secret_key (ctrl_t ctrl)
if (pk->flags.revoked)
{
if (DBG_LOOKUP)
- log_debug (_("not using %s as default key, %s"),
+ log_debug ("not using %s as default key, %s",
keystr_from_pk (pk), "revoked");
continue;
}
if (pk->has_expired)
{
if (DBG_LOOKUP)
- log_debug (_("not using %s as default key, %s"),
+ log_debug ("not using %s as default key, %s",
keystr_from_pk (pk), "expired");
continue;
}
if (pk_is_disabled (pk))
{
if (DBG_LOOKUP)
- log_debug (_("not using %s as default key, %s"),
+ log_debug ("not using %s as default key, %s",
keystr_from_pk (pk), "disabled");
continue;
}