mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-13 07:47:14 +03:00
translations: Also edsm killswitch phrase
This commit is contained in:
parent
b862f6b00a
commit
389a781de3
@ -130,6 +130,9 @@
|
||||
/* When EDDN journal handling has been killswitched [plugins/eddn.py] */
|
||||
"EDDN journal handler disabled. See Log." = "EDDN journal handler disabled. See Log.";
|
||||
|
||||
/* When EDSM functionality has been killswitched [plugins/edsm.py] */
|
||||
"EDSM Handler disabled. See Log." = "EDSM Handler disabled. See Log.";
|
||||
|
||||
/* Empire rank. [stats.py] */
|
||||
"Earl" = "Earl";
|
||||
|
||||
|
@ -343,7 +343,7 @@ def journal_entry(
|
||||
"""Journal Entry hook."""
|
||||
if (ks := killswitch.get_disabled('plugins.edsm.journal')).disabled:
|
||||
logger.warning(f'EDSM Journal handler disabled via killswitch: {ks.reason}')
|
||||
plug.show_error('EDSM Handler disabled. See Log.')
|
||||
plug.show_error(_('EDSM Handler disabled. See Log.'))
|
||||
return
|
||||
|
||||
elif (ks := killswitch.get_disabled(f'plugins.edsm.journal.event.{entry["event"]}')).disabled:
|
||||
|
Loading…
x
Reference in New Issue
Block a user