summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Laager <rlaager@pidgin.im>2007-06-14 15:33:50 +0000
committerRichard Laager <rlaager@pidgin.im>2007-06-14 15:33:50 +0000
commitae0cc48b47dbfe170421476e971a9ff373a9e0f8 (patch)
tree02cf46216e15e108388a039221ac1cb920e1d19d
parent4171abe52914116687ad00ec8393bb9d167e9f9a (diff)
downloadpidgin-ae0cc48b47dbfe170421476e971a9ff373a9e0f8.tar.gz
Remove the use of compiler string concatenation in a translatable string to
avoid having gettext cut the string off. Fixes #1679
-rw-r--r--pidgin/plugins/relnot.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/pidgin/plugins/relnot.c b/pidgin/plugins/relnot.c
index b8011a7f0b..1ded39109e 100644
--- a/pidgin/plugins/relnot.c
+++ b/pidgin/plugins/relnot.c
@@ -70,8 +70,9 @@ version_fetch_cb(PurpleUtilFetchUrlData *url_data, gpointer user_data,
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);