diff libpurple/protocols/oscar/oscar.c @ 23400:074be48b20e7

Use CLIENT_WEBSITE rather than PURPLE_WEBSITE in libpurple. If the build process doesn't #define CLIENT_WEBSITE, internal.h will define it as PURPLE_WEBSITE. No change for Pidgin or Finch, but this will let other clients such as Adium present their own site in error messages as needed.
author Evan Schoenberg <evan.s@dreskin.net>
date Tue, 01 Jul 2008 18:06:32 +0000
parents 540a26a1a88d
children f1602b78aa59
line wrap: on
line diff
--- a/libpurple/protocols/oscar/oscar.c	Tue Jul 01 04:26:19 2008 +0000
+++ b/libpurple/protocols/oscar/oscar.c	Tue Jul 01 18:06:32 2008 +0000
@@ -1520,7 +1520,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:
@@ -1641,7 +1641,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);
@@ -1685,7 +1685,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);
@@ -1784,7 +1784,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);