diff options
author | Werner Koch <wk@gnupg.org> | 2017-06-13 09:02:12 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2017-06-13 09:02:12 +0200 |
commit | a36c48a780adac28748804af2aab403636c3f450 (patch) | |
tree | 756ef253482121d2a1de202c64543fb186faebfe /g10/sig-check.c | |
parent | common: Fix -Wswitch warning. (diff) | |
download | gnupg2-a36c48a780adac28748804af2aab403636c3f450.tar.xz gnupg2-a36c48a780adac28748804af2aab403636c3f450.zip |
po: Make a string translatable.
--
Diffstat (limited to 'g10/sig-check.c')
-rw-r--r-- | g10/sig-check.c | 9 |
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) |