From 6633203a87a14f02df5f51da0e683aa7e56b5c02 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Fri, 9 May 2008 14:32:15 +0000 Subject: [PATCH] fix enums --- src/extension/param/enum.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/extension/param/enum.cpp b/src/extension/param/enum.cpp index 274220699..89db25d03 100644 --- a/src/extension/param/enum.cpp +++ b/src/extension/param/enum.cpp @@ -71,7 +71,7 @@ ParamComboBox::ParamComboBox (const gchar * name, const gchar * guitext, const g Inkscape::XML::Node *child_repr = sp_repr_children(xml); while (child_repr != NULL) { char const * chname = child_repr->name(); - if (!strcmp(chname, "item") || !strcmp(chname, "_item")) { + if (!strcmp(chname, "extension:item") || !strcmp(chname, "extension:_item")) { Glib::ustring * newguitext = NULL; Glib::ustring * newvalue = NULL; const char * contents = sp_repr_children(child_repr)->content(); @@ -79,7 +79,7 @@ ParamComboBox::ParamComboBox (const gchar * name, const gchar * guitext, const g // don't translate when 'item' but do translate when '_item' // NOTE: internal extensions use build_from_mem and don't need _item but // still need to include if are to be localized - newguitext = new Glib::ustring( !strcmp(chname, "_item") ? _(contents) : contents ); + newguitext = new Glib::ustring( !strcmp(chname, "extension:_item") ? _(contents) : contents ); else continue; -- 2.30.2