[Pkg-gnupg-commit] [gnupg2] 97/292: Revert "g10: Fix singular term."

Daniel Kahn Gillmor dkg at fifthhorseman.net
Mon Nov 21 06:31:30 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 1a24c67e20e6ccc6c8e37403a26c715c0f1b6216
Author: Werner Koch <wk at gnupg.org>
Date:   Fri Oct 7 07:59:21 2016 +0200

    Revert "g10: Fix singular term."
    
    --
    
    This reverts commit b0d2526bc4e5c663eeffe04500420c70cee98712.
    
    The number of format elements may not change in ngettext.  The entire
    construct is anyway wrong because ngettext is passed a different value
    than what is used in the printf.
    
    We need to rework the use of most strings in tofu.c.
    
    Signed-off-by: Werner Koch <wk at gnupg.org>
---
 g10/tofu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/g10/tofu.c b/g10/tofu.c
index c100c43..5b01c27 100644
--- a/g10/tofu.c
+++ b/g10/tofu.c
@@ -1619,7 +1619,7 @@ ask_about_binding (ctrl_t ctrl,
           else
             {
               if (labs(stats_iter->time_ago) == 3)
-                es_fprintf (fp, ngettext(" over the past day.",
+                es_fprintf (fp, ngettext(" over the past days.",
                                          " over the past %d days.",
                                          seen_in_past),
                             TIME_AGO_SMALL_THRESHOLD

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