Mercurial > pidgin
diff src/protocols/yahoo/yahoo.c @ 4596:7e1591c6d0d8
[gaim-migrate @ 4881]
Bjoern Voigt writes:
"The patch
---------
Some small i18n fixes
- some new files in po/POTFILES.in (I hope, there are now all files,
with gettext-strings)
- a translation for the "boring default" away message (not hardcoded
any more)
- translations for the Menu Bar during conversations
After looking in gconf-editor, I saw, that the static items should
be marked with N_(...) = gettext_noop. The strings can now be
translated, but unfortunately I still can see them.
- Yahoo away messages translation
German translation
------------------
2 strings are untranslated:
#: src/gaim-disclosure.c:253
msgid "Expander Size"
msgstr ""
#: src/gaim-disclosure.c:254
msgid "Size of the expander arrow"
msgstr ""
File transfer doen't work on my box and so I cannot test the function."
committer: Tailor Script <tailor@pidgin.im>
| author | Luke Schierer <lschiere@pidgin.im> |
|---|---|
| date | Fri, 21 Feb 2003 04:33:56 +0000 |
| parents | 3196d9044a45 |
| children | 864518c3767d |
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c Thu Feb 20 21:54:05 2003 +0000 +++ b/src/protocols/yahoo/yahoo.c Fri Feb 21 04:33:56 2003 +0000 @@ -1024,27 +1024,27 @@ { switch (a) { case YAHOO_STATUS_BRB: - return "Be Right Back"; + return _("Be Right Back"); case YAHOO_STATUS_BUSY: - return "Busy"; + return _("Busy"); case YAHOO_STATUS_NOTATHOME: - return "Not At Home"; + return _("Not At Home"); case YAHOO_STATUS_NOTATDESK: - return "Not At Desk"; + return _("Not At Desk"); case YAHOO_STATUS_NOTINOFFICE: - return "Not In Office"; + return _("Not In Office"); case YAHOO_STATUS_ONPHONE: - return "On Phone"; + return _("On Phone"); case YAHOO_STATUS_ONVACATION: - return "On Vacation"; + return _("On Vacation"); case YAHOO_STATUS_OUTTOLUNCH: - return "Out To Lunch"; + return _("Out To Lunch"); case YAHOO_STATUS_STEPPEDOUT: - return "Stepped Out"; + return _("Stepped Out"); case YAHOO_STATUS_INVISIBLE: - return "Invisible"; + return _("Invisible"); default: - return "Online"; + return _("Online"); } } @@ -1198,29 +1198,29 @@ gc->away = g_strdup(msg); } else if (state) { gc->away = g_strdup(""); - if (!strcmp(state, "Available")) { + if (!strcmp(state, _("Available"))) { yd->current_status = YAHOO_STATUS_AVAILABLE; g_free(gc->away); gc->away = NULL; - } else if (!strcmp(state, "Be Right Back")) { + } else if (!strcmp(state, _("Be Right Back"))) { yd->current_status = YAHOO_STATUS_BRB; - } else if (!strcmp(state, "Busy")) { + } else if (!strcmp(state, _("Busy"))) { yd->current_status = YAHOO_STATUS_BUSY; - } else if (!strcmp(state, "Not At Home")) { + } else if (!strcmp(state, _("Not At Home"))) { yd->current_status = YAHOO_STATUS_NOTATHOME; - } else if (!strcmp(state, "Not At Desk")) { + } else if (!strcmp(state, _("Not At Desk"))) { yd->current_status = YAHOO_STATUS_NOTATDESK; - } else if (!strcmp(state, "Not In Office")) { + } else if (!strcmp(state, _("Not In Office"))) { yd->current_status = YAHOO_STATUS_NOTINOFFICE; - } else if (!strcmp(state, "On Phone")) { + } else if (!strcmp(state, _("On Phone"))) { yd->current_status = YAHOO_STATUS_ONPHONE; - } else if (!strcmp(state, "On Vacation")) { + } else if (!strcmp(state, _("On Vacation"))) { yd->current_status = YAHOO_STATUS_ONVACATION; - } else if (!strcmp(state, "Out To Lunch")) { + } else if (!strcmp(state, _("Out To Lunch"))) { yd->current_status = YAHOO_STATUS_OUTTOLUNCH; - } else if (!strcmp(state, "Stepped Out")) { + } else if (!strcmp(state, _("Stepped Out"))) { yd->current_status = YAHOO_STATUS_STEPPEDOUT; - } else if (!strcmp(state, "Invisible")) { + } else if (!strcmp(state, _("Invisible"))) { yd->current_status = YAHOO_STATUS_INVISIBLE; } else if (!strcmp(state, GAIM_AWAY_CUSTOM)) { if (gc->is_idle) { @@ -1277,17 +1277,17 @@ { GList *m = NULL; - m = g_list_append(m, "Available"); - m = g_list_append(m, "Be Right Back"); - m = g_list_append(m, "Busy"); - m = g_list_append(m, "Not At Home"); - m = g_list_append(m, "Not At Desk"); - m = g_list_append(m, "Not In Office"); - m = g_list_append(m, "On Phone"); - m = g_list_append(m, "On Vacation"); - m = g_list_append(m, "Out To Lunch"); - m = g_list_append(m, "Stepped Out"); - m = g_list_append(m, "Invisible"); + m = g_list_append(m, _("Available")); + m = g_list_append(m, _("Be Right Back")); + m = g_list_append(m, _("Busy")); + m = g_list_append(m, _("Not At Home")); + m = g_list_append(m, _("Not At Desk")); + m = g_list_append(m, _("Not In Office")); + m = g_list_append(m, _("On Phone")); + m = g_list_append(m, _("On Vacation")); + m = g_list_append(m, _("Out To Lunch")); + m = g_list_append(m, _("Stepped Out")); + m = g_list_append(m, _("Invisible")); m = g_list_append(m, GAIM_AWAY_CUSTOM); return m;
