Skip to content

Commit

Permalink
[2262] Update Capitalizations and add Translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Rixxan committed Jun 23, 2024
1 parent 5a9970e commit 067bef6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions L10n/en.template
Original file line number Diff line number Diff line change
Expand Up @@ -813,3 +813,6 @@

/* ttkHyperlinkLabel.py: Open Element In Selected Provider; */
"Open in {URL}" = "Open in {URL}";

/* ttkHyperlinkLabel.py: Copy the Inara SLEF Format of the active ship to the clipboard; */
"Copy Inara SLEF" = "Copy Inara SLEF";
3 changes: 2 additions & 1 deletion ttkHyperlinkLabel.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,8 @@ def _contextmenu(self, event: tk.Event) -> None:
menu.add_command(label=tr.tl('Copy'), command=self.copy) # As in Copy and Paste

if self.name == 'ship':
menu.add_command(label=tr.tl('Copy INARA SLEF'), command=self.copy_slef, state=tk.DISABLED)
# LANG: Copy the Inara SLEF Format of the active ship to the clipboard
menu.add_command(label=tr.tl('Copy Inara SLEF'), command=self.copy_slef, state=tk.DISABLED)
menu.entryconfigure(1, state=monitor.slef and tk.NORMAL or tk.DISABLED)

menu.add_separator()
Expand Down

0 comments on commit 067bef6

Please sign in to comment.