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
This commit is contained in:
Jason Leach
2001-01-16 14:57:18 +00:00
committed by Jacob Leach
parent 06393e239d
commit 667ee75427
2 changed files with 13 additions and 4 deletions

View File

@ -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.

View File

@ -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);