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

Translations: companion.py "Frontier CAPI query failure"

This commit is contained in:
Athanasius 2021-05-21 14:25:51 +01:00
parent 9cfa60ae26
commit 89c486401e
2 changed files with 4 additions and 1 deletions

View File

@ -230,6 +230,9 @@
/* Section heading in settings. [prefs.py] */
"File location" = "File location";
/* Failures to access Frontier CAPI endpoints [companion.py] */
"Frontier CAPI query failure" = "Frontier CAPI query failure";
/* CQC rank. [stats.py] */
"Gladiator" = "Gladiator";

View File

@ -541,7 +541,7 @@ class Session(object):
except Exception as e:
logger.debug('Attempting GET', exc_info=e)
raise ServerError(f'Frontier CAPI query failure: {endpoint}') from e
raise ServerError(f'{_("Frontier CAPI query failure")}: {endpoint}') from e
if r.url.startswith(SERVER_AUTH):
logger.info('Redirected back to Auth Server')