pidgin: 96c69594: Mark some strings for translation.

sadrul at pidgin.im sadrul at pidgin.im
Fri Sep 18 22:46:49 EDT 2009


-----------------------------------------------------------------
Revision: 96c69594a0716d3048d038620091d975d5c0644d
Ancestor: 9fef7546f319ad799757b0fea57b1bef0fb29afc
Author: sadrul at pidgin.im
Date: 2009-09-18T19:50:00
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/96c69594a0716d3048d038620091d975d5c0644d

Modified files:
        libpurple/protocols/yahoo/libymsg.c

ChangeLog: 

Mark some strings for translation.

-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/libymsg.c	2c9c0b67e4867a7d16d236ae18e894eb6fac0f36
+++ libpurple/protocols/yahoo/libymsg.c	a17811067e52ff49f16b837c337c8d6836175db5
@@ -4156,7 +4156,7 @@ static void yahoo_get_sms_carrier_cb(Pur
 	PurpleConversation *conv = purple_find_conversation_with_account(PURPLE_CONV_TYPE_IM, sms_cb_data->who, account);
 
 	if (error_message != NULL) {
-		purple_conversation_write(conv, NULL, "Cant send SMS, Unable to obtain mobile carrier", PURPLE_MESSAGE_SYSTEM, time(NULL));
+		purple_conversation_write(conv, NULL, _("Can't send SMS. Unable to obtain mobile carrier."), PURPLE_MESSAGE_SYSTEM, time(NULL));
 
 		g_free(sms_cb_data->who);
 		g_free(sms_cb_data->what);
@@ -4183,7 +4183,7 @@ static void yahoo_get_sms_carrier_cb(Pur
 		}
 		else	{
 			g_hash_table_insert(yd->sms_carrier, g_strdup_printf("+%s", mobile_no), g_strdup("Unknown"));
-			purple_conversation_write(conv, NULL, "Cant send SMS, Unknown mobile carrier", PURPLE_MESSAGE_SYSTEM, time(NULL));
+			purple_conversation_write(conv, NULL, _("Can't send SMS. Unknown mobile carrier."), PURPLE_MESSAGE_SYSTEM, time(NULL));
 		}
 
 		xmlnode_free(validate_data_child);
@@ -4248,7 +4248,7 @@ static void yahoo_get_sms_carrier(Purple
 	if (!url_data) {
 		PurpleAccount *account = purple_connection_get_account(gc);
 		PurpleConversation *conv = purple_find_conversation_with_account(PURPLE_CONV_TYPE_IM, sms_cb_data->who, account);
-		purple_conversation_write(conv, NULL, "Cant send SMS, Unable to obtain mobile carrier", PURPLE_MESSAGE_SYSTEM, time(NULL));
+		purple_conversation_write(conv, NULL, _("Can't send SMS. Unable to obtain mobile carrier."), PURPLE_MESSAGE_SYSTEM, time(NULL));
 		g_free(sms_cb_data->who);
 		g_free(sms_cb_data->what);
 		g_free(sms_cb_data);
@@ -4303,7 +4303,7 @@ int yahoo_send_im(PurpleConnection *gc, 
 			sms_cb_data->who = g_strdup(who);
 			sms_cb_data->what = g_strdup(what);
 
-			purple_conversation_write(conv, NULL, "Getting mobile carrier to send the sms", PURPLE_MESSAGE_SYSTEM, time(NULL));
+			purple_conversation_write(conv, NULL, _("Getting mobile carrier to send the SMS."), PURPLE_MESSAGE_SYSTEM, time(NULL));
 
 			yahoo_get_sms_carrier(gc, sms_cb_data);
 
@@ -4312,7 +4312,7 @@ int yahoo_send_im(PurpleConnection *gc, 
 			return ret;
 		}
 		else if( strcmp(carrier,"Unknown") == 0 ) {
-			purple_conversation_write(conv, NULL, "Cant send SMS, Unknown mobile carrier", PURPLE_MESSAGE_SYSTEM, time(NULL));
+			purple_conversation_write(conv, NULL, _("Can't send SMS. Unknown mobile carrier."), PURPLE_MESSAGE_SYSTEM, time(NULL));
 
 			g_free(msg);
 			g_free(msg2);


More information about the Commits mailing list