Mercurial > pidgin
changeset 28587:0fd6d016c474
Mark some strings for translation.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Tue, 17 Nov 2009 16:11:59 +0000 |
parents | 88759584d989 |
children | afbf1c6210d7 |
files | libpurple/protocols/mxit/actions.c libpurple/protocols/mxit/mxit.c libpurple/protocols/mxit/mxit.h |
diffstat | 3 files changed, 13 insertions(+), 20 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/mxit/actions.c Tue Nov 17 15:43:14 2009 +0000 +++ b/libpurple/protocols/mxit/actions.c Tue Nov 17 16:11:59 2009 +0000 @@ -41,17 +41,17 @@ /* 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") };
--- a/libpurple/protocols/mxit/mxit.c Tue Nov 17 15:43:14 2009 +0000 +++ b/libpurple/protocols/mxit/mxit.c Tue Nov 17 16:11:59 2009 +0000 @@ -541,7 +541,7 @@ 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; }
--- a/libpurple/protocols/mxit/mxit.h Tue Nov 17 15:43:14 2009 +0000 +++ b/libpurple/protocols/mxit/mxit.h Tue Nov 17 16:11:59 2009 +0000 @@ -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__ )