i18n with QT

This commit is contained in:
2022-02-01 18:29:54 +01:00
parent 26e2ee89e8
commit 939c86dbe2
11 changed files with 356 additions and 29 deletions

View File

@@ -26,7 +26,7 @@ class NotesPlugin(PluginBase):
]
def _add_notes_tab_action(self) -> RAction:
open_file = RAction("Add &Notes", self._add_notes_tab, shortcut='Ctrl+Shift+N',
open_file = RAction(self.tr("Add &Notes"), self._add_notes_tab, shortcut='Ctrl+Shift+N',
icon_from_theme="filenew")
return open_file