From b8f712377a5a4bcc0cd33c9734e0eea38b6bad8d Mon Sep 17 00:00:00 2001 From: joncruz Date: Thu, 22 May 2008 04:57:08 +0000 Subject: [PATCH] Fixed broken i18n strings causing problems with tag --- src/dialogs/swatches.cpp | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/dialogs/swatches.cpp b/src/dialogs/swatches.cpp index 1ed36e789..2987b3212 100644 --- a/src/dialogs/swatches.cpp +++ b/src/dialogs/swatches.cpp @@ -245,14 +245,10 @@ static gboolean handleEnterNotify( GtkWidget* widget, GdkEventCrossing* event, g if ( item ) { SPDesktop *desktop = SP_ACTIVE_DESKTOP; if ( desktop ) { - desktop->tipsMessageContext()->set(Inkscape::INFORMATION_MESSAGE, g_strconcat( - _("Color: "), - item->def.descr.c_str(), - _(""), - _("; "), - _("Click to set fill, Shift+click to set stroke"), - NULL - )); + gchar* msg = g_strdup_printf(_("Color: %s; Click to set fill, Shift+click to set stroke"), + item->def.descr.c_str()); + desktop->tipsMessageContext()->set(Inkscape::INFORMATION_MESSAGE, msg); + g_free(msg); } } return FALSE; -- 2.30.2