1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

gpg: Improve text.

* g10/tofu.c (show_statistics): Improve text.

--
Signed-off-by: Neal H. Walfield <neal@walfield.org>
Suggested-by: Malte <malte@wk3.org>
This commit is contained in:
Neal H. Walfield 2015-10-20 13:42:20 +02:00
parent 4957e32367
commit 445f94bc81

View File

@ -2005,14 +2005,16 @@ show_statistics (struct db *dbs, const char *fingerprint,
directly internationalize that text so that we can directly internationalize that text so that we can
tweak it without breaking translations. */ tweak it without breaking translations. */
text = _("TOFU: few signatures %s"); text = _("TOFU: few signatures %s");
if (strcmp (text, "TOFU: few signatures %s") == 0) if (strcmp (text, "TOFU: few signatures %d %s %s") == 0)
text = text =
"Warning: if this value is unexpectedly low, this might " "Warning: if you think you've seen more than %d %s "
"indicate that this key is a forgery! Carefully examine " "signed by this key, then this key might be a forgery! "
"the email address for small variations (e.g., additional " "Carefully examine the email address for small variations "
"white space). If the key is suspect, then use '%s' to " "(e.g., additional white space). If the key is suspect, "
"mark the key as being bad.\n"; "then use '%s' to mark it as being bad.\n";
log_info (text, set_policy_command); log_info (text,
messages, messages == 1 ? _("message") : _("message"),
set_policy_command);
free (set_policy_command); free (set_policy_command);
} }
} }