Translations: companion.py "Frontier CAPI query failure"

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

No files matched your search

+3
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";
+1 -1
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')