mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Translate the oktext (yes/no).
This commit is contained in:
parent
b7ff1109f9
commit
0ec678b2af
2 changed files with 12 additions and 0 deletions
|
@ -457,6 +457,14 @@ writeout_li (audit_ctx_t ctx, const char *oktext, const char *format, ...)
|
|||
color = "red";
|
||||
}
|
||||
|
||||
if (format && oktext)
|
||||
{
|
||||
if (!strcmp (oktext, "Yes"))
|
||||
oktext = _("Yes");
|
||||
else if (!strcmp (oktext, "No"))
|
||||
oktext = _("No");
|
||||
}
|
||||
|
||||
if (ctx->use_html)
|
||||
{
|
||||
int i;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue