From 846a4d1a32f519609a67d1ac23c821bbfc203a18 Mon Sep 17 00:00:00 2001 From: prculley Date: Mon, 2 Sep 2019 11:16:16 -0500 Subject: [PATCH] Fix missing tooltip translations in the Note editor toolbar Fixes #11289 --- gramps/gui/widgets/styledtexteditor.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gramps/gui/widgets/styledtexteditor.py b/gramps/gui/widgets/styledtexteditor.py index a2aafd592..59e3bedea 100644 --- a/gramps/gui/widgets/styledtexteditor.py +++ b/gramps/gui/widgets/styledtexteditor.py @@ -531,7 +531,9 @@ class StyledTextEditor(Gtk.TextView): """ self.uimanager = uimanager # build the toolbar - builder = Gtk.Builder.new_from_string(FORMAT_TOOLBAR, -1) + builder = Gtk.Builder() + builder.set_translation_domain(glocale.get_localedomain()) + builder.add_from_string(FORMAT_TOOLBAR) # define the actions... _actions = [ ('ITALIC', self._on_toggle_action_activate, 'i', False),