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),