Code

Fix for pattern name localization
authorJazzyNico <JazzyNico@users.sourceforge.net>
Wed, 8 Jul 2009 04:45:20 +0000 (04:45 +0000)
committerJazzyNico <JazzyNico@users.sourceforge.net>
Wed, 8 Jul 2009 04:45:20 +0000 (04:45 +0000)
src/widgets/paint-selector.cpp

index f888555c91a9b73c4b0c8ee0a936655c6520afb9..a101b9eeb32bb159671d8d8fa03d1ec04719975e 100644 (file)
@@ -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);