pidgin: 7638b863: Change the wording in a connection error...

markdoliner at pidgin.im markdoliner at pidgin.im
Mon Jul 6 05:15:52 EDT 2009


-----------------------------------------------------------------
Revision: 7638b8637ef30331f6be5c43869c434835a2da7d
Ancestor: ac87c285c7056f86005dc157b9870745de471f74
Author: markdoliner at pidgin.im
Date: 2009-07-06T05:18:34
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/7638b8637ef30331f6be5c43869c434835a2da7d

Modified files:
        libpurple/protocols/bonjour/bonjour.c

ChangeLog: 

Change the wording in a connection error message.  I'm trying to make
these a bit more uniform, and I think this is easier to read.  And remove
a newline from the end of another connection error message.

-------------- next part --------------
============================================================
--- libpurple/protocols/bonjour/bonjour.c	7b37abc7740495cf71dbaece6d8a81861bb1e7a8
+++ libpurple/protocols/bonjour/bonjour.c	24ba754cb01e26e4a0bcd0cbc9d4407c4b0b6b77
@@ -89,13 +89,12 @@ bonjour_login(PurpleAccount *account)
 #ifdef _WIN32
 	if (!dns_sd_available()) {
 		purple_connection_error_reason(gc,
-			PURPLE_CONNECTION_ERROR_OTHER_ERROR,
-			_("The Apple Bonjour For Windows toolkit wasn't found, see the FAQ at: "
-			  "http://d.pidgin.im/BonjourWindows"
-			  " for more information."));
+				PURPLE_CONNECTION_ERROR_OTHER_ERROR,
+				_("Unable to find Apple's \"Bonjour for Windows\" toolkit, see "
+				  "http://d.pidgin.im/BonjourWindows for more information."));
 		return;
 	}
-#endif
+#endif /* _WIN32 */
 
 	gc->flags |= PURPLE_CONNECTION_HTML;
 	gc->proto_data = bd = g_new0(BonjourData, 1);
@@ -108,8 +107,8 @@ bonjour_login(PurpleAccount *account)
 	if (bonjour_jabber_start(bd->jabber_data) == -1) {
 		/* Send a message about the connection error */
 		purple_connection_error_reason (gc,
-			PURPLE_CONNECTION_ERROR_NETWORK_ERROR,
-			_("Unable to listen for incoming IM connections\n"));
+				PURPLE_CONNECTION_ERROR_NETWORK_ERROR,
+				_("Unable to listen for incoming IM connections"));
 		return;
 	}
 


More information about the Commits mailing list