diff libpurple/protocols/mxit/formcmds.c @ 28614:5f80ab7ac183

Mark a bunch of mxit strings for translation
author Mark Doliner <mark@kingant.net>
date Sun, 22 Nov 2009 19:21:20 +0000
parents 69aa4660401a
children cc391f752b05
line wrap: on
line diff
--- a/libpurple/protocols/mxit/formcmds.c	Sun Nov 22 18:56:06 2009 +0000
+++ b/libpurple/protocols/mxit/formcmds.c	Sun Nov 22 19:21:20 2009 +0000
@@ -216,7 +216,7 @@
 
     conv = purple_find_conversation_with_account(PURPLE_CONV_TYPE_IM, from, session->acc);
     if (conv == NULL) {
-        purple_debug_error(MXIT_PLUGIN_ID, "Conversation with '%s' not found\n", from);
+        purple_debug_error(MXIT_PLUGIN_ID, _( "Conversation with '%s' not found\n" ), from);
         return;
     }
 
@@ -268,7 +268,7 @@
 
 	dest = g_hash_table_lookup(hash, "dest");				/* find the destination */
 	if (dest) {
-		g_string_append_printf(msg, "<a href=\"%s\">%s</a>", purple_url_decode(dest), (text) ? text : "Download");		/* add link to display message */
+		g_string_append_printf(msg, "<a href=\"%s\">%s</a>", purple_url_decode(dest), (text) ? text : _( "Download" ));		/* add link to display message */
 	}
 
 	if (text)
@@ -333,7 +333,7 @@
 	reply = g_hash_table_lookup(hash, "replymsg");
 	if (reply) {
 		g_string_append_printf(msg, "\n");
-		mxit_add_html_link(mx, reply, "click here");
+		mxit_add_html_link(mx, reply, _( "click here" ));
 	}
 }