From 6ed6e7868c5d812a955e374fea8c3f3cd721ee47 Mon Sep 17 00:00:00 2001 From: JazzyNico Date: Wed, 8 Jul 2009 04:45:20 +0000 Subject: [PATCH] Fix for pattern name localization --- src/widgets/paint-selector.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/widgets/paint-selector.cpp b/src/widgets/paint-selector.cpp index f888555c9..a101b9eeb 100644 --- a/src/widgets/paint-selector.cpp +++ b/src/widgets/paint-selector.cpp @@ -790,9 +790,9 @@ sp_pattern_menu_build (GtkWidget *m, GSList *pattern_list, SPDocument */*source* // create label GtkWidget *l; if (repr->attribute("inkscape:stockid")) - l = gtk_label_new(repr->attribute("inkscape:stockid")); + l = gtk_label_new(_(repr->attribute("inkscape:stockid"))); else - l = gtk_label_new(repr->attribute("id")); + l = gtk_label_new(_(repr->attribute("id"))); gtk_widget_show(l); gtk_misc_set_alignment(GTK_MISC(l), 0.0, 0.5); -- 2.30.2