--- a/libpurple/protocols/mxit/mxit.c Sun Nov 22 18:56:06 2009 +0000 +++ b/libpurple/protocols/mxit/mxit.c Sun Nov 22 19:21:20 2009 +0000 @@ -63,7 +63,7 @@ PurpleConnection* con; gchar** parts = NULL; gchar* link = NULL; - unsigned int len; + gsize len; purple_debug_info( MXIT_PLUGIN_ID, "mxit_link_click (%s)\n", link64 ); @@ -170,6 +170,7 @@ struct contact* contact; PurpleBuddy* buddy; const char* who; + const char* tmp; gc = purple_conversation_get_gc( conv ); if ( session->con != gc ) { @@ -204,6 +205,8 @@ case MXIT_TYPE_CHATROOM : case MXIT_TYPE_GALLERY : case MXIT_TYPE_INFO : + /* TODO: Allow "Loading menu..." to be localized (but not the HTML markup) */ + tmp = _("Loading menu..."); serv_got_im( session->con, who, "<font color=\"#999999\">Loading menu...</font>\n", PURPLE_MESSAGE_NOTIFY, time( NULL ) ); mxit_send_message( session, who, " ", FALSE ); default : @@ -343,7 +346,7 @@ /* hidden number */ if ( contact->flags & MXIT_CFLAG_HIDDEN ) - purple_notify_user_info_add_pair( info, _( "Hidden Number" ), "Yes" ); + purple_notify_user_info_add_pair( info, _( "Hidden Number" ), _( "Yes" ) ); }