From b0ae7f140c0b99a2c6a4c926fd8766064e5a0776 Mon Sep 17 00:00:00 2001 From: Giampiero <54741923+GLWine@users.noreply.github.com> Date: Tue, 31 Oct 2023 01:23:59 +0100 Subject: [PATCH] Fixed translation hook line 295 Corrected the text of code line 295; The text text="Show API Key" cannot be translated as indicated, so I rewrote it as text=_('Show API Key'). --- plugins/inara.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/inara.py b/plugins/inara.py index efe010df..ec034840 100644 --- a/plugins/inara.py +++ b/plugins/inara.py @@ -292,7 +292,7 @@ def plugin_prefs(parent: ttk.Notebook, cmdr: str, is_beta: bool) -> tk.Frame: show_password_var.set(False) # Password is initially masked show_password_checkbox = nb.Checkbutton( frame, - text="Show API Key", + text=_('Show API Key'), # LANG: Text Inara Show API key variable=show_password_var, command=toggle_password_visibility, )