diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2019-09-19 22:30:22 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2019-09-19 22:30:22 +0000 |
| commit | d2dbe20e9c993bed679988cf0b899e99c1822508 (patch) | |
| tree | 703aeda0b1e370078005644f104c620b0df7ff89 | |
| parent | Fix initial state of List mode stored in prefs on start LPE dialog (diff) | |
| download | inkscape-d2dbe20e9c993bed679988cf0b899e99c1822508.tar.gz inkscape-d2dbe20e9c993bed679988cf0b899e99c1822508.zip | |
Fix translating description on dialog add LPE
| -rw-r--r-- | src/ui/dialog/livepatheffect-add.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/dialog/livepatheffect-add.cpp b/src/ui/dialog/livepatheffect-add.cpp index 593969b2b..58afa61d6 100644 --- a/src/ui/dialog/livepatheffect-add.cpp +++ b/src/ui/dialog/livepatheffect-add.cpp @@ -140,7 +140,8 @@ LivePathEffectAdd::LivePathEffectAdd() } Gtk::Label *LPEDescription; builder_effect->get_widget("LPEDescription", LPEDescription); - LPEDescription->set_text(converter.get_description(data->id)); + const Glib::ustring description = _(converter.get_description(data->id).c_str()); + LPEDescription->set_text(description); Gtk::ToggleButton *LPEExperimentalToggle; builder_effect->get_widget("LPEExperimentalToggle", LPEExperimentalToggle); bool active = converter.get_experimental(data->id) ? true : false; |
