From ad30f531f53c28db8e21441264a34f4a7fbb16c7 Mon Sep 17 00:00:00 2001 From: Jabier Arraiza Date: Mon, 27 May 2019 18:31:12 +0200 Subject: Allow translations in LPE add dialog --- src/ui/dialog/livepatheffect-add.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/ui/dialog/livepatheffect-add.cpp b/src/ui/dialog/livepatheffect-add.cpp index 5d5517149..a31f71a8c 100644 --- a/src/ui/dialog/livepatheffect-add.cpp +++ b/src/ui/dialog/livepatheffect-add.cpp @@ -125,7 +125,7 @@ LivePathEffectAdd::LivePathEffectAdd() sigc::mem_fun(*this, &LivePathEffectAdd::mouseout), GTK_WIDGET(LPESelectorEffect->gobj()))); Gtk::Label *LPEName; builder_effect->get_widget("LPEName", LPEName); - const Glib::ustring label = converter.get_label(data->id); + const Glib::ustring label = _(converter.get_label(data->id).c_str()); const Glib::ustring untranslated_label = converter.get_untranslated_label(data->id); if (untranslated_label == label) { LPEName->set_text(label); -- cgit v1.2.3