summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2019-09-19 22:30:22 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2019-09-19 22:30:22 +0000
commitd2dbe20e9c993bed679988cf0b899e99c1822508 (patch)
tree703aeda0b1e370078005644f104c620b0df7ff89
parentFix initial state of List mode stored in prefs on start LPE dialog (diff)
downloadinkscape-d2dbe20e9c993bed679988cf0b899e99c1822508.tar.gz
inkscape-d2dbe20e9c993bed679988cf0b899e99c1822508.zip
Fix translating description on dialog add LPE
-rw-r--r--src/ui/dialog/livepatheffect-add.cpp3
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;