diff --git a/L10n/en.template b/L10n/en.template index d3b265b70..89ad3396b 100644 --- a/L10n/en.template +++ b/L10n/en.template @@ -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"; \ No newline at end of file diff --git a/plugins/edsm.py b/plugins/edsm.py index 290b168be..754ffb615 100644 --- a/plugins/edsm.py +++ b/plugins/edsm.py @@ -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) diff --git a/plugins/inara.py b/plugins/inara.py index 830939728..199e6a1cf 100644 --- a/plugins/inara.py +++ b/plugins/inara.py @@ -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}' ))