mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 23:42:23 -04:00
prettify the too busy message
This commit is contained in:
parent
7a7c1d3b0d
commit
828c2cdf17
1 changed files with 3 additions and 0 deletions
|
@ -73,6 +73,9 @@ class Sync(QThread):
|
|||
self.emit(SIGNAL("badUserPass"))
|
||||
elif error.data.get('status') == "oldVersion":
|
||||
msg=_("The sync protocol has changed. Please upgrade.")
|
||||
elif "busy" in error.data.get('status', ''):
|
||||
msg=_("""\
|
||||
AnkiWeb is under heavy load at the moment. Please try again in a little while.""")
|
||||
elif error.data.get('type') == 'noResponse':
|
||||
msg=_("""\
|
||||
The server didn't reply. Please try again shortly, and if the problem \
|
||||
|
|
Loading…
Reference in a new issue