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

Actually show translators comments in PO files

--
This commit is contained in:
David Prévot 2012-08-22 12:54:37 -04:00 committed by Werner Koch
parent bf95408fc3
commit 94e663885b
4 changed files with 8 additions and 9 deletions

View File

@ -818,7 +818,7 @@ agent_askpin (ctrl_t ctrl,
if (errtext)
{
/* TRANLATORS: The string is appended to an error message in
/* TRANSLATORS: The string is appended to an error message in
the pinentry. The %s is the actual error message, the
two %d give the current and maximum number of tries. */
snprintf (line, DIM(line)-1, _("SETERROR %s (try %d of %d)"),

View File

@ -202,7 +202,7 @@ do_edit_ownertrust (PKT_public_key *pk, int mode,
for(;;) {
/* A string with valid answers.
Note to translators: These are the allowed answers in lower and
TRANSLATORS: These are the allowed answers in lower and
uppercase. Below you will find the matching strings which
should be translated accordingly and the letter changed to
match the one in the answer string.

View File

@ -507,7 +507,11 @@ trust_letter (unsigned int value)
}
}
/* NOTE TO TRANSLATOR: these strings are similar to those in
const char *
uid_trust_string_fixed(PKT_public_key *key,PKT_user_id *uid)
{
if(!key && !uid)
/* TRANSLATORS: these strings are similar to those in
trust_value_to_string(), but are a fixed length. This is needed to
make attractive information listings where columns line up
properly. The value "10" should be the length of the strings you
@ -515,10 +519,6 @@ trust_letter (unsigned int value)
It gets passed to atoi() so everything after the number is
essentially a comment and need not be translated. Either key and
uid are both NULL, or neither are NULL. */
const char *
uid_trust_string_fixed(PKT_public_key *key,PKT_user_id *uid)
{
if(!key && !uid)
return _("10 translator see trustdb.c:uid_trust_string_fixed");
else if(uid->is_revoked || (key && key->flags.revoked))
return _("[ revoked]");

View File

@ -2081,8 +2081,7 @@ do_change_pin (app_t app, ctrl_t ctrl, const char *chvnostr,
/* TRANSLATORS: Do not translate the "|*|" prefixes but
keep it at the start of the string. We need this elsewhere
to get some infos on the string. */
rc = pincb (pincb_arg,
set_resetcode? _("|RN|New Reset Code") :
rc = pincb (pincb_arg, set_resetcode? _("|RN|New Reset Code") :
chvno == 3? _("|AN|New Admin PIN") : _("|N|New PIN"),
&pinvalue);
if (rc)