pidgin: 3a9ac829: Don't include the space in the localized...

evands at pidgin.im evands at pidgin.im
Tue May 20 22:01:04 EDT 2008


-----------------------------------------------------------------
Revision: 3a9ac82965e1bb9e43e45fc91f62aab67d5d6b83
Ancestor: 3803a68d5cf2b7443bec7879a57425cbb6031fc0
Author: evands at pidgin.im
Date: 2008-05-21T01:58:04
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/3a9ac82965e1bb9e43e45fc91f62aab67d5d6b83

Modified files:
        libpurple/protocols/jabber/message.c

ChangeLog: 

Don't include the space in the localized text at all for the text/code error separation

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/message.c	3f012337d6822fc1dce052c84458f18e54ae49c6
+++ libpurple/protocols/jabber/message.c	99dd27ee62b1e5bbbf0024c30d478c20c7f9b531
@@ -411,10 +411,12 @@ void jabber_message_parse(JabberStream *
 			}
 
 			if(code)
-				code_txt = g_strdup_printf(_("%s(Code %s)"), (text ? " " : ""), code);
+				code_txt = g_strdup_printf(_("(Code %s)"), code);
 
 			if(!jm->error)
-				jm->error = g_strdup_printf("%s%s", text ? text : "",
+				jm->error = g_strdup_printf("%s%s%s",
+						text ? text : "",
+						text && code_text ? " " : "",
 						code_txt ? code_txt : "");
 
 			g_free(code_txt);


More information about the Commits mailing list