comparison libpurple/protocols/mxit/markup.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
comparison
equal deleted inserted replaced
28611:8a90bd0a3b79 28614:5f80ab7ac183
64 64
65 #define MXIT_VIBE_MSG_COLOR "#9933FF" 65 #define MXIT_VIBE_MSG_COLOR "#9933FF"
66 66
67 /* vibes */ 67 /* vibes */
68 static const char* vibes[] = { 68 static const char* vibes[] = {
69 /* 0 */ "Cool Vibrations", 69 /* 0 */ N_( "Cool Vibrations" ),
70 /* 1 */ "Purple Rain", 70 /* 1 */ N_( "Purple Rain" ),
71 /* 2 */ "Polite", 71 /* 2 */ N_( "Polite" ),
72 /* 3 */ "Rock n Roll", 72 /* 3 */ N_( "Rock n Roll" ),
73 /* 4 */ "Summer Slumber", 73 /* 4 */ N_( "Summer Slumber" ),
74 /* 5 */ "Electric Razor", 74 /* 5 */ N_( "Electric Razor" ),
75 /* 6 */ "S.O.S", 75 /* 6 */ N_( "S.O.S" ),
76 /* 7 */ "Jack Hammer", 76 /* 7 */ N_( "Jack Hammer" ),
77 /* 8 */ "Bumble Bee", 77 /* 8 */ N_( "Bumble Bee" ),
78 /* 9 */ "Ripple" 78 /* 9 */ N_( "Ripple" )
79 }; 79 };
80 80
81 81
82 82
83 #ifdef MXIT_DEBUG_EMO 83 #ifdef MXIT_DEBUG_EMO
651 purple_debug_warning( MXIT_PLUGIN_ID, "Unsupported vibe received (%i)\n", vibeid ); 651 purple_debug_warning( MXIT_PLUGIN_ID, "Unsupported vibe received (%i)\n", vibeid );
652 /* unsupported vibe */ 652 /* unsupported vibe */
653 return 0; 653 return 0;
654 } 654 }
655 655
656 g_string_append_printf( mx->msg, "<font color=\"%s\"><i>%s Vibe...</i></font>", MXIT_VIBE_MSG_COLOR, vibes[vibeid] ); 656 g_string_append_printf( mx->msg, "<font color=\"%s\"><i>%s Vibe...</i></font>", MXIT_VIBE_MSG_COLOR, _( vibes[vibeid] ) );
657 return 2; 657 return 2;
658 } 658 }
659 659
660 660
661 /*------------------------------------------------------------------------ 661 /*------------------------------------------------------------------------