Mercurial > pidgin
comparison libpurple/protocols/oscar/oscar.c @ 23062:b5479b576af3
disapproval of revision '10564049c98925d0ce0ece64a5af0fe1efd723e7'
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Tue, 01 Jul 2008 21:49:46 +0000 |
parents | 1008901e1d5c |
children |
comparison
equal
deleted
inserted
replaced
23061:1008901e1d5c | 23062:b5479b576af3 |
---|---|
1409 /* screen name connecting too frequently */ | 1409 /* screen name connecting too frequently */ |
1410 purple_connection_error_reason(gc, PURPLE_CONNECTION_ERROR_OTHER_ERROR, _("You have been connecting and disconnecting too frequently. Wait ten minutes and try again. If you continue to try, you will need to wait even longer.")); | 1410 purple_connection_error_reason(gc, PURPLE_CONNECTION_ERROR_OTHER_ERROR, _("You have been connecting and disconnecting too frequently. Wait ten minutes and try again. If you continue to try, you will need to wait even longer.")); |
1411 break; | 1411 break; |
1412 case 0x1c: | 1412 case 0x1c: |
1413 /* client too old */ | 1413 /* client too old */ |
1414 g_snprintf(buf, sizeof(buf), _("The client version you are using is too old. Please upgrade at %s"), CLIENT_WEBSITE); | 1414 g_snprintf(buf, sizeof(buf), _("The client version you are using is too old. Please upgrade at %s"), PURPLE_WEBSITE); |
1415 purple_connection_error_reason(gc, PURPLE_CONNECTION_ERROR_OTHER_ERROR, buf); | 1415 purple_connection_error_reason(gc, PURPLE_CONNECTION_ERROR_OTHER_ERROR, buf); |
1416 break; | 1416 break; |
1417 case 0x1d: | 1417 case 0x1d: |
1418 /* IP address connecting too frequently */ | 1418 /* IP address connecting too frequently */ |
1419 purple_connection_error_reason(gc, PURPLE_CONNECTION_ERROR_OTHER_ERROR, _("You have been connecting and disconnecting too frequently. Wait ten minutes and try again. If you continue to try, you will need to wait even longer.")); | 1419 purple_connection_error_reason(gc, PURPLE_CONNECTION_ERROR_OTHER_ERROR, _("You have been connecting and disconnecting too frequently. Wait ten minutes and try again. If you continue to try, you will need to wait even longer.")); |
1530 in = '\0'; | 1530 in = '\0'; |
1531 } | 1531 } |
1532 if (in != '\n') { | 1532 if (in != '\n') { |
1533 char buf[256]; | 1533 char buf[256]; |
1534 g_snprintf(buf, sizeof(buf), _("You may be disconnected shortly. You may want to use TOC until " | 1534 g_snprintf(buf, sizeof(buf), _("You may be disconnected shortly. You may want to use TOC until " |
1535 "this is fixed. Check %s for updates."), CLIENT_WEBSITE); | 1535 "this is fixed. Check %s for updates."), PURPLE_WEBSITE); |
1536 purple_notify_warning(pos->gc, NULL, | 1536 purple_notify_warning(pos->gc, NULL, |
1537 _("Unable to get a valid AIM login hash."), | 1537 _("Unable to get a valid AIM login hash."), |
1538 buf); | 1538 buf); |
1539 purple_input_remove(pos->inpa); | 1539 purple_input_remove(pos->inpa); |
1540 close(pos->fd); | 1540 close(pos->fd); |
1574 | 1574 |
1575 pos->fd = source; | 1575 pos->fd = source; |
1576 | 1576 |
1577 if (source < 0) { | 1577 if (source < 0) { |
1578 buf = g_strdup_printf(_("You may be disconnected shortly. " | 1578 buf = g_strdup_printf(_("You may be disconnected shortly. " |
1579 "Check %s for updates."), CLIENT_WEBSITE); | 1579 "Check %s for updates."), PURPLE_WEBSITE); |
1580 purple_notify_warning(pos->gc, NULL, | 1580 purple_notify_warning(pos->gc, NULL, |
1581 _("Unable to get a valid AIM login hash."), | 1581 _("Unable to get a valid AIM login hash."), |
1582 buf); | 1582 buf); |
1583 g_free(buf); | 1583 g_free(buf); |
1584 g_free(pos->modname); | 1584 g_free(pos->modname); |
1673 { | 1673 { |
1674 char buf[256]; | 1674 char buf[256]; |
1675 g_free(pos->modname); | 1675 g_free(pos->modname); |
1676 g_free(pos); | 1676 g_free(pos); |
1677 g_snprintf(buf, sizeof(buf), _("You may be disconnected shortly. " | 1677 g_snprintf(buf, sizeof(buf), _("You may be disconnected shortly. " |
1678 "Check %s for updates."), CLIENT_WEBSITE); | 1678 "Check %s for updates."), PURPLE_WEBSITE); |
1679 purple_notify_warning(pos->gc, NULL, | 1679 purple_notify_warning(pos->gc, NULL, |
1680 _("Unable to get a valid login hash."), | 1680 _("Unable to get a valid login hash."), |
1681 buf); | 1681 buf); |
1682 } | 1682 } |
1683 | 1683 |