[svn] GnuPG - r4881 - trunk/common
svn author wk
cvs at cvs.gnupg.org
Thu Nov 20 22:54:47 CET 2008
Author: wk
Date: 2008-11-20 22:54:47 +0100 (Thu, 20 Nov 2008)
New Revision: 4881
Modified:
trunk/common/ChangeLog
trunk/common/audit.c
Log:
Translate the oktext (yes/no).
Modified: trunk/common/ChangeLog
===================================================================
--- trunk/common/ChangeLog 2008-11-20 16:26:40 UTC (rev 4880)
+++ trunk/common/ChangeLog 2008-11-20 21:54:47 UTC (rev 4881)
@@ -1,3 +1,7 @@
+2008-11-20 Werner Koch <wk at g10code.com>
+
+ * audit.c (writeout_li): Translate OKTEXT.
+
2008-11-04 Werner Koch <wk at g10code.com>
* i18n.c (i18n_init) [USE_SIMPLE_GETTEXT]: Adjust for changed
Modified: trunk/common/audit.c
===================================================================
--- trunk/common/audit.c 2008-11-20 16:26:40 UTC (rev 4880)
+++ trunk/common/audit.c 2008-11-20 21:54:47 UTC (rev 4881)
@@ -457,6 +457,14 @@
color = "red";
}
+ if (format && oktext)
+ {
+ if (!strcmp (oktext, "Yes"))
+ oktext = _("Yes");
+ else if (!strcmp (oktext, "No"))
+ oktext = _("No");
+ }
+
if (ctx->use_html)
{
int i;
More information about the Gnupg-commits
mailing list