diff libpurple/protocols/jabber/message.c @ 25479:f35329c1094e

propagate from branch 'im.pidgin.pidgin' (head e1c76e1a6e09e3fb3697606e2d8f6b6327e7a7e9) to branch 'im.pidgin.pidgin.yaz' (head 63c9f47f9f122de5fb99e7b6b01916beb07cefeb)
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Sat, 05 May 2007 08:00:03 +0000
parents 096330f964b6 7c28e457563f
children 50a9c82d32a1
line wrap: on
line diff
--- a/libpurple/protocols/jabber/message.c	Thu May 03 10:14:49 2007 +0000
+++ b/libpurple/protocols/jabber/message.c	Sat May 05 08:00:03 2007 +0000
@@ -86,7 +86,6 @@
 			PurpleConversation *conv = purple_find_conversation_with_account(PURPLE_CONV_TYPE_IM,
 					from, jm->js->gc->account);
 			if (conv && jid->node && jid->domain) {
-#if 0  /* String freeze... make sure to mark the message for translation */
 				char buf[256];
 				PurpleBuddy *buddy;
 
@@ -100,7 +99,7 @@
 					escaped = g_markup_escape_text(who, -1);
 
 					g_snprintf(buf, sizeof(buf),
-					           "%s has left the conversation.", escaped);
+					           _("%s has left the conversation."), escaped);
 
 					/* At some point when we restructure PurpleConversation,
 					 * this should be able to be implemented by removing the
@@ -108,7 +107,6 @@
 					purple_conversation_write(conv, "", buf,
 					                        PURPLE_MESSAGE_SYSTEM, time(NULL));
 				}
-#endif
 			}
 			serv_got_typing_stopped(jm->js->gc, from);