mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-14 16:27:13 +03:00
Mention "Frontier" in FDev server errors
This commit is contained in:
parent
0d1df6b4b1
commit
2e63245859
@ -154,11 +154,14 @@
|
||||
/* [edsm.py] */
|
||||
"Error: EDSM {MSG}" = "Error: EDSM {MSG}";
|
||||
|
||||
/* [companion.py] */
|
||||
"Error: Invalid Credentials" = "Error: Invalid Credentials";
|
||||
/* Raised when cannot contact the Companion API server. [companion.py] */
|
||||
"Error: Frontier server is down" = "Error: Frontier server is down";
|
||||
|
||||
/* Raised when Companion API server is returning old data, e.g. when the servers are too busy. [companion.py] */
|
||||
"Error: Frontier server is lagging" = "Error: Frontier server is lagging";
|
||||
|
||||
/* [companion.py] */
|
||||
"Error: Server is down" = "Error: Server is down";
|
||||
"Error: Invalid Credentials" = "Error: Invalid Credentials";
|
||||
|
||||
/* Raised when Companion API server is returning old data, e.g. when the servers are too busy. [EDMarketConnector.py] */
|
||||
"Error: Server is lagging" = "Error: Server is lagging";
|
||||
|
@ -140,13 +140,13 @@ def listify(thing):
|
||||
|
||||
class ServerError(Exception):
|
||||
def __unicode__(self):
|
||||
return _('Error: Server is down')
|
||||
return _('Error: Frontier server is down') # Raised when cannot contact the Companion API server
|
||||
def __str__(self):
|
||||
return unicode(self).encode('utf-8')
|
||||
|
||||
class ServerLagging(Exception):
|
||||
def __unicode__(self):
|
||||
return _('Error: Server is lagging') # Raised when Companion API server is returning old data, e.g. when the servers are too busy
|
||||
return _('Error: Frontier server is lagging') # Raised when Companion API server is returning old data, e.g. when the servers are too busy
|
||||
def __str__(self):
|
||||
return unicode(self).encode('utf-8')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user