From 828c2cdf17f1b188d390ad3441bebafcae5e633e Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Thu, 13 Jan 2011 18:51:48 +0900 Subject: [PATCH] prettify the too busy message --- ankiqt/ui/sync.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ankiqt/ui/sync.py b/ankiqt/ui/sync.py index 9f0fbcf41..709cfa209 100755 --- a/ankiqt/ui/sync.py +++ b/ankiqt/ui/sync.py @@ -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 \