aboutsummaryrefslogtreecommitdiffstats
path: root/mail/openpgp-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/openpgp-utils.c')
-rw-r--r--mail/openpgp-utils.c12
1 files changed, 8 insertions, 4 deletions
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);