summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0e3f494)
raw | patch | inline | side by side (parent: 0e3f494)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Fri, 9 May 2008 14:32:15 +0000 (14:32 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Fri, 9 May 2008 14:32:15 +0000 (14:32 +0000) |
src/extension/param/enum.cpp | patch | blob | history |
index 2742206994a44404cf5bb208f8464995ac65981e..89db25d0381d6d8e5e96b143e6e06b960cc6ca49 100644 (file)
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();
// 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;