1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-13 15:57:14 +03:00

81 Commits

Author SHA1 Message Date
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
Athanasius
6484540263 UI Scaling: Add new strings to translation template 2020-09-09 13:35:05 +01:00
Athanasius
6e7f934a74 Translations: Change to %H:%M:%S version of 'Last updated at'
This puts this branch in sync with OneSkyApp again, the same as develop.
2020-08-27 11:11:37 +01:00
Athanasius
d18c53e82b Translations: Add 'Use alternate URL method' to phrases 2020-08-02 19:29:03 +01:00
Athanasius
38593058f4 Use translations of some words in Python 3.x popup text
'File', 'Settings' and 'Plugins' are defined to have translations for
the menus/tabs texts, so use them.
2020-07-01 15:55:37 +01:00
Athanasius
9469ec3079 Use literal '.disabled' in the Python 3.x popup text 2020-07-01 15:55:37 +01:00
Athanasius
8ad1201457 Translations: Add recent new strings
* Plugins Without Python 3.x Support
 * Information on migrating plugins
 * Disable Automatic Application Updates Check when in-game

Closes #529
2020-07-01 15:55:37 +01:00
Athanasius
821111284e Add translations for python 3.x warning popup 2020-07-01 15:55:37 +01:00
Jonathan Harris
efdade508d Indicate successful authentication
Fixes #389
2019-01-10 00:01:03 +00:00
Jonathan Harris
687957b775 Add privacy policy 2018-12-28 03:33:07 +00:00
Jonathan Harris
f17f5d3f25 PKCE OAuth2 access to cAPI 2018-12-28 03:32:26 +00:00
Jonathan Harris
cc4390de49 Switch EDDN integration to a plugin 2018-11-18 01:52:05 +00:00
Jonathan Harris
6c254f4bcd Get timestamp for cAPI-derived data from cAPI server
Fixes #318
2018-04-25 00:43:32 +01:00
Jonathan Harris
c874311349 Update tranlsations 2018-04-04 22:51:04 +01:00
Jonathan Harris
e3323f8f6f Drop support for interaction log 2017-11-24 08:59:50 +00:00
Jonathan Harris
85cae73529 Add support for syncing with Inara 2017-11-06 00:37:35 +00:00
Jonathan Harris
b2f13e94c7 Separate error for cAPI SKU failure 2017-10-06 19:49:04 +01:00
Jonathan Harris
976e044178 No longer need to suppress Update when carrying rares
FDev bug fixed in 2.4.
Fixes #92
2017-09-10 23:58:11 +01:00
Jonathan Harris
2038d2b2cc Fix typo 2017-08-15 09:12:59 +01:00
Jonathan Harris
e810b87dd4 Switch EDSM integration to a plugin 2017-07-29 15:36:44 +01:00
Jonathan Harris
60ad3b4c09 Inform plugins of Cmdr and Beta status
Notify plugins when Cmdr or Beta status changes while the preferences dialog
is open.

Display a note on the Credentials tab when Cmdr is not set. Addresses #224
2017-07-29 15:36:43 +01:00
Jonathan Harris
fe0835be10 Switch eddb integration to a plugin 2017-07-29 14:42:00 +01:00
Jonathan Harris
f53a837f85 Update translations 2017-06-30 19:15:49 +01:00
Jonathan Harris
fac7501855 Use EDDN gateway's idea of time-of-day rather than NTP's
Reverts ea0c3d3
2017-06-28 13:36:41 +01:00
Jonathan Harris
ea0c3d3e9a Check system time against NTP on startup 2017-06-28 10:18:12 +01:00
Jonathan Harris
5a5c6e6d08 Update translations 2017-06-19 14:31:39 +01:00
Jonathan Harris
584afec8ca Don't send data to EDDN or EDSM while on a crew 2017-05-03 13:35:47 +01:00
Jonathan Harris
2e63245859 Mention "Frontier" in FDev server errors 2017-04-27 21:20:36 +01:00
Jonathan Harris
964558a9c8 Add translation help text
Also cosmetic changes.
2017-04-25 12:07:20 +01:00
Jonathan Harris
01de54859e Update translations 2017-04-12 00:23:21 +01:00
Jonathan Harris
e571e2860d Add Transparent theme on Windows 2017-01-30 15:40:34 +00:00
Jonathan Harris
85191508d3 Specific error for API data doesn't match Journal 2017-01-12 01:29:26 +00:00
Jonathan Harris
9cfc9ddc4c Add Help menu 2017-01-12 01:29:26 +00:00
Jonathan Harris
0a0ee6773f Add ship values to stats dialog 2017-01-12 01:29:25 +00:00
Jonathan Harris
4dcecc2989 Drop support for Slopey's BPC format 2016-12-19 15:31:28 +00:00
Jonathan Harris
1f6a5883b7 Support Coriolis as an option for Ship link
Also switch to common loadout format with E:D Shipyard.
2016-11-22 00:52:30 +00:00
Jonathan Harris
7f2cf3a286 Rationalise startup sequence 2016-09-16 17:47:53 +01:00
Jonathan Harris
91b5d0a6ea Point to journal location in SavedGames folder 2016-09-16 17:47:53 +01:00
Jonathan Harris
5e90f040cc Give error when Companion server lagging 2016-09-02 16:05:20 +01:00
Jonathan Harris
70dfcd1375 Update translations 2016-08-22 21:39:44 +01:00