pidgin: fe3c89e0: Mark some strings for translation.
sadrul at pidgin.im
sadrul at pidgin.im
Tue Nov 17 11:11:19 EST 2009
-----------------------------------------------------------------
Revision: fe3c89e0ec515fd5c6be43d41f514475df2a698a
Ancestor: 40c5d141f5bf37190d5247c85b173871eec48001
Author: sadrul at pidgin.im
Date: 2009-11-17T16:11:59
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/fe3c89e0ec515fd5c6be43d41f514475df2a698a
Modified files:
libpurple/protocols/mxit/actions.c
libpurple/protocols/mxit/mxit.c
libpurple/protocols/mxit/mxit.h
ChangeLog:
Mark some strings for translation.
-------------- next part --------------
============================================================
--- libpurple/protocols/mxit/actions.c 0e8e9af1e6ddf8364e46c0f33994afd98328acb5
+++ libpurple/protocols/mxit/actions.c 7e9b6b4bb972d5e8448270e14362d1b5e906adf9
@@ -41,17 +41,17 @@ static const char* moods[] = {
/* MXit Moods */
static const char* moods[] = {
- /* 0 */ "None",
- /* 1 */ "Angry",
- /* 2 */ "Excited",
- /* 3 */ "Grumpy",
- /* 4 */ "Happy",
- /* 5 */ "In Love",
- /* 6 */ "Invincible",
- /* 7 */ "Sad",
- /* 8 */ "Hot",
- /* 9 */ "Sick",
- /* 10 */ "Sleepy"
+ /* 0 */ N_("None"),
+ /* 1 */ N_("Angry"),
+ /* 2 */ N_("Excited"),
+ /* 3 */ N_("Grumpy"),
+ /* 4 */ N_("Happy"),
+ /* 5 */ N_("In Love"),
+ /* 6 */ N_("Invincible"),
+ /* 7 */ N_("Sad"),
+ /* 8 */ N_("Hot"),
+ /* 9 */ N_("Sick"),
+ /* 10 */ N_("Sleepy")
};
============================================================
--- libpurple/protocols/mxit/mxit.c f95f34cedbd88685afa0293a8d6babd07d84838b
+++ libpurple/protocols/mxit/mxit.c 6570c0a6c1d176764ea35b1a750145910eeac6cf
@@ -541,7 +541,7 @@ static GHashTable* mxit_get_text_table(
table = g_hash_table_new( g_str_hash, g_str_equal );
- g_hash_table_insert( table, "login_label", _( "Your Mobile Number..." ) );
+ g_hash_table_insert( table, "login_label", (gpointer)_( "Your Mobile Number..." ) );
return table;
}
============================================================
--- libpurple/protocols/mxit/mxit.h e315a943376a394ab749e35d49ac911bc49c2049
+++ libpurple/protocols/mxit/mxit.h 8bbb03fd00b0bd3bd213a82402594e48ab78d4cf
@@ -27,14 +27,7 @@
#define _MXIT_H_
-/* internationalize feedback strings */
-#ifndef _
-#ifdef GETTEXT_PACKAGE
-#include <glib/gi18n-lib.h>
-#else
-#define _( x ) ( x )
-#endif
-#endif
+#include "internal.h"
#if defined( __APPLE__ )
More information about the Commits
mailing list