From: JazzyNico Date: Wed, 8 Jul 2009 04:45:20 +0000 (+0000) Subject: Fix for pattern name localization X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6ed6e7868c5d812a955e374fea8c3f3cd721ee47;p=inkscape.git Fix for pattern name localization --- 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);