# HG changeset patch # User Evan Schoenberg # Date 1214947994 0 # Node ID 1008901e1d5cb3d9482457ebd60403adc481cf87 # Parent 0830ab50c4635a2855f22254d690359e141cd730 applied changes from e8233b3a32b1383e10d9591fee51f5ecb99a40ce through f15338f57c0920b685e5164d2f53e50a6d0f64b7 diff -r 0830ab50c463 -r 1008901e1d5c libpurple/internal.h --- a/libpurple/internal.h Sun Jun 29 14:25:09 2008 +0000 +++ b/libpurple/internal.h Tue Jul 01 21:33:14 2008 +0000 @@ -229,6 +229,9 @@ #define purple_strlcat(dest, src) g_strlcat(dest, src, sizeof(dest)) #define PURPLE_WEBSITE "http://pidgin.im/" +#ifndef CLIENT_WEBSITE + #define CLIENT_WEBSITE PURPLE_WEBSITE +#endif #define PURPLE_DEVEL_WEBSITE "http://developer.pidgin.im/" /* This is for the accounts code to notify the buddy icon code that diff -r 0830ab50c463 -r 1008901e1d5c libpurple/protocols/oscar/oscar.c --- a/libpurple/protocols/oscar/oscar.c Sun Jun 29 14:25:09 2008 +0000 +++ b/libpurple/protocols/oscar/oscar.c Tue Jul 01 21:33:14 2008 +0000 @@ -1411,7 +1411,7 @@ break; case 0x1c: /* client too old */ - g_snprintf(buf, sizeof(buf), _("The client version you are using is too old. Please upgrade at %s"), PURPLE_WEBSITE); + g_snprintf(buf, sizeof(buf), _("The client version you are using is too old. Please upgrade at %s"), CLIENT_WEBSITE); purple_connection_error_reason(gc, PURPLE_CONNECTION_ERROR_OTHER_ERROR, buf); break; case 0x1d: @@ -1532,7 +1532,7 @@ if (in != '\n') { char buf[256]; g_snprintf(buf, sizeof(buf), _("You may be disconnected shortly. You may want to use TOC until " - "this is fixed. Check %s for updates."), PURPLE_WEBSITE); + "this is fixed. Check %s for updates."), CLIENT_WEBSITE); purple_notify_warning(pos->gc, NULL, _("Unable to get a valid AIM login hash."), buf); @@ -1576,7 +1576,7 @@ if (source < 0) { buf = g_strdup_printf(_("You may be disconnected shortly. " - "Check %s for updates."), PURPLE_WEBSITE); + "Check %s for updates."), CLIENT_WEBSITE); purple_notify_warning(pos->gc, NULL, _("Unable to get a valid AIM login hash."), buf); @@ -1675,7 +1675,7 @@ g_free(pos->modname); g_free(pos); g_snprintf(buf, sizeof(buf), _("You may be disconnected shortly. " - "Check %s for updates."), PURPLE_WEBSITE); + "Check %s for updates."), CLIENT_WEBSITE); purple_notify_warning(pos->gc, NULL, _("Unable to get a valid login hash."), buf); diff -r 0830ab50c463 -r 1008901e1d5c libpurple/protocols/silc/silc.c --- a/libpurple/protocols/silc/silc.c Sun Jun 29 14:25:09 2008 +0000 +++ b/libpurple/protocols/silc/silc.c Tue Jul 01 21:33:14 2008 +0000 @@ -674,7 +674,7 @@ /* Send QUIT */ silc_client_command_call(sg->client, sg->conn, NULL, - "QUIT", "Download Pidgin: " PURPLE_WEBSITE, + "QUIT", "Download " PACKAGE ": " CLIENT_WEBSITE, NULL); if (sg->conn) @@ -1828,7 +1828,7 @@ return PURPLE_CMD_RET_FAILED; silc_client_command_call(sg->client, sg->conn, NULL, - "QUIT", (args && args[0]) ? args[0] : "Download Pidgin: " PURPLE_WEBSITE, NULL); + "QUIT", (args && args[0]) ? args[0] : "Download " PACKAGE ": " CLIENT_WEBSITE, NULL); return PURPLE_CMD_RET_OK; } diff -r 0830ab50c463 -r 1008901e1d5c libpurple/protocols/silc10/silc.c --- a/libpurple/protocols/silc10/silc.c Sun Jun 29 14:25:09 2008 +0000 +++ b/libpurple/protocols/silc10/silc.c Tue Jul 01 21:33:14 2008 +0000 @@ -389,7 +389,7 @@ /* Send QUIT */ silc_client_command_call(sg->client, sg->conn, NULL, - "QUIT", "Download this: " PURPLE_WEBSITE, NULL); + "QUIT", "Download this: " CLIENT_WEBSITE, NULL); if (sg->conn) silc_client_close_connection(sg->client, sg->conn); @@ -1547,7 +1547,7 @@ return PURPLE_CMD_RET_FAILED; silc_client_command_call(sg->client, sg->conn, NULL, - "QUIT", (args && args[0]) ? args[0] : "Download this: " PURPLE_WEBSITE, NULL); + "QUIT", (args && args[0]) ? args[0] : "Download this: " CLIENT_WEBSITE, NULL); return PURPLE_CMD_RET_OK; } diff -r 0830ab50c463 -r 1008901e1d5c libpurple/protocols/yahoo/yahoo.c --- a/libpurple/protocols/yahoo/yahoo.c Sun Jun 29 14:25:09 2008 +0000 +++ b/libpurple/protocols/yahoo/yahoo.c Tue Jul 01 21:33:14 2008 +0000 @@ -1997,7 +1997,7 @@ default: buf = g_strdup_printf(_("The Yahoo server has requested the use of an unrecognized " "authentication method. You will probably not be able " - "to successfully sign on to Yahoo. Check %s for updates."), PURPLE_WEBSITE); + "to successfully sign on to Yahoo. Check %s for updates."), CLIENT_WEBSITE); purple_notify_error(gc, "", _("Failed Yahoo! Authentication"), buf); g_free(buf);