1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-06 23:17:47 +02: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
tweak it without breaking translations. */
text = _("TOFU: few signatures %s");
if (strcmp (text, "TOFU: few signatures %s") == 0)
if (strcmp (text, "TOFU: few signatures %d %s %s") == 0)
text =
"Warning: if this value is unexpectedly low, this might "
"indicate that this key is a forgery! Carefully examine "
"the email address for small variations (e.g., additional "
"white space). If the key is suspect, then use '%s' to "
"mark the key as being bad.\n";
log_info (text, set_policy_command);
"Warning: if you think you've seen more than %d %s "
"signed by this key, then this key might be a forgery! "
"Carefully examine the email address for small variations "
"(e.g., additional white space). If the key is suspect, "
"then use '%s' to mark it as being bad.\n";
log_info (text,
messages, messages == 1 ? _("message") : _("message"),
set_policy_command);
free (set_policy_command);
}
}