diff options
| author | Marcin Floryan <mfloryan@mm.waw.pl> | 2009-02-05 10:00:57 +0000 |
|---|---|---|
| committer | mfloryan <mfloryan@users.sourceforge.net> | 2009-02-05 10:00:57 +0000 |
| commit | aa22e0c5f0cad98e0222031742c52bf9aad9b9d3 (patch) | |
| tree | 213f53590cf28833eeef480099dafd68fd605c6c /src/extension/param/enum.cpp | |
| parent | updated Korean translation from jin-hwan Jeong (diff) | |
| download | inkscape-aa22e0c5f0cad98e0222031742c52bf9aad9b9d3.tar.gz inkscape-aa22e0c5f0cad98e0222031742c52bf9aad9b9d3.zip | |
Fixed small translation issue for extensions.
(bzr r7233)
Diffstat (limited to 'src/extension/param/enum.cpp')
| -rw-r--r-- | src/extension/param/enum.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/extension/param/enum.cpp b/src/extension/param/enum.cpp index 9d324a47c..89f54dada 100644 --- a/src/extension/param/enum.cpp +++ b/src/extension/param/enum.cpp @@ -64,15 +64,15 @@ 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, "extension:item") || !strcmp(chname, "extension:_item")) { + if (!strcmp(chname, INKSCAPE_EXTENSION_NS "item") || !strcmp(chname, INKSCAPE_EXTENSION_NS "_item")) { Glib::ustring * newguitext = NULL; Glib::ustring * newvalue = NULL; const char * contents = sp_repr_children(child_repr)->content(); if (contents != NULL) // 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, "extension:_item") ? _(contents) : contents ); + // 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, INKSCAPE_EXTENSION_NS "_item") ? _(contents): contents ); else continue; @@ -161,7 +161,7 @@ ParamComboBox::set (const gchar * in, SPDocument * /*doc*/, Inkscape::XML::Node void ParamComboBox::changed (void) { - + } |
