mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-31 11:41:32 +01:00
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.
This commit is contained in:
parent
aecf1a3c57
commit
b0c9867fb7
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user