aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Prévot <[email protected]>2012-08-22 16:53:56 +0000
committerWerner Koch <[email protected]>2012-08-24 08:33:28 +0000
commitbc95b352890a6a3e8e359fab5b67131fa8abf6a5 (patch)
tree9abf9bae6d15e9cdc2c912739d01f12924ab0014
parentKeep previous msgids of translated messages (diff)
downloadgnupg-bc95b352890a6a3e8e359fab5b67131fa8abf6a5.tar.gz
gnupg-bc95b352890a6a3e8e359fab5b67131fa8abf6a5.zip
Actually show translators comments in PO files
-rw-r--r--agent/call-pinentry.c2
-rw-r--r--g10/pkclist.c2
-rw-r--r--g10/trustdb.c10
-rw-r--r--scd/app-openpgp.c3
4 files changed, 8 insertions, 9 deletions
diff --git a/agent/call-pinentry.c b/agent/call-pinentry.c
index ad1bd0355..2483019b6 100644
--- a/agent/call-pinentry.c
+++ b/agent/call-pinentry.c
@@ -770,7 +770,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)"),
diff --git a/g10/pkclist.c b/g10/pkclist.c
index 7ad97557f..1368bc2bd 100644
--- a/g10/pkclist.c
+++ b/g10/pkclist.c
@@ -191,7 +191,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.
diff --git a/g10/trustdb.c b/g10/trustdb.c
index fe8b83334..dedb18c6f 100644
--- a/g10/trustdb.c
+++ b/g10/trustdb.c
@@ -505,7 +505,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
@@ -513,10 +517,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->is_revoked))
return _("[ revoked]");
diff --git a/scd/app-openpgp.c b/scd/app-openpgp.c
index e50297dee..2a85250e9 100644
--- a/scd/app-openpgp.c
+++ b/scd/app-openpgp.c
@@ -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)