1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-12 23:37:14 +03:00

120 Commits

Author SHA1 Message Date
David Sangrey
3563084f67
#2031 Remove more references to EDDB 2023-07-22 20:54:32 -04:00
Athanasius
5daabc57ef
translations: Updated l10n/en.template via script 2023-01-04 15:08:55 +00:00
Athanasius
fe38367e19
Translations: Update en.template with latest script output
Yes, we're just trusting it this time.
2023-01-03 11:48:18 +00:00
Athanasius
4b31b67042
CAPI: Only perform queries for Live galaxy.
* This is *temporary* pending properly implementing utilising the Legacy
  CAPI host.
* Check in the EDMarketConnector.EDApp.capi_request_data() function *and*
  also in some companion.session functions.  But not absolutely all possible
  entry points because we'll be undoing it when we implement Legacy support.

This *is* sufficient for the current core code entry points.  If any plugin
is invoking its own CAPI requests, well it shouldn't be.
2022-12-01 16:42:04 +00:00
Athanasius
a944eaf445
translations: Add new inara.py string about Live data only 2022-11-27 16:49:45 +00:00
A_D
ddcb5219b4
fix mercenary rank, add some comments 2022-01-25 19:23:22 +02:00
A_D
046c07e89c
add Elite I-V 2022-01-25 18:43:04 +02:00
A_D
1f9f7d45f9
update lang 2022-01-25 17:48:56 +02:00
Athanasius
ba69029593
L10n: Re-generated now we have a LANG for "Minimize to systray" 2021-11-13 12:38:49 +00:00
Athanasius
33fbbd4da9
eddn/L10n: Use single quotes in translated strings 2021-11-12 15:36:26 +00:00
Athanasius
f5a4469337
EDDN: Sanity check NavRoute contents & handle EDDN 400
* Closes #1342 - A user had a NavRoute message with no Route array.
  It's always from the file, so the file had to be missing it?
* This results in an EDDN '400', and now we'll drop such messages from
  the replaylog so they're not constantly retried.
2021-11-12 15:06:27 +00:00
Athanasius
531302b7da
Notify user when 'File' > 'Status' fails
Rather than a silent failure, set a status line message and also play
the 'bad' sound to draw their attention to it.
2021-10-20 14:32:04 +01:00
Athanasius
4397acc6fb
CAPI: Status text when aborting due to CQC (& en.template updated) 2021-08-24 14:06:12 +01:00
A_D
a0c1854818
fixed letter transposition
I hate the word captain.
2021-08-07 20:20:48 +02:00
A_D
455250019d
added lang entries 2021-06-28 10:36:37 +02:00
Athanasius
713b6b753d CAPI: Catch where we're CAPI-docked, but monitor.station is None
Docked at an EDO settlement means CAPI says we are, but we've forgotten
monitor.station because there's not enough Journal information and too
many corner cases to be *sure* of re-using old data.
2021-06-13 20:09:00 +01:00
Athanasius
a0b310f72e Translations: Amalgamate some LANG comments & en.template updated 2021-06-13 15:49:09 +01:00
Athanasius
b6f3713531 Translations: Updated en.template with new LANG-comment based comments 2021-06-13 14:03:05 +01:00
A_D
17980ac6ad
Added localisation 2021-06-07 18:10:25 +02:00
Athanasius
32101bdba5 Translations: auto-generated file now has !Language header 2021-06-07 15:03:46 +01:00
Athanasius
6d0f5259d0 Translations: Use script-provided version
This loads in to EDMarketConnector.py without errors, and a quick check
of German in Settings appeared to show all of the correct translations.
2021-06-07 14:22:33 +01:00
Athanasius
87ff0b08a1 Translations: Full phrase "Error: Check E:D journal file location" 2021-06-07 14:17:28 +01:00
Athanasius
73ead7c4ef Translations: Add generic 'Check', as in 'Check E:D journal file location' 2021-06-05 09:19:47 +01:00
Athanasius
704bbb3982 Release 5.1.0: Translations updated from OneSky
That includes the en.strings > en.template diff for order.
2021-06-04 19:05:38 +01:00
A_D
57abeb0dcf
newline 2021-05-28 13:18:09 +02:00
A_D
90e3238e10
added forwardslash to title 2021-05-28 13:14:49 +02:00
A_D
37b37eae56
Fixed localisation 2021-05-28 11:51:14 +02:00
Athanasius
431d83b5ca companion: Tweak 'server returned an error' message & translate 2021-05-21 14:32:26 +01:00
Athanasius
89c486401e Translations: companion.py "Frontier CAPI query failure" 2021-05-21 14:25:51 +01:00
Athanasius
1bc1a4f1b9 CAPI: Changed "CAPI down" message to be specific
The old "Error: Frontier server is down" can easily be confused as "game
servers are down".  The new version calls out the CAPI specifically.

Closes #585
2021-05-17 12:10:08 +01:00
Athanasius
389a781de3 translations: Also edsm killswitch phrase 2021-05-17 10:21:39 +01:00
Athanasius
b862f6b00a Translations: Add killswitch 'disabled' messages. 2021-05-17 10:18:04 +01:00
Athanasius
f8f4fa6bb3 L10n: Add 'Suit' to en.template 2021-04-26 23:09:22 +01:00
Athanasius
77e6b64c64 L10n: Move "Minimize to system tray" to correct position 2021-04-26 23:08:08 +01:00
Sayak Mukhopadhyay
b377199119 Changed logic to handle minimize too system tray 2021-04-26 15:36:43 +05:30
Sayak Mukhopadhyay
df31aed6c5 Added appearance config option and implementation for minimize to tray on close functionality 2021-04-26 01:22:01 +05:30
Athanasius
bd61cda6fa Add translation for 'Unknown', e.g. suit loadout. 2021-04-13 17:15:25 +01:00
Athanasius
99d90b52b1 translations: Re-order as per l10n.py output & some added
* Generic 'Error'.
* Strings for Access Token customer_id != FID.
* Other strings in companion.py now translating.
* Missing colon on Plugins string.
2021-04-12 14:58:03 +01:00
A_D
4692a98f04 Removed warning from transparency slider 2021-04-01 14:45:47 +01:00
A_D
0258d881ea Localised options 2021-04-01 14:45:47 +01:00
Athanasius
b11be09b56 CAPI: Handle when we get no 'commander' in returned data.
I was testing the new Steam or Epic CAPI auth.  My EGS account hasn't
yet been used, so has no commander attached.  EDMC thinks the auth has
succeeded in this case, but hitting 'Update' causes it to error because
the returned data is empty.

So, add some checks for lack of 'commander' key and a specific message
"CAPI: No commander data returned" for status line.

Without this there's a KeyError exception thrown, causing the status
line to just get 'commander' in it, which isn't helpful.
2021-03-05 16:57:02 +00:00
Athanasius
8c2609858f L10n: Removed extraneous 'WIBBLE'. 2021-03-05 16:13:10 +00:00
Athanasius
696d55a165 L10n: Add missing " character 2021-03-05 16:09:30 +00:00
Athanasius
09cc677a42 L10n: Add new strings for changed journal locking 2021-03-05 15:44:35 +00:00
Athanasius
d903d80410 Make 'Shutting down...' text translatable. 2020-12-15 14:49:22 +00:00
Athanasius
3516f1cf6d Translations: Updated with latest from OneSkyApp 2020-09-18 15:42:56 +01:00
Athanasius
5f759ee2d3 UI Scaling: Update translation now that 100 is default. 2020-09-11 09:29:00 +01:00
Athanasius
f2ab8f0fd1 UI Scaling: Switch to using integers to avoid tk bug
Using a Tk.DoubleVar() with a locale where a comma is used as the
decimals separator leads to internal tk code recording values with the
comma but then other tk code not accepting that back, so it always
thinks the value is zero and the scale slider can't be moved.

Ref: https://stackoverflow.com/questions/45289237/tkinter-scale-slider-with-float-values-doesnt-work-with-locale-of-language-that

* Change to storing as a REG_DWORD under 'ui_scale' not 'ui_scaling'.
* Change all the code, except the call to *set* the tk scaling to use an
  integer, with 100 = 100%, i.e. equivalent to the old 1.0.
* Update strings slightly, so translations will need updating too.

NB: The theme.default_ui_scale value for plugin authors to query is
still the float that tk returns.
2020-09-10 16:54:14 +01:00
Athanasius
174e169469 UI Scaling: Add text stating changes require a restart.
Also updates the translation text.
2020-09-10 16:35:59 +01:00
Athanasius
f7e516c702 L10/en.template: Add 'Log Level' 2020-09-09 13:43:45 +01:00