/pidgin/main: ad9fe0ad7f39: The "Topic set" message should be tr...

Daniel Atallah datallah at pidgin.im
Sun Feb 10 10:47:05 EST 2013


Changeset: ad9fe0ad7f392a336e9add08a65d9ecfc51f44f4
Author:	 Daniel Atallah <datallah at pidgin.im>
Date:	 2013-02-10 15:44 +0000
Branch:	 release-2.x.y
URL: http://hg.pidgin.im/pidgin/main/rev/ad9fe0ad7f39

Description:

The "Topic set" message should be translateable. Refs #13317

diffstat:

 libpurple/protocols/irc/msgs.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/libpurple/protocols/irc/msgs.c b/libpurple/protocols/irc/msgs.c
--- a/libpurple/protocols/irc/msgs.c
+++ b/libpurple/protocols/irc/msgs.c
@@ -671,7 +671,7 @@ void irc_msg_topicinfo(struct irc_conn *
 
 	timestamp = g_strdup(purple_time_format(tm));
 	datestamp = g_strdup(purple_date_format_short(tm));
-	msg = g_strdup_printf("Topic for %s set by %s at %s on %s", args[1], args[2], timestamp, datestamp);
+	msg = g_strdup_printf(_("Topic for %s set by %s at %s on %s"), args[1], args[2], timestamp, datestamp);
 	purple_conv_chat_write(PURPLE_CONV_CHAT(convo), "", msg, PURPLE_MESSAGE_SYSTEM | PURPLE_MESSAGE_NO_LINKIFY, time(NULL));
 	g_free(timestamp);
 	g_free(datestamp);



More information about the Commits mailing list