1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-21 11:27:38 +03:00

Forgot to re-localise when reading from conf

This commit is contained in:
A_D 2021-05-28 13:05:49 +02:00
parent 82c5292d0a
commit 4c658577f4
No known key found for this signature in database
GPG Key ID: 4BE9EB7DF45076C4

@ -47,8 +47,9 @@ def plugin_start3(path: str) -> str:
normal_textvar.set(value=normal_url)
beta_textvar.set(value=beta_url)
if override_mode == DEFAULT_OVERRIDE_MODE:
override_textvar.set(value=_("Auto"))
override_textvar.set(
value={'auto': _('Auto'), 'normal': _('Normal'), 'beta': _('Beta')}.get(override_mode, _('Auto'))
)
return 'Coriolis'