Fix missing tooltip translations in the Note editor toolbar

Fixes #11289
This commit is contained in:
prculley 2019-09-02 11:16:16 -05:00 committed by Nick Hall
parent d75d9797c0
commit 846a4d1a32

View File

@ -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, '<PRIMARY>i', False),