catch err 10054

This commit is contained in:
Damien Elmes 2014-01-14 14:12:49 +09:00
parent c5df294a28
commit 8769a6daf0

View file

@ -170,6 +170,8 @@ AnkiWeb is too busy at the moment. Please try again in a few minutes.""")
elif "10061" in err or "10013" in err or "10053" in err: elif "10061" in err or "10013" in err or "10053" in err:
return _( return _(
"Antivirus or firewall software is preventing Anki from connecting to the internet.") "Antivirus or firewall software is preventing Anki from connecting to the internet.")
elif "10054" in err:
return _("Connection timed out. Either your internet connection is experiencing problems, or you have a very large file in your media folder.")
elif "Unable to find the server" in err: elif "Unable to find the server" in err:
return _( return _(
"Server not found. Either your connection is down, or antivirus/firewall " "Server not found. Either your connection is down, or antivirus/firewall "