changeset 18096:55ff2a39244e

Remove the use of compiler string concatenation in a translatable string to avoid having gettext cut the string off. Fixes #1679
author Richard Laager <rlaager@wiktel.com>
date Thu, 14 Jun 2007 15:33:50 +0000
parents 2f35d56d2add
children 5cff2b8bfb08
files pidgin/plugins/relnot.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/plugins/relnot.c	Thu Jun 14 15:33:28 2007 +0000
+++ b/pidgin/plugins/relnot.c	Thu Jun 14 15:33:50 2007 +0000
@@ -70,8 +70,9 @@
 	message = g_string_new("");
 	g_string_append_printf(message, _("You are using %s version %s.  The "
 			"current version is %s.  You can get it from "
-			"<a href=\"" PURPLE_WEBSITE "\">" PURPLE_WEBSITE "</a><hr>"),
-			PIDGIN_NAME, purple_core_get_version(), cur_ver);
+			"<a href=\"%s\">%s</a><hr>"),
+			PIDGIN_NAME, purple_core_get_version(), cur_ver,
+			PURPLE_WEBSITE, PURPLE_WEBSITE);
 
 	if(*changelog) {
 		formatted = purple_strdup_withhtml(changelog);