From cda3b913dbf23cab6829852022584fa510b57fa6 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 21 Aug 2002 11:11:04 +0000 Subject: * query.c (agent_askpin): Hack to show the right default prompt. (agent_get_passphrase): Ditto. * Makefile.am: Renamed the binary protect-tool to gpg-protect-tool. * protect-tool.c: Removed the note about internal use only. * gpg-agent.c (main): New option --daemon so that the program is not accidently started in the background. --- agent/genkey.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'agent/genkey.c') diff --git a/agent/genkey.c b/agent/genkey.c index 630e0e30d..dccac94da 100644 --- a/agent/genkey.c +++ b/agent/genkey.c @@ -27,7 +27,7 @@ #include #include "agent.h" - +#include "i18n.h" static int store_key (GCRY_SEXP private, const char *passphrase) @@ -79,7 +79,7 @@ reenter_compare_cb (struct pin_entry_info_s *pi) if (!strcmp (pin1, pi->pin)) return 0; /* okay */ - pi->cb_errtext = trans ("does not match - try again"); + pi->cb_errtext = _("does not match - try again"); return -1; } @@ -106,9 +106,9 @@ agent_genkey (CTRL ctrl, const char *keyparam, size_t keyparamlen, /* Get the passphrase now, cause key generation may take a while. */ { - const char *text1 = trans ("Please enter the passphrase to%0A" + const char *text1 = _("Please enter the passphrase to%0A" "to protect your new key"); - const char *text2 = trans ("Please re-enter this passphrase"); + const char *text2 = _("Please re-enter this passphrase"); pi = gcry_calloc_secure (2, sizeof (*pi) + 100); pi2 = pi + (sizeof *pi + 100); -- cgit v1.2.3