+4
-3
lines changedFilter options
+4
-3
lines changed Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@
2
2
3
3
from gi.repository import Gtk
4
4
5
+
from .i18n import _
5
6
from .config import SCRIPT_DIR
6
7
from .plugin_loader import PluginLoader
7
8
@@ -12,7 +13,7 @@ def show_shortcuts(parent_window):
12
13
builder = Gtk.Builder.new_from_file(path)
13
14
shortcuts_window = builder.get_object(obj_id)
14
15
shortcuts_window.set_transient_for(parent_window)
15
-
shortcuts_window.set_title("Oomox Keyboard Shortcuts")
16
+
shortcuts_window.set_title(_("Themix-GUI Keyboard Shortcuts"))
16
17
shortcuts_window.set_wmclass("oomox", "Oomox")
17
18
shortcuts_window.set_role("Oomox-Shortcuts")
18
19
@@ -23,7 +24,7 @@ def show_shortcuts(parent_window):
23
24
lambda plugin: (
24
25
plugin.import_text and
25
26
plugin.import_text.replace('_', '').replace('…', '') or
26
-
f"Import {plugin.display_name}"
27
+
_("Import {plugin_name}").format(plugin_name=plugin.display_name)
27
28
),
28
29
),
29
30
(
@@ -32,7 +33,7 @@ def show_shortcuts(parent_window):
32
33
lambda plugin: (
33
34
plugin.export_text and
34
35
plugin.export_text.replace('_', '').replace('…', '') or
35
-
f"Export {plugin.display_name}"
36
+
_("Export {plugin_name}").format(plugin_name=plugin.display_name)
36
37
),
37
38
),
38
39
):
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4