mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-05-28 22:29:27 +03:00
[Translations] Update Translation Template
This commit is contained in:
parent
e2285729df
commit
c511b51003
@ -280,8 +280,8 @@
|
||||
/* eddn.py: Status text shown while attempting to send data; In files: eddn.py:2507; */
|
||||
"Sending data to EDDN..." = "Sending data to EDDN...";
|
||||
|
||||
/* edsm.py: Settings>EDSM - Label on checkbox for 'send data'; In files: edsm.py:308; */
|
||||
"Send flight log and Cmdr status to EDSM" = "Send flight log and Cmdr status to EDSM";
|
||||
/* edsm.py:Settings>EDSM - Label on checkbox for 'send data'; In files: edsm.py:316; */
|
||||
"Send flight log and CMDR status to EDSM" = "Send flight log and CMDR status to EDSM";
|
||||
|
||||
/* edsm.py: Settings>EDSM - Label on header/URL to EDSM API key page; In files: edsm.py:319; */
|
||||
"Elite Dangerous Star Map credentials" = "Elite Dangerous Star Map credentials";
|
||||
@ -461,7 +461,7 @@
|
||||
"Enabled Plugins" = "Enabled Plugins";
|
||||
|
||||
/* prefs.py: Plugins - Label for list of 'enabled' plugins that don't work with Python 3.x; In files: prefs.py:954; */
|
||||
"Plugins Without Python 3.x Support:" = "Plugins Without Python 3.x Support:";
|
||||
"Plugins Without Python 3.x Support" = "Plugins Without Python 3.x Support:";
|
||||
|
||||
/* prefs.py: Plugins - Label on URL to documentation about migrating plugins from Python 2.7; In files: prefs.py:962; */
|
||||
"Information on migrating plugins" = "Information on migrating plugins";
|
||||
@ -768,3 +768,9 @@
|
||||
|
||||
/* stats.py: Status dialog title; In files: stats.py:418; */
|
||||
"Ships" = "Ships";
|
||||
|
||||
/* prefs.py:Label on button used to open a filesystem folder; In files: prefs.py:706; */
|
||||
"Open Log Folder" = "Open Log Folder";
|
||||
|
||||
/* inara.py:Text Inara Show API key; In files: inara.py:305; */
|
||||
"Show API Key" = "Show API Key";
|
@ -313,7 +313,7 @@ def plugin_prefs(parent: ttk.Notebook, cmdr: str | None, is_beta: bool) -> tk.Fr
|
||||
this.log = tk.IntVar(value=config.get_int('edsm_out') and 1)
|
||||
this.log_button = nb.Checkbutton(
|
||||
frame,
|
||||
text=_('Send flight log and CMDR status to EDSM'), # LANG: Send flight log and CMDR Status to EDSM
|
||||
text=_('Send flight log and CMDR status to EDSM'), # LANG: Settings>EDSM - Label on checkbox for 'send data'
|
||||
variable=this.log,
|
||||
command=prefsvarchanged
|
||||
)
|
||||
@ -335,9 +335,8 @@ def plugin_prefs(parent: ttk.Notebook, cmdr: str | None, is_beta: bool) -> tk.Fr
|
||||
)
|
||||
if this.label:
|
||||
this.label.grid(row=cur_row, columnspan=2, padx=PADX, pady=PADY, sticky=tk.W)
|
||||
# LANG: Game Commander name label in EDSM settings
|
||||
cur_row += 1
|
||||
this.cmdr_label = nb.Label(frame, text=_('Cmdr'))
|
||||
this.cmdr_label = nb.Label(frame, text=_('Cmdr')) # LANG: Game Commander name label in EDSM settings
|
||||
this.cmdr_label.grid(row=cur_row, padx=PADX, pady=PADY, sticky=tk.W)
|
||||
this.cmdr_text = nb.Label(frame)
|
||||
this.cmdr_text.grid(row=cur_row, column=1, padx=PADX, pady=BOXY, sticky=tk.W)
|
||||
|
@ -1611,6 +1611,7 @@ def handle_api_error(data: Mapping[str, Any], status: int, reply: dict[str, Any]
|
||||
error_message = reply['header'].get('eventStatusText', "")
|
||||
logger.warning(f'Inara\t{status} {error_message}')
|
||||
logger.debug(f'JSON data:\n{json.dumps(data, indent=2, separators = (",", ": "))}')
|
||||
# LANG: INARA API returned some kind of error (error message will be contained in {MSG})
|
||||
plug.show_error(_('Error: Inara {MSG}').format(MSG=error_message))
|
||||
|
||||
|
||||
@ -1643,6 +1644,7 @@ def handle_individual_error(data_event: dict[str, Any], reply_status: int, reply
|
||||
logger.debug(f'JSON data:\n{json.dumps(data_event)}')
|
||||
|
||||
if reply_status // 100 != 2:
|
||||
# LANG: INARA API returned some kind of error (error message will be contained in {MSG})
|
||||
plug.show_error(_('Error: Inara {MSG}').format(
|
||||
MSG=f'{data_event["eventName"]}, {reply_text}'
|
||||
))
|
||||
|
Loading…
x
Reference in New Issue
Block a user