[Pkg-gnupg-commit] [gnupg2] 62/159: gpg: Do not translate debug output.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed Jan 27 13:23:54 UTC 2016


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

dkg pushed a commit to branch master
in repository gnupg2.

commit b0c9867fb74d5a00335e6606d5bdcc5342ce26cd
Author: Werner Koch <wk at gnupg.org>
Date:   Wed Dec 23 15:13:21 2015 +0100

    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.
---
 g10/getkey.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/g10/getkey.c b/g10/getkey.c
index 24c9636..a32e729 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;
             }

-- 
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