[Pkg-gnupg-commit] [gnupg2] 50/185: po: Make a string translatable.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Mon Aug 7 11:55:19 UTC 2017


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch experimental
in repository gnupg2.

commit a36c48a780adac28748804af2aab403636c3f450
Author: Werner Koch <wk at gnupg.org>
Date:   Tue Jun 13 09:02:12 2017 +0200

    po: Make a string translatable.
    
    --
---
 g10/sig-check.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/g10/sig-check.c b/g10/sig-check.c
index ef97e17..d0e27ea 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)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git



More information about the Pkg-gnupg-commit mailing list