1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-27 22:12:13 +03:00

13 Commits

Author SHA1 Message Date
Athanasius
e9973d239a Suits: Comment out 'duplicate' PT-BR shortnames
They're the same key, and value, as the ES ones.  PyCharm highlighted
this, flake8 did not complain.  There's a comment as to why they're
commented out, but still present in that form.
2021-05-27 11:09:52 +01:00
Athanasius
04c3b20c99 Suits: Portugese (Brazil) (short)names localisation
Also aligned all of the languages in the shortnames dict.
2021-05-26 15:28:35 +01:00
Athanasius
a38834c8eb Suits: French name localisations and short names
Also re-arranged/re-formatted the shortnames to be grouped by language,
rather than suit.
2021-05-26 15:15:27 +01:00
Athanasius
7b613b6124 Suits: Russian name localisation and short names 2021-05-26 15:07:28 +01:00
Athanasius
e93ab9033e Suits: Spanish localisation and short names.
The full string for the Flightsuit is 'Traje de vuelo', and we indeed
have 'Traje' as the translation for 'Suit', so the UI comes out as
'Traje:  de vuelo' for this.
2021-05-26 14:58:55 +01:00
Athanasius
f46618b61c Suits: Added German localisations/short forms for names. 2021-05-26 14:49:17 +01:00
Athanasius
033cfb7577 Suits: Prepare for Russian localisation of names 2021-05-25 19:09:55 +01:00
Athanasius
20f373a37d Suits: Localise out suit symbol name -> display name (stage1) lookup
We'll need to localise the following 'shortname' lookup as well.
2021-05-25 18:27:10 +01:00
Athanasius
dba3fba8e3 Suits: Fully implement mapping to sane (English only for now) names 2021-05-25 15:24:21 +01:00
Athanasius
58619a499f edmc_data: Add Jounal v31 extra Flags2 values 2021-05-18 22:42:27 +01:00
Athanasius
316bbba99d edmc_data: Add Status.json flags2 constants 2021-05-09 10:29:50 +01:00
Athanasius
2246278286 Odyssey Suits: Store available data from CAPI.
I've gone with 'None' for when there's no data, rather than {}.  That
makes for simpler checks on if there is data (a dict.get('foo') only
checks for that, not the dict structure otherwise).

If no 'suit' in the data we assume no Odyssey, but otherwise plough on
with dict.get() statements as they'll default to None if it's not
present.

*Users* of this monitor.state[] extra data get to choose what to do if
some data is present but not other.
2021-04-13 12:12:51 +01:00
Athanasius
ad8c63c64c Move util_ships.py ship_map to data.py ship_name_map
Also refactors data.py to edmc_data.py as I'm having weird issues with
PyCharm debugger not starting, and this seems to be to do with module
name clashes.
2021-04-12 08:31:47 +01:00