summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Dufour <nicoduf@yahoo.fr>2009-07-08 04:45:20 +0000
committerJazzyNico <JazzyNico@users.sourceforge.net>2009-07-08 04:45:20 +0000
commit75ba4339e85846bf68ea55ea57e783d50fb0dd5a (patch)
tree6c30e7da56ea59e04e263c55a86f16743340b1ac
parentupdate (diff)
downloadinkscape-75ba4339e85846bf68ea55ea57e783d50fb0dd5a.tar.gz
inkscape-75ba4339e85846bf68ea55ea57e783d50fb0dd5a.zip
Fix for pattern name localization
(bzr r8230)
-rw-r--r--src/widgets/paint-selector.cpp4
1 files 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);