diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2007-11-13 14:02:49 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2007-11-13 14:02:49 +0000 |
| commit | c0037a60caf4de84b33ed9a3a79331c2b6d1e398 (patch) | |
| tree | 22f3a3c51bf1f529d9246b8c2ad90a6bc72893c7 /src/extension/paramradiobutton.cpp | |
| parent | Update translations for Khmer (diff) | |
| download | inkscape-c0037a60caf4de84b33ed9a3a79331c2b6d1e398.tar.gz inkscape-c0037a60caf4de84b33ed9a3a79331c2b6d1e398.zip | |
make INX <option> translatable
(bzr r4076)
Diffstat (limited to 'src/extension/paramradiobutton.cpp')
| -rw-r--r-- | src/extension/paramradiobutton.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/extension/paramradiobutton.cpp b/src/extension/paramradiobutton.cpp index ad18ce79f..1624bf587 100644 --- a/src/extension/paramradiobutton.cpp +++ b/src/extension/paramradiobutton.cpp @@ -71,12 +71,12 @@ ParamRadioButton::ParamRadioButton (const gchar * name, const gchar * guitext, c Inkscape::XML::Node *child_repr = sp_repr_children(xml); while (child_repr != NULL) { char const * chname = child_repr->name(); - if (!strcmp(chname, "option") || !strcmp(chname, "_option")) { + if (!strcmp(chname, "option")) { Glib::ustring * newguitext = NULL; Glib::ustring * newvalue = NULL; const char * contents = sp_repr_children(child_repr)->content(); if (contents != NULL) - newguitext = new Glib::ustring(contents); + newguitext = new Glib::ustring( _(contents) ); else continue; @@ -84,7 +84,7 @@ ParamRadioButton::ParamRadioButton (const gchar * name, const gchar * guitext, c if (val != NULL) newvalue = new Glib::ustring(val); else - newvalue = new Glib::ustring(*newguitext); + newvalue = new Glib::ustring(contents); if ( (newguitext) && (newvalue) ) { // logical error if this is not true here choices = g_slist_append( choices, new optionentry(newvalue, newguitext) ); |
