summaryrefslogtreecommitdiffstats
path: root/g10/sig-check.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2017-06-13 09:02:12 +0200
committerWerner Koch <wk@gnupg.org>2017-06-13 09:02:12 +0200
commita36c48a780adac28748804af2aab403636c3f450 (patch)
tree756ef253482121d2a1de202c64543fb186faebfe /g10/sig-check.c
parentcommon: Fix -Wswitch warning. (diff)
downloadgnupg2-a36c48a780adac28748804af2aab403636c3f450.tar.xz
gnupg2-a36c48a780adac28748804af2aab403636c3f450.zip
po: Make a string translatable.
--
Diffstat (limited to 'g10/sig-check.c')
-rw-r--r--g10/sig-check.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/g10/sig-check.c b/g10/sig-check.c
index ef97e17d4..d0e27eac1 100644
--- a/g10/sig-check.c
+++ b/g10/sig-check.c
@@ -157,12 +157,15 @@ check_signature2 (ctrl_t ctrl,
else if( get_pubkey (ctrl, pk, sig->keyid ) )
rc = gpg_error (GPG_ERR_NO_PUBKEY);
else if (! gnupg_pk_is_allowed (opt.compliance, PK_USE_VERIFICATION,
- pk->pubkey_algo, pk->pkey, nbits_from_pk (pk),
+ pk->pubkey_algo, pk->pkey,
+ nbits_from_pk (pk),
NULL))
{
/* Compliance failure. */
- log_info ("key %s not suitable for signature verification while in %s mode\n",
- keystr_from_pk (pk), gnupg_compliance_option_string (opt.compliance));
+ log_info (_("key %s not suitable for signature verification"
+ " while in %s mode\n"),
+ keystr_from_pk (pk),
+ gnupg_compliance_option_string (opt.compliance));
rc = gpg_error (GPG_ERR_PUBKEY_ALGO);
}
else if(!pk->flags.valid)