mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-05-29 22:59:45 +03:00
fixed letter transposition
I hate the word captain.
This commit is contained in:
parent
455250019d
commit
a0c1854818
@ -1085,7 +1085,7 @@ class AppWindow(object):
|
|||||||
# Update main window
|
# Update main window
|
||||||
self.cooldown()
|
self.cooldown()
|
||||||
if monitor.cmdr and monitor.state['Captain']:
|
if monitor.cmdr and monitor.state['Captain']:
|
||||||
if not config.get_bool('hide_multicrew_captian', default=False):
|
if not config.get_bool('hide_multicrew_captain', default=False):
|
||||||
self.cmdr['text'] = f'{monitor.cmdr} / {monitor.state["Captain"]}'
|
self.cmdr['text'] = f'{monitor.cmdr} / {monitor.state["Captain"]}'
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
@ -637,8 +637,8 @@
|
|||||||
/* prefs.py: Hide private group owner name from UI checkbox; In files: prefs.py:687; */
|
/* prefs.py: Hide private group owner name from UI checkbox; In files: prefs.py:687; */
|
||||||
"Hide private group name in UI" = "Hide private group name in UI";
|
"Hide private group name in UI" = "Hide private group name in UI";
|
||||||
|
|
||||||
/* prefs.py: Hide multicrew captian name from main UI checkbox; In files: prefs.py:691; */
|
/* prefs.py: Hide multicrew captain name from main UI checkbox; In files: prefs.py:691; */
|
||||||
"Hide multi-crew captian name" = "Hide multi-crew captian name";
|
"Hide multi-crew captain name" = "Hide multi-crew captain name";
|
||||||
|
|
||||||
/* prefs.py: Preferences privacy tab title; In files: prefs.py:695; */
|
/* prefs.py: Preferences privacy tab title; In files: prefs.py:695; */
|
||||||
"Privacy" = "Privacy";
|
"Privacy" = "Privacy";
|
||||||
|
8
prefs.py
8
prefs.py
@ -674,7 +674,7 @@ class PreferencesDialog(tk.Toplevel):
|
|||||||
|
|
||||||
def __setup_privacy_tab(self, notebook: Notebook) -> None:
|
def __setup_privacy_tab(self, notebook: Notebook) -> None:
|
||||||
frame = nb.Frame(notebook)
|
frame = nb.Frame(notebook)
|
||||||
self.hide_multicrew_captian = tk.BooleanVar(value=config.get_bool('hide_multicrew_captian', default=False))
|
self.hide_multicrew_captain = tk.BooleanVar(value=config.get_bool('hide_multicrew_captain', default=False))
|
||||||
self.hide_private_group = tk.BooleanVar(value=config.get_bool('hide_private_group', default=False))
|
self.hide_private_group = tk.BooleanVar(value=config.get_bool('hide_private_group', default=False))
|
||||||
row = AutoInc()
|
row = AutoInc()
|
||||||
|
|
||||||
@ -688,8 +688,8 @@ class PreferencesDialog(tk.Toplevel):
|
|||||||
variable=self.hide_private_group
|
variable=self.hide_private_group
|
||||||
).grid(row=row.get(), column=0, padx=self.PADX, pady=self.PADY)
|
).grid(row=row.get(), column=0, padx=self.PADX, pady=self.PADY)
|
||||||
nb.Checkbutton(
|
nb.Checkbutton(
|
||||||
frame, text=_('Hide multi-crew captian name'), # LANG: Hide multicrew captian name from main UI checkbox
|
frame, text=_('Hide multi-crew captain name'), # LANG: Hide multicrew captain name from main UI checkbox
|
||||||
variable=self.hide_multicrew_captian
|
variable=self.hide_multicrew_captain
|
||||||
).grid(row=row.get(), column=0, padx=self.PADX, pady=self.PADY)
|
).grid(row=row.get(), column=0, padx=self.PADX, pady=self.PADY)
|
||||||
|
|
||||||
notebook.add(frame, text=_('Privacy')) # LANG: Preferences privacy tab title
|
notebook.add(frame, text=_('Privacy')) # LANG: Preferences privacy tab title
|
||||||
@ -1259,7 +1259,7 @@ class PreferencesDialog(tk.Toplevel):
|
|||||||
|
|
||||||
# Privacy options
|
# Privacy options
|
||||||
config.set('hide_private_group', self.hide_private_group.get())
|
config.set('hide_private_group', self.hide_private_group.get())
|
||||||
config.set('hide_multicrew_captian', self.hide_multicrew_captian.get())
|
config.set('hide_multicrew_captain', self.hide_multicrew_captain.get())
|
||||||
|
|
||||||
config.set('ui_scale', self.ui_scale.get())
|
config.set('ui_scale', self.ui_scale.get())
|
||||||
config.set('ui_transparency', self.transparency.get())
|
config.set('ui_transparency', self.transparency.get())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user