summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2015-05-11 10:25:09 +0200
committerWerner Koch <wk@gnupg.org>2015-05-11 10:53:52 +0200
commit02d5e1205489aa5027a87a64552eaf15984dc22d (patch)
tree88d8230f8c07fee833873d051b8c477dfdeb9403
parentagent: Add option --debug-pinentry. (diff)
downloadgnupg2-02d5e1205489aa5027a87a64552eaf15984dc22d.tar.xz
gnupg2-02d5e1205489aa5027a87a64552eaf15984dc22d.zip
agent: Add strings for use by future Pinentry versions.
* agent/call-pinentry.c (start_pinentry): Add more strings. -- We do this so that translations of these strings will be available at the time a pinentry implements features which require these strings. Signed-off-by: Werner Koch <wk@gnupg.org>
-rw-r--r--agent/call-pinentry.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/agent/call-pinentry.c b/agent/call-pinentry.c
index 8cbb33edd..64c64a957 100644
--- a/agent/call-pinentry.c
+++ b/agent/call-pinentry.c
@@ -424,7 +424,7 @@ 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. */
- static struct { const char *key, *value; } tbl[] = {
+ static struct { const char *key, *value; int mode; } 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
@@ -432,7 +432,14 @@ start_pinentry (ctrl_t ctrl)
the second vertical bar. */
{ "ok", N_("|pinentry-label|_OK") },
{ "cancel", N_("|pinentry-label|_Cancel") },
+ { "yes", N_("|pinentry-label|_Yes") },
+ { "no", N_("|pinentry-label|_No") },
{ "prompt", N_("|pinentry-label|PIN:") },
+ { "pwmngr", N_("|pinentry-label|_Save in password manager") },
+ { "cf-visi",N_("Do you really want to make your "
+ "passphrase visible on the screen?") },
+ { "tt-visi",N_("|pinentry-tt|Make passphrase visible") },
+ { "tt-hide",N_("|pinentry-tt|Hide passphrase") },
{ NULL, NULL}
};
char *optstr;