aboutsummaryrefslogtreecommitdiffstats
path: root/agent/call-pinentry.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2018-11-12 17:13:31 +0000
committerWerner Koch <[email protected]>2018-11-13 08:15:15 +0000
commitb3a70b67f33d3fd0c68dfe474285fb2b8b4ab134 (patch)
tree68ace6109b916a6f4903b132e6581a48e26a36c2 /agent/call-pinentry.c
parentbuild: Update libgcrypt.m4 and ntbtls.m4. (diff)
downloadgnupg-b3a70b67f33d3fd0c68dfe474285fb2b8b4ab134.tar.gz
gnupg-b3a70b67f33d3fd0c68dfe474285fb2b8b4ab134.zip
po: Clarify a translator's note.
--
Diffstat (limited to 'agent/call-pinentry.c')
-rw-r--r--agent/call-pinentry.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/agent/call-pinentry.c b/agent/call-pinentry.c
index 048443ab3..3716e11bb 100644
--- a/agent/call-pinentry.c
+++ b/agent/call-pinentry.c
@@ -501,14 +501,16 @@ start_pinentry (ctrl_t ctrl)
{
/* Provide a few default strings for use by the pinentries. This
- may help a pinentry to avoid implementing localization code. */
+ * may help a pinentry to avoid implementing localization code.
+ * Note that gpg-agent has been set to utf-8 so that the strings
+ * are in the expected encoding. */
static const struct { const char *key, *value; int what; } tbl[] = {
- /* TRANSLATORS: These are labels for buttons etc used in
- Pinentries. An underscore indicates that the next letter
- should be used as an accelerator. Double the underscore for
- a literal one. The actual to be translated text starts after
- the second vertical bar. Note that gpg-agent has been set to
- utf-8 so that the strings are in the expected encoding. */
+ /* TRANSLATORS: These are labels for buttons etc as used in
+ * Pinentries. In your translation copy the text before the
+ * second vertical bar verbatim; translate only the following
+ * text. An underscore indicates that the next letter should be
+ * used as an accelerator. Double the underscore to have
+ * pinentry display a literal underscore. */
{ "ok", N_("|pinentry-label|_OK") },
{ "cancel", N_("|pinentry-label|_Cancel") },
{ "yes", N_("|pinentry-label|_Yes") },