From d2dbe20e9c993bed679988cf0b899e99c1822508 Mon Sep 17 00:00:00 2001 From: Jabier Arraiza Date: Thu, 19 Sep 2019 22:30:22 +0000 Subject: Fix translating description on dialog add LPE --- src/ui/dialog/livepatheffect-add.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3