From 667ee754276e46e213aa8a15ae983c193fada4fc Mon Sep 17 00:00:00 2001 From: Jason Leach Date: Tue, 16 Jan 2001 14:57:18 +0000 Subject: Fix a string causing translation problems. Bug #1147. 2001-01-16 Jason Leach * openpgp-utils.c (pgp_get_passphrase): Fix a string causing translation problems. Bug #1147. svn path=/trunk/; revision=7534 --- mail/openpgp-utils.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'mail/openpgp-utils.c') diff --git a/mail/openpgp-utils.c b/mail/openpgp-utils.c index 1240a68188..58585fceef 100644 --- a/mail/openpgp-utils.c +++ b/mail/openpgp-utils.c @@ -73,10 +73,14 @@ pgp_get_passphrase (const gchar *userid) default: type = ""; } - prompt = g_strdup_printf (_("Please enter your %s passphrase%s%s"), - type, userid ? _(" for ") : "", - userid ? userid : ""); - + + if (userid) + prompt = g_strdup_printf (_("Please entry your %s passphrase for %s"), + type, userid); + else + prompt = g_strdup_printf (_("Please entry your %s passphrase"), + type); + passphrase = pgp_passwd_func (prompt, pgp_data); g_free (prompt); -- cgit v1.2.3