Fix missing tooltip translations in the Note editor toolbar
Fixes #11289
This commit is contained in:
parent
d75d9797c0
commit
846a4d1a32
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user