Use a better error post-string freeze for the IDNA-conversion failure. cpw.darkrain42.2.6.1

Sat, 18 Jul 2009 07:39:24 +0000

author
Paul Aurich <darkrain42@pidgin.im>
date
Sat, 18 Jul 2009 07:39:24 +0000
branch
cpw.darkrain42.2.6.1
changeset 27862
92bf0d7f1c7d
parent 27861
fef4b1dccfc8
child 27868
7c87029e533f

Use a better error post-string freeze for the IDNA-conversion failure.

libpurple/protocols/jabber/jabber.c file | annotate | diff | comparison | revisions
--- a/libpurple/protocols/jabber/jabber.c	Sat Jul 18 07:26:04 2009 +0000
+++ b/libpurple/protocols/jabber/jabber.c	Sat Jul 18 07:39:24 2009 +0000
@@ -882,10 +882,9 @@
 
 	ascii_domain = jabber_try_idna_to_ascii(js->certificate_CN);
 	if (ascii_domain == NULL) {
-		/* TODO: Change this for 2.6.1 */
 		purple_connection_error_reason(gc,
 				PURPLE_CONNECTION_ERROR_INVALID_SETTINGS,
-				_("Invalid XMPP ID"));
+				_("Invalid XMPP ID. Domain is not properly internationalized."));
 		return;
 	}
 

mercurial