Skip to content

Commit

Permalink
Merge branch 'main' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
Rixxan committed Aug 5, 2024
2 parents 62038a0 + f44fa24 commit 9cc4630
Show file tree
Hide file tree
Showing 7 changed files with 161 additions and 16 deletions.
29 changes: 29 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,26 @@ This is the master changelog for Elite Dangerous Market Connector. Entries are
in the source (not distributed with the Windows installer) for the
currently used version.
---
Release 5.11.3
===

This release fixes a bug where an incomplete hand-over from ordereddict to dict types would cause a sender failure.

**Changes and Enhancements**
* Updated Translations

**Bug Fixes**
* Fixed a bug where two senders might fail due to improper data formats

**Plugin Developers**
* nb.Entry is deprecated, and is slated for removal in 6.0 or later. Please migrate to nb.EntryMenu
* nb.ColoredButton is deprecated, and is slated for removal in 6.0 or later. Please migrate to tk.Button
* Calling internal translations with `_()` is deprecated, and is slated for removal in 6.0 or later. Please migrate to importing `translations` and calling `translations.translate` or `translations.tl` directly
* `Translations` as the translate system singleton is deprecated, and is slated for removal in 6.0 or later. Please migrate to the `translations` singleton
* `help_open_log_folder()` is deprecated, and is slated for removal in 6.0 or later. Please migrate to open_folder()
* `update_feed` is deprecated, and is slated for removal in 6.0 or later. Please migrate to `get_update_feed()`.
* FDevID files (`commodity.csv` and `rare_commodity.csv`) have moved their preferred location to the app dir (same location as default Plugins folder). Please migrate to use `config.app_dir_path`.

Release 5.11.2
===

Expand All @@ -18,6 +38,15 @@ This release fixes a bug where minimizing to the system tray could cause the pro
**Bug Fixes**
* Fixed a bug where minimizing to the system tray could cause the program to not un-minimize.

**Plugin Developers**
* nb.Entry is deprecated, and is slated for removal in 6.0 or later. Please migrate to nb.EntryMenu
* nb.ColoredButton is deprecated, and is slated for removal in 6.0 or later. Please migrate to tk.Button
* Calling internal translations with `_()` is deprecated, and is slated for removal in 6.0 or later. Please migrate to importing `translations` and calling `translations.translate` or `translations.tl` directly
* `Translations` as the translate system singleton is deprecated, and is slated for removal in 6.0 or later. Please migrate to the `translations` singleton
* `help_open_log_folder()` is deprecated, and is slated for removal in 6.0 or later. Please migrate to open_folder()
* `update_feed` is deprecated, and is slated for removal in 6.0 or later. Please migrate to `get_update_feed()`.
* FDevID files (`commodity.csv` and `rare_commodity.csv`) have moved their preferred location to the app dir (same location as default Plugins folder). Please migrate to use `config.app_dir_path`.

Release 5.11.1
===

Expand Down
34 changes: 34 additions & 0 deletions L10n/it.strings
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/* prefs.py: Catch & Record Profiler Errors; */
"Error in System Profiler" = "Errore nel Sistema di Profilazione";

/* EDMarketConnector.py: We didn't have the Fleet Carrier callsign when we should have; In files: EDMarketConnector.py:1223; */
"CAPI: Fleet Carrier data incomplete" = "CAPI: dati della Fleet Carrier incompleti";

/* EDMarketConnector.py: No data was returned for the Fleet Carrier from the Frontier CAPI; In files: EDMarketConnector.py:1219; */
"CAPI: No Fleet Carrier data returned" = "CAPI: nessun dato della Fleet Carrier ottenuto";

/* prefs.py: Configuration - Enable or disable the Fleet Carrier CAPI calls; In files: prefs.py:475; */
"Enable Fleet Carrier CAPI Queries" = "Abilita le query CAPI per le Fleet Carrier";

/* edsm.py:Settings>EDSM - Label on checkbox for 'send data'; In files: edsm.py:316; */
"Send flight log and CMDR status to EDSM" = "Invia il registro di volo e lo stato del CMDR a EDSM";

Expand Down Expand Up @@ -126,6 +138,15 @@
/* EDMarketConnector.py: Label for 'Copy' as in 'Copy and Paste'; ttkHyperlinkLabel.py: Label for 'Copy' as in 'Copy and Paste'; In files: EDMarketConnector.py:962; ttkHyperlinkLabel.py:53; */
"Copy" = "Copia";

/* myNotebook.py: Label for 'Cut' as in 'Cut and Paste'; */
"Cut" = "Taglia";

/* myNotebook.py: Label for 'Paste' as in 'Copy and Paste'; */
"Paste" = "Incolla";

/* myNotebook.py: Label for 'Select All'; */
"Select All" = "Seleziona Tutto";

/* EDMarketConnector.py: CAPI auth aborted because of killswitch; EDMarketConnector.py: CAPI auth query aborted because of killswitch; In files: EDMarketConnector.py:973; EDMarketConnector.py:1067; */
"CAPI auth disabled by killswitch" = "Autenticazione CAPI disabilitata dal killswitch";

Expand Down Expand Up @@ -783,6 +804,19 @@
/* update.py: Update Available Text; In files: update.py:229; */
"{NEWVER} is available" = "{NEWVER} è disponibile";

/* prefs.py: Stable Version of EDMC; */
"Stable" = "Stabile";

/* prefs.py: Select the Update Track (Beta, Stable); */
"Update Track" = "Canale di aggiornamento";

/* EDMarketConnector.py: Inform the user the Update Track has changed; */
"Update Track Changed to {TRACK}" = "Canale di aggiornamento cambiato in {TRACK}";


/* EDMarketConnector.py: Inform User of Beta -> Stable Transition Risks; */
"Update track changed to Stable from Beta. You will no longer receive Beta updates. You will stay on your current Beta version until the next Stable release.\r\n\r\nYou can manually revert to the latest Stable version. To do so, you must download and install the latest Stable version manually. Note that this may introduce bugs or break completely if downgrading between major versions with significant changes.\r\n\r\nDo you want to open GitHub to download the latest release?" = "Il canale di aggiornamento è cambiato da Beta a Stabile. Non riceverai più aggiornamenti Beta. Rimarrai sulla tua attuale versione Beta fino alla prossima release Stabile.\n\nPuoi tornare manualmente all'ultima versione Stabile. Per farlo, devi scaricare e installare manualmente l'ultima versione Stabile. Nota che questo potrebbe introdurre bug o causare malfunzionamenti se si esegue il downgrade tra versioni principali con cambiamenti significativi.\n\nVuoi aprire GitHub per scaricare l'ultima release?";

/* myNotebook.py: Can't Paste Images or Files in Text; */
"Cannot paste non-text content." = "Non si può incollare contenuto non testuale";

Expand Down
48 changes: 48 additions & 0 deletions L10n/ja.strings
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/* prefs.py: Catch & Record Profiler Errors; */
"Error in System Profiler" = "システムプロファイラーでエラー";

/* EDMarketConnector.py: We didn't have the Fleet Carrier callsign when we should have; In files: EDMarketConnector.py:1223; */
"CAPI: Fleet Carrier data incomplete" = "CAPI: フリートキャリアデータが不完全";

/* EDMarketConnector.py: No data was returned for the Fleet Carrier from the Frontier CAPI; In files: EDMarketConnector.py:1219; */
"CAPI: No Fleet Carrier data returned" = "CAPI: フリートキャリアデータの返信なし";

/* prefs.py: Configuration - Enable or disable the Fleet Carrier CAPI calls; In files: prefs.py:475; */
"Enable Fleet Carrier CAPI Queries" = "フリートキャリアCAPIクエリを有効にする";

/* edsm.py:Settings>EDSM - Label on checkbox for 'send data'; In files: edsm.py:316; */
"Send flight log and CMDR status to EDSM" = "フライトログとCMDRステータスをEDSMへ送信する";

Expand Down Expand Up @@ -36,6 +48,12 @@
/* companion.py: Failed to get Access Token from Frontier Auth service; In files: companion.py:508; */
"Error: unable to get token" = "エラー: トークンが取得できません";

/* EDMarketConnector.py: EDMC Critical Error Notification; */
"EDMC encountered a critical error, and cannot recover. EDMC is shutting down for its own protection!" = "EDMCは致命的な問題に遭遇し、復旧できません。EDMCは自身の保護のためシャットダウンします!";

/* EDMarketConnector.py: EDMC Critical Error Details; */
"Here's what EDMC Detected:\r\n\r\n{ERR}\r\n\r\nDo you want to file a Bug Report on GitHub?" = "EDMCが検知した問題は以下の通りです:\n\n{ERR}\n\nGitHubにバグレポートを作成しますか?";

/* companion.py: Frontier CAPI returned 418, meaning down for maintenance; In files: companion.py:844; */
"Frontier CAPI down for maintenance" = "Frontier CAPIがメンテナンスのため停止中";

Expand Down Expand Up @@ -87,6 +105,9 @@
/* EDMarketConnector.py: Help > Check for Updates...; In files: EDMarketConnector.py:930; EDMarketConnector.py:958; */
"Check for Updates..." = "更新の確認...";

/* EDMarketConnector.py: Help > Open System Profiler; In files: EDMarketConnector.py:888; */
"Open System Profiler" = "システムプロファイラーを開く";

/* EDMarketConnector.py: File > Save Raw Data...; In files: EDMarketConnector.py:931; EDMarketConnector.py:948; */
"Save Raw Data..." = "生データの保存...";

Expand Down Expand Up @@ -117,6 +138,15 @@
/* EDMarketConnector.py: Label for 'Copy' as in 'Copy and Paste'; ttkHyperlinkLabel.py: Label for 'Copy' as in 'Copy and Paste'; In files: EDMarketConnector.py:962; ttkHyperlinkLabel.py:53; */
"Copy" = "コピー";

/* myNotebook.py: Label for 'Cut' as in 'Cut and Paste'; */
"Cut" = "切り取り";

/* myNotebook.py: Label for 'Paste' as in 'Copy and Paste'; */
"Paste" = "貼り付け";

/* myNotebook.py: Label for 'Select All'; */
"Select All" = "全てを選択";

/* EDMarketConnector.py: CAPI auth aborted because of killswitch; EDMarketConnector.py: CAPI auth query aborted because of killswitch; In files: EDMarketConnector.py:973; EDMarketConnector.py:1067; */
"CAPI auth disabled by killswitch" = "CAPI認証はkillswitchによって無効にされています";

Expand Down Expand Up @@ -774,3 +804,21 @@
/* update.py: Update Available Text; In files: update.py:229; */
"{NEWVER} is available" = "{NEWVER} があります";

/* prefs.py: Stable Version of EDMC; */
"Stable" = "安定版";

/* prefs.py: Select the Update Track (Beta, Stable); */
"Update Track" = "アップデートトラック";

/* EDMarketConnector.py: Inform the user the Update Track has changed; */
"Update Track Changed to {TRACK}" = "アップデートトラックを {TRACK} に変更します";


/* EDMarketConnector.py: Inform User of Beta -> Stable Transition Risks; */
"Update track changed to Stable from Beta. You will no longer receive Beta updates. You will stay on your current Beta version until the next Stable release.\r\n\r\nYou can manually revert to the latest Stable version. To do so, you must download and install the latest Stable version manually. Note that this may introduce bugs or break completely if downgrading between major versions with significant changes.\r\n\r\nDo you want to open GitHub to download the latest release?" = "アップデートトラックをベータから安定版に変更しました。今後ベータ版のアップデートを受け取ることはありません。次の安定版がリリースされるまでこのベータ版をご利用いただけます。\n\n手動で最新の安定版に戻すことができます。そのためには、最新の安定版を手動でダウンロードしてインストールする必要があります。大きな変更を伴うメジャーバージョン間のダウングレードの場合、バグが発生したり、完全に壊れたりする可能性があることに注意してください。\n\nGitHubを開いて最新リリースをダウンロードしますか?";

/* myNotebook.py: Can't Paste Images or Files in Text; */
"Cannot paste non-text content." = "テキストではない内容は貼り付けできません";

/* ttkHyperlinkLabel.py: Open Element In Selected Provider; */
"Open in {URL}" = "{URL} で開く";
2 changes: 1 addition & 1 deletion L10n/pt-BR.strings
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@
"Market data in Trade Dangerous format file" = "Dados de mercado no arquivo de formato Trade Dangerous";

/* prefs.py: Settings > Output option; In files: prefs.py:360; */
"Ship loadout" = "Modulação da nave";
"Ship loadout" = "Build da Nave";

/* prefs.py: Settings > Output option; In files: prefs.py:370; */
"Automatically update on docking" = "Atualizar automaticamente na docagem";
Expand Down
34 changes: 34 additions & 0 deletions L10n/pt-PT.strings
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/* prefs.py: Catch & Record Profiler Errors; */
"Error in System Profiler" = "Erro nas Informações do Sistema";

/* EDMarketConnector.py: We didn't have the Fleet Carrier callsign when we should have; In files: EDMarketConnector.py:1223; */
"CAPI: Fleet Carrier data incomplete" = "CAPI: Dados de Transportador de Frota incompletos";

/* EDMarketConnector.py: No data was returned for the Fleet Carrier from the Frontier CAPI; In files: EDMarketConnector.py:1219; */
"CAPI: No Fleet Carrier data returned" = "CAPI: Sem dados de Transportador de Frota";

/* prefs.py: Configuration - Enable or disable the Fleet Carrier CAPI calls; In files: prefs.py:475; */
"Enable Fleet Carrier CAPI Queries" = "Ligar Consultas CAPI de Transportador de Frota";

/* edsm.py:Settings>EDSM - Label on checkbox for 'send data'; In files: edsm.py:316; */
"Send flight log and CMDR status to EDSM" = "Enviar registos de voo e estado de CMDR para o EDSM";

Expand Down Expand Up @@ -126,6 +138,15 @@
/* EDMarketConnector.py: Label for 'Copy' as in 'Copy and Paste'; ttkHyperlinkLabel.py: Label for 'Copy' as in 'Copy and Paste'; In files: EDMarketConnector.py:962; ttkHyperlinkLabel.py:53; */
"Copy" = "Copiar";

/* myNotebook.py: Label for 'Cut' as in 'Cut and Paste'; */
"Cut" = "Cortar";

/* myNotebook.py: Label for 'Paste' as in 'Copy and Paste'; */
"Paste" = "Colar";

/* myNotebook.py: Label for 'Select All'; */
"Select All" = "Selecionar Tudo";

/* EDMarketConnector.py: CAPI auth aborted because of killswitch; EDMarketConnector.py: CAPI auth query aborted because of killswitch; In files: EDMarketConnector.py:973; EDMarketConnector.py:1067; */
"CAPI auth disabled by killswitch" = "Autenticação CAPI desligada por botão";

Expand Down Expand Up @@ -783,6 +804,19 @@
/* update.py: Update Available Text; In files: update.py:229; */
"{NEWVER} is available" = "{NEWVER} disponível.";

/* prefs.py: Stable Version of EDMC; */
"Stable" = "Estável";

/* prefs.py: Select the Update Track (Beta, Stable); */
"Update Track" = "Caminho de Actualizações";

/* EDMarketConnector.py: Inform the user the Update Track has changed; */
"Update Track Changed to {TRACK}" = "Caminho de Actualizações alterado para {TRACK}";


/* EDMarketConnector.py: Inform User of Beta -> Stable Transition Risks; */
"Update track changed to Stable from Beta. You will no longer receive Beta updates. You will stay on your current Beta version until the next Stable release.\r\n\r\nYou can manually revert to the latest Stable version. To do so, you must download and install the latest Stable version manually. Note that this may introduce bugs or break completely if downgrading between major versions with significant changes.\r\n\r\nDo you want to open GitHub to download the latest release?" = "Caminho de Actualizações alterado de Estável para Beta. Deixará de receber actualizações Beta. Irá continuar na versão Beta até à próxima actualização Estável.\n\nPode, manualmente, reverter para a última versão Estável. Para isso, faça download e instale a última versão Estável manualmente. Note que o retrocesso para versões anteriores com diferenças significativas poderá introduzir bugs ou danificar a instalação.\n\nDeseja abrir o GitHub para fazer download da última versão?";

/* myNotebook.py: Can't Paste Images or Files in Text; */
"Cannot paste non-text content." = "Só é possível colar conteúdo texto.";

Expand Down
2 changes: 1 addition & 1 deletion config/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
# <https://semver.org/#semantic-versioning-specification-semver>
# Major.Minor.Patch(-prerelease)(+buildmetadata)
# NB: Do *not* import this, use the functions appversion() and appversion_nobuild()
_static_appversion = '5.11.2'
_static_appversion = '5.11.3'
_cached_version: semantic_version.Version | None = None
copyright = '© 2015-2019 Jonathan Harris, 2020-2024 EDCD'

Expand Down
28 changes: 14 additions & 14 deletions plugins/eddn.py
Original file line number Diff line number Diff line change
Expand Up @@ -958,13 +958,13 @@ def export_journal_outfitting(self, cmdr: str, is_beta: bool, entry: Mapping[str
self.send_message(cmdr, {
'$schemaRef': f'https://eddn.edcd.io/schemas/outfitting/2{"/test" if is_beta else ""}',
'message': {
('timestamp', entry['timestamp']),
('systemName', entry['StarSystem']),
('stationName', entry['StationName']),
('marketId', entry['MarketID']),
('horizons', horizons),
('modules', outfitting),
('odyssey', entry['odyssey'])
'timestamp': entry['timestamp'],
'systemName': entry['StarSystem'],
'stationName': entry['StationName'],
'marketId': entry['MarketID'],
'horizons': horizons,
'modules': outfitting,
'odyssey': entry['odyssey']
},
})

Expand Down Expand Up @@ -992,13 +992,13 @@ def export_journal_shipyard(self, cmdr: str, is_beta: bool, entry: Mapping[str,
self.send_message(cmdr, {
'$schemaRef': f'https://eddn.edcd.io/schemas/shipyard/2{"/test" if is_beta else ""}',
'message': {
('timestamp', entry['timestamp']),
('systemName', entry['StarSystem']),
('stationName', entry['StationName']),
('marketId', entry['MarketID']),
('horizons', horizons),
('ships', shipyard),
('odyssey', entry['odyssey'])
'timestamp': entry['timestamp'],
'systemName': entry['StarSystem'],
'stationName': entry['StationName'],
'marketId': entry['MarketID'],
'horizons': horizons,
'ships': shipyard,
'odyssey': entry['odyssey']
},
})

Expand Down

0 comments on commit 9cc4630

Please sign in to comment.