diff options
author | Sivaiah Nallagatla <snallagatla@novell.com> | 2005-01-28 17:15:49 +0800 |
---|---|---|
committer | Sivaiah Nallagatla <siva@src.gnome.org> | 2005-01-28 17:15:49 +0800 |
commit | d8d4d75931e895d23884e94bc2b06efe571b0d39 (patch) | |
tree | 712dd3c4242fac745238b7ddc23cdbb770bef106 /addressbook | |
parent | d9185870b63614c58256b1ba6dac92b517e6008a (diff) | |
download | gsoc2013-evolution-d8d4d75931e895d23884e94bc2b06efe571b0d39.tar gsoc2013-evolution-d8d4d75931e895d23884e94bc2b06efe571b0d39.tar.gz gsoc2013-evolution-d8d4d75931e895d23884e94bc2b06efe571b0d39.tar.bz2 gsoc2013-evolution-d8d4d75931e895d23884e94bc2b06efe571b0d39.tar.lz gsoc2013-evolution-d8d4d75931e895d23884e94bc2b06efe571b0d39.tar.xz gsoc2013-evolution-d8d4d75931e895d23884e94bc2b06efe571b0d39.tar.zst gsoc2013-evolution-d8d4d75931e895d23884e94bc2b06efe571b0d39.zip |
Remove leading "%s" from the transalatable string Fixes #36137
2005-01-26 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/component/addressbook.c (addressbook_authenticate) :
Remove leading "%s" from the transalatable string
Fixes #36137
svn path=/trunk/; revision=28595
Diffstat (limited to 'addressbook')
-rw-r--r-- | addressbook/gui/component/addressbook.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/addressbook/gui/component/addressbook.c b/addressbook/gui/component/addressbook.c index dbeccd75fc..c2ab48e55b 100644 --- a/addressbook/gui/component/addressbook.c +++ b/addressbook/gui/component/addressbook.c @@ -177,6 +177,7 @@ addressbook_authenticate (EBook *book, gboolean previous_failure, ESource *sourc if (!password) { char *prompt; + char *password_prompt; gboolean remember; char *failed_auth; guint32 flags = E_PASSWORDS_REMEMBER_FOREVER|E_PASSWORDS_SECRET|E_PASSWORDS_ONLINE; @@ -189,8 +190,11 @@ addressbook_authenticate (EBook *book, gboolean previous_failure, ESource *sourc failed_auth = ""; } - prompt = g_strdup_printf (_("%sEnter password for %s (user %s)"), - failed_auth, e_source_peek_name (source), user); + password_prompt = g_strdup_printf (_("Enter password for %s (user %s)"), + e_source_peek_name (source), user); + + prompt = g_strconcat (failed_auth, password_prompt, NULL); + g_free (password_prompt); remember = get_remember_password (source); pass_dup = e_passwords_ask_password (prompt, component_name, uri, prompt, |