Mercurial > pidgin.yaz
comparison libpurple/protocols/mxit/roster.c @ 29038:cc391f752b05
These status strings are accessed from mxit_convert_presence_to_name() for the
Buddy List tooltip, so they cannot be NULL.
author | andrew.victor@mxit.com |
---|---|
date | Tue, 24 Nov 2009 15:12:42 +0000 |
parents | 5f80ab7ac183 |
children | bbc3eac0ee95 |
comparison
equal
deleted
inserted
replaced
29037:f261b4978ae4 | 29038:cc391f752b05 |
---|---|
51 int mxit; | 51 int mxit; |
52 const char* id; | 52 const char* id; |
53 const char* name; | 53 const char* name; |
54 } const mxit_statuses[] = { | 54 } const mxit_statuses[] = { |
55 /* primative, no, id, name */ | 55 /* primative, no, id, name */ |
56 { PURPLE_STATUS_OFFLINE, MXIT_PRESENCE_OFFLINE, "offline", NULL }, /* 0 */ | 56 { PURPLE_STATUS_OFFLINE, MXIT_PRESENCE_OFFLINE, "offline", N_( "Offline" ) }, /* 0 */ |
57 { PURPLE_STATUS_AVAILABLE, MXIT_PRESENCE_ONLINE, "online", NULL }, /* 1 */ | 57 { PURPLE_STATUS_AVAILABLE, MXIT_PRESENCE_ONLINE, "online", N_( "Available" ) }, /* 1 */ |
58 { PURPLE_STATUS_AWAY, MXIT_PRESENCE_AWAY, "away", NULL }, /* 2 */ | 58 { PURPLE_STATUS_AWAY, MXIT_PRESENCE_AWAY, "away", N_( "Away" ) }, /* 2 */ |
59 { PURPLE_STATUS_AVAILABLE, MXIT_PRESENCE_AVAILABLE, "chat", N_( "Chatty" ) }, /* 3 */ | 59 { PURPLE_STATUS_AVAILABLE, MXIT_PRESENCE_AVAILABLE, "chat", N_( "Chatty" ) }, /* 3 */ |
60 { PURPLE_STATUS_UNAVAILABLE, MXIT_PRESENCE_DND, "dnd", NULL } /* 4 */ | 60 { PURPLE_STATUS_UNAVAILABLE, MXIT_PRESENCE_DND, "dnd", N_( "Do Not Disturb" ) } /* 4 */ |
61 }; | 61 }; |
62 | 62 |
63 | 63 |
64 /*------------------------------------------------------------------------ | 64 /*------------------------------------------------------------------------ |
65 * Return list of supported statuses. (see status.h) | 65 * Return list of supported statuses. (see status.h) |