mirror of
git://git.gnupg.org/gnupg.git
synced 2025-06-18 20:37:01 +02:00
Actually show translators comments in PO files
-- Note that strings marked for gettext need to immediately follow a TRANSLATOR comment block.
This commit is contained in:
parent
bc317df59a
commit
e393ae3e29
@ -2056,8 +2056,7 @@ do_change_pin (app_t app, ctrl_t ctrl, const char *chvnostr,
|
|||||||
/* TRANSLATORS: Do not translate the "|*|" prefixes but
|
/* TRANSLATORS: Do not translate the "|*|" prefixes but
|
||||||
keep it at the start of the string. We need this elsewhere
|
keep it at the start of the string. We need this elsewhere
|
||||||
to get some infos on the string. */
|
to get some infos on the string. */
|
||||||
rc = pincb (pincb_arg,
|
rc = pincb (pincb_arg, set_resetcode? _("|RN|New Reset Code") :
|
||||||
set_resetcode? _("|RN|New Reset Code") :
|
|
||||||
chvno == 3? _("|AN|New Admin PIN") : _("|N|New PIN"),
|
chvno == 3? _("|AN|New Admin PIN") : _("|N|New PIN"),
|
||||||
&pinvalue);
|
&pinvalue);
|
||||||
if (rc)
|
if (rc)
|
||||||
|
@ -799,7 +799,7 @@ compress_algo_to_string(int algo)
|
|||||||
int
|
int
|
||||||
string_to_compress_algo(const char *string)
|
string_to_compress_algo(const char *string)
|
||||||
{
|
{
|
||||||
/* NOTE TO TRANSLATOR: See doc/TRANSLATE about this string. */
|
/* TRANSLATORS: See doc/TRANSLATE about this string. */
|
||||||
if(match_multistr(_("uncompressed|none"),string))
|
if(match_multistr(_("uncompressed|none"),string))
|
||||||
return 0;
|
return 0;
|
||||||
else if(ascii_strcasecmp(string,"uncompressed")==0)
|
else if(ascii_strcasecmp(string,"uncompressed")==0)
|
||||||
|
@ -194,7 +194,7 @@ do_edit_ownertrust (PKT_public_key *pk, int mode,
|
|||||||
for(;;) {
|
for(;;) {
|
||||||
/* A string with valid answers.
|
/* 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
|
uppercase. Below you will find the matching strings which
|
||||||
should be translated accordingly and the letter changed to
|
should be translated accordingly and the letter changed to
|
||||||
match the one in the answer string.
|
match the one in the answer string.
|
||||||
|
@ -509,7 +509,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
|
trust_value_to_string(), but are a fixed length. This is needed to
|
||||||
make attractive information listings where columns line up
|
make attractive information listings where columns line up
|
||||||
properly. The value "10" should be the length of the strings you
|
properly. The value "10" should be the length of the strings you
|
||||||
@ -517,10 +521,6 @@ trust_letter (unsigned int value)
|
|||||||
It gets passed to atoi() so everything after the number is
|
It gets passed to atoi() so everything after the number is
|
||||||
essentially a comment and need not be translated. Either key and
|
essentially a comment and need not be translated. Either key and
|
||||||
uid are both NULL, or neither are NULL. */
|
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");
|
return _("10 translator see trustdb.c:uid_trust_string_fixed");
|
||||||
else if(uid->is_revoked || (key && key->is_revoked))
|
else if(uid->is_revoked || (key && key->is_revoked))
|
||||||
return _("[ revoked]");
|
return _("[ revoked]");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user