1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-13 07:47:14 +03:00

added lang entries

This commit is contained in:
A_D 2021-06-28 10:36:31 +02:00
parent b42fcf1d4f
commit 455250019d
No known key found for this signature in database
GPG Key ID: 4BE9EB7DF45076C4
2 changed files with 18 additions and 3 deletions

View File

@ -630,3 +630,15 @@
/* stats.py: Status dialog title; In files: stats.py:376; */
"Ships" = "Ships";
/* prefs.py: UI elements privacy section header in privacy tab of preferences; In files: prefs.py:682; */
"Main UI privacy options" = "Main UI privacy options";
/* 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";
/* prefs.py: Hide multicrew captian name from main UI checkbox; In files: prefs.py:691; */
"Hide multi-crew captian name" = "Hide multi-crew captian name";
/* prefs.py: Preferences privacy tab title; In files: prefs.py:695; */
"Privacy" = "Privacy";

View File

@ -678,18 +678,21 @@ class PreferencesDialog(tk.Toplevel):
self.hide_private_group = tk.BooleanVar(value=config.get_bool('hide_private_group', default=False))
row = AutoInc()
# LANG: UI elements privacy section header in privacy tab of preferences
nb.Label(frame, text=_('Main UI privacy options')).grid(
row=row.get(), column=0, sticky=tk.W, padx=self.PADX, pady=self.PADY
)
nb.Checkbutton(
frame, text=_('Hide private group name in UI'), variable=self.hide_private_group
frame, text=_('Hide private group name in UI'), # LANG: Hide private group owner name from UI checkbox
variable=self.hide_private_group
).grid(row=row.get(), column=0, padx=self.PADX, pady=self.PADY)
nb.Checkbutton(
frame, text=_('Hide multi-crew captian name'), variable=self.hide_multicrew_captian
frame, text=_('Hide multi-crew captian name'), # LANG: Hide multicrew captian name from main UI checkbox
variable=self.hide_multicrew_captian
).grid(row=row.get(), column=0, padx=self.PADX, pady=self.PADY)
notebook.add(frame, text=_('Privacy'))
notebook.add(frame, text=_('Privacy')) # LANG: Preferences privacy tab title
def __setup_appearance_tab(self, notebook: Notebook) -> None:
self.languages = Translations.available_names()