From: joncruz Date: Thu, 22 May 2008 04:57:08 +0000 (+0000) Subject: Fixed broken i18n strings causing problems with tag X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b8f712377a5a4bcc0cd33c9734e0eea38b6bad8d;p=inkscape.git Fixed broken i18n strings causing problems with tag --- 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;