diff options
author | Jason Leach <jasonleach@usa.net> | 2001-01-16 22:57:18 +0800 |
---|---|---|
committer | Jacob Leach <jleach@src.gnome.org> | 2001-01-16 22:57:18 +0800 |
commit | 667ee754276e46e213aa8a15ae983c193fada4fc (patch) | |
tree | 91e33dd63965181a8262a62c6f4a17fe2e601964 | |
parent | 06393e239db4da556f2455ef9729bd38f614c280 (diff) | |
download | gsoc2013-evolution-667ee754276e46e213aa8a15ae983c193fada4fc.tar gsoc2013-evolution-667ee754276e46e213aa8a15ae983c193fada4fc.tar.gz gsoc2013-evolution-667ee754276e46e213aa8a15ae983c193fada4fc.tar.bz2 gsoc2013-evolution-667ee754276e46e213aa8a15ae983c193fada4fc.tar.lz gsoc2013-evolution-667ee754276e46e213aa8a15ae983c193fada4fc.tar.xz gsoc2013-evolution-667ee754276e46e213aa8a15ae983c193fada4fc.tar.zst gsoc2013-evolution-667ee754276e46e213aa8a15ae983c193fada4fc.zip |
Fix a string causing translation problems. Bug #1147.
2001-01-16 Jason Leach <jasonleach@usa.net>
* openpgp-utils.c (pgp_get_passphrase): Fix a string causing
translation problems. Bug #1147.
svn path=/trunk/; revision=7534
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/openpgp-utils.c | 12 |
2 files changed, 13 insertions, 4 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 4ea2c51312..792e4ab766 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2001-01-16 Jason Leach <jasonleach@usa.net> + + * openpgp-utils.c (pgp_get_passphrase): Fix a string causing + translation problems. Bug #1147. + 2001-01-16 Not Zed <NotZed@Ximian.com> * mail-ops.c (mail_do_fetch_mail): Setup a cancellation handle. 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); |