Mercurial > pidgin
comparison src/protocols/yahoo/yahoo.c @ 12206:d345299ff3bc
[gaim-migrate @ 14508]
Bleeter says this fixes the stuff that marv and nosnilmot objected to
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Thu, 24 Nov 2005 02:09:28 +0000 |
parents | 0aeda1869b32 |
children | 4d3119205a33 |
comparison
equal
deleted
inserted
replaced
12205:0e87d5e28888 | 12206:d345299ff3bc |
---|---|
2629 } | 2629 } |
2630 | 2630 |
2631 static char *yahoo_get_status_string(enum yahoo_status a) | 2631 static char *yahoo_get_status_string(enum yahoo_status a) |
2632 { | 2632 { |
2633 switch (a) { | 2633 switch (a) { |
2634 case YAHOO_STATUS_BRB: | |
2635 return _("Be Right Back"); | |
2634 case YAHOO_STATUS_BUSY: | 2636 case YAHOO_STATUS_BUSY: |
2635 return _("Busy"); | 2637 return _("Busy"); |
2638 case YAHOO_STATUS_NOTATHOME: | |
2639 return _("Not At Home"); | |
2640 case YAHOO_STATUS_NOTATDESK: | |
2641 return _("Not At Desk"); | |
2642 case YAHOO_STATUS_NOTINOFFICE: | |
2643 return _("Not In Office"); | |
2644 case YAHOO_STATUS_ONPHONE: | |
2645 return _("On The Phone"); | |
2646 case YAHOO_STATUS_ONVACATION: | |
2647 return _("On Vacation"); | |
2648 case YAHOO_STATUS_OUTTOLUNCH: | |
2649 return _("Out To Lunch"); | |
2636 case YAHOO_STATUS_STEPPEDOUT: | 2650 case YAHOO_STATUS_STEPPEDOUT: |
2637 return _("Stepped Out"); | 2651 return _("Stepped Out"); |
2638 case YAHOO_STATUS_BRB: | |
2639 return _("Be Right Back"); | |
2640 case YAHOO_STATUS_NOTATDESK: | |
2641 return _("Not At Desk"); | |
2642 case YAHOO_STATUS_ONPHONE: | |
2643 return _("On The Phone"); | |
2644 case YAHOO_STATUS_INVISIBLE: | 2652 case YAHOO_STATUS_INVISIBLE: |
2645 return _("Invisible"); | 2653 return _("Invisible"); |
2646 case YAHOO_STATUS_IDLE: | 2654 case YAHOO_STATUS_IDLE: |
2647 return _("Idle"); | 2655 return _("Idle"); |
2648 case YAHOO_STATUS_OFFLINE: | 2656 case YAHOO_STATUS_OFFLINE: |
3199 _("Away"), TRUE, TRUE, FALSE, | 3207 _("Away"), TRUE, TRUE, FALSE, |
3200 "message", _("Message"), | 3208 "message", _("Message"), |
3201 gaim_value_new(GAIM_TYPE_STRING), NULL); | 3209 gaim_value_new(GAIM_TYPE_STRING), NULL); |
3202 types = g_list_append(types, type); | 3210 types = g_list_append(types, type); |
3203 | 3211 |
3212 type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_BRB, _("Be Right Back"), TRUE); | |
3213 types = g_list_append(types, type); | |
3214 | |
3204 type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_BUSY, _("Busy"), TRUE); | 3215 type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_BUSY, _("Busy"), TRUE); |
3205 types = g_list_append(types, type); | 3216 types = g_list_append(types, type); |
3206 | 3217 |
3218 type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_NOTATHOME, _("Not At Home"), TRUE); | |
3219 types = g_list_append(types, type); | |
3220 | |
3221 type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_NOTATDESK, _("Not At Desk"), TRUE); | |
3222 types = g_list_append(types, type); | |
3223 | |
3224 type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_NOTINOFFICE, _("Not In Office"), TRUE); | |
3225 types = g_list_append(types, type); | |
3226 | |
3227 type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_ONPHONE, _("On The Phone"), TRUE); | |
3228 types = g_list_append(types, type); | |
3229 | |
3230 type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_ONVACATION, _("On Vacation"), TRUE); | |
3231 types = g_list_append(types, type); | |
3232 | |
3233 type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_OUTTOLUNCH, _("Out To Lunch"), TRUE); | |
3234 types = g_list_append(types, type); | |
3235 | |
3207 type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_STEPPEDOUT, _("Stepped Out"), TRUE); | 3236 type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_STEPPEDOUT, _("Stepped Out"), TRUE); |
3208 types = g_list_append(types, type); | 3237 types = g_list_append(types, type); |
3209 | 3238 |
3210 type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_BRB, _("Be Right Back"), TRUE); | |
3211 types = g_list_append(types, type); | |
3212 | |
3213 type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_NOTATDESK, _("Not At Desk"), TRUE); | |
3214 types = g_list_append(types, type); | |
3215 | |
3216 type = gaim_status_type_new(GAIM_STATUS_AWAY, YAHOO_STATUS_TYPE_ONPHONE, _("On The Phone"), TRUE); | |
3217 types = g_list_append(types, type); | |
3218 | 3239 |
3219 type = gaim_status_type_new(GAIM_STATUS_HIDDEN, YAHOO_STATUS_TYPE_INVISIBLE, _("Invisible"), TRUE); | 3240 type = gaim_status_type_new(GAIM_STATUS_HIDDEN, YAHOO_STATUS_TYPE_INVISIBLE, _("Invisible"), TRUE); |
3220 types = g_list_append(types, type); | 3241 types = g_list_append(types, type); |
3221 | 3242 |
3222 return types; | 3243 return types; |