# HG changeset patch # User Evan Schoenberg # Date 1208303463 0 # Node ID fa7e07c74a5968cbcdd2fbfdd0ed1654448eb144 # Parent d632ea5dc9e50f0349ec213da84f6d76d7ba330f The warning string for plaintext auth over an unencrypted connection is found in two places, but one of them is more informative, including the account name, while the other just says 'this server'. Let's use the informative message in both cases. diff -r d632ea5dc9e5 -r fa7e07c74a59 libpurple/protocols/jabber/auth.c --- a/libpurple/protocols/jabber/auth.c Tue Apr 15 23:46:13 2008 +0000 +++ b/libpurple/protocols/jabber/auth.c Tue Apr 15 23:51:03 2008 +0000 @@ -717,13 +717,16 @@ } else if(xmlnode_get_child(query, "password")) { if(js->gsc == NULL && !purple_account_get_bool(js->gc->account, "auth_plain_in_clear", FALSE)) { + char *msg = g_strdup_printf(_("%s requires plaintext authentication over an unencrypted connection. Allow this and continue authentication?"), + js->gc->account->username); purple_request_yes_no(js->gc, _("Plaintext Authentication"), _("Plaintext Authentication"), - _("This server requires plaintext authentication over an unencrypted connection. Allow this and continue authentication?"), + msg, 1, purple_connection_get_account(js->gc), NULL, NULL, purple_connection_get_account(js->gc), allow_plaintext_auth, disallow_plaintext_auth); + g_free(msg); return; } finish_plaintext_authentication(js);