mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-08 12:44:23 +01:00
Translate the oktext (yes/no).
This commit is contained in:
parent
b7ff1109f9
commit
0ec678b2af
@ -1,3 +1,7 @@
|
|||||||
|
2008-11-20 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
|
* audit.c (writeout_li): Translate OKTEXT.
|
||||||
|
|
||||||
2008-11-04 Werner Koch <wk@g10code.com>
|
2008-11-04 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
* i18n.c (i18n_init) [USE_SIMPLE_GETTEXT]: Adjust for changed
|
* i18n.c (i18n_init) [USE_SIMPLE_GETTEXT]: Adjust for changed
|
||||||
|
@ -457,6 +457,14 @@ writeout_li (audit_ctx_t ctx, const char *oktext, const char *format, ...)
|
|||||||
color = "red";
|
color = "red";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (format && oktext)
|
||||||
|
{
|
||||||
|
if (!strcmp (oktext, "Yes"))
|
||||||
|
oktext = _("Yes");
|
||||||
|
else if (!strcmp (oktext, "No"))
|
||||||
|
oktext = _("No");
|
||||||
|
}
|
||||||
|
|
||||||
if (ctx->use_html)
|
if (ctx->use_html)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user