mirror of
https://github.com/ankitects/anki.git
synced 2025-11-10 06:37:12 -05:00
clarify 409 msg
This commit is contained in:
parent
b42c0c725b
commit
2f3f285528
1 changed files with 7 additions and 2 deletions
|
|
@ -2,8 +2,12 @@
|
|||
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||
|
||||
from __future__ import division
|
||||
import socket
|
||||
import time
|
||||
import traceback
|
||||
import gc
|
||||
|
||||
from aqt.qt import *
|
||||
import socket, time, traceback, gc
|
||||
import aqt
|
||||
from anki import Collection
|
||||
from anki.sync import Syncer, RemoteServer, FullSyncer, MediaSyncer, \
|
||||
|
|
@ -11,6 +15,7 @@ from anki.sync import Syncer, RemoteServer, FullSyncer, MediaSyncer, \
|
|||
from anki.hooks import addHook, remHook
|
||||
from aqt.utils import tooltip, askUserDialog, showWarning, showText, showInfo
|
||||
|
||||
|
||||
# Sync manager
|
||||
######################################################################
|
||||
|
||||
|
|
@ -161,7 +166,7 @@ AnkiWeb is too busy at the moment. Please try again in a few minutes.""")
|
|||
elif "504" in err:
|
||||
return _("504 gateway timeout error received. Please try temporarily disabling your antivirus.")
|
||||
elif "409" in err:
|
||||
return _("A previous sync failed; please try again in a few minutes.")
|
||||
return _("Only one client can access AnkiWeb at a time. If a previous sync failed, please try again in a few minutes.")
|
||||
elif "10061" in err or "10013" in err:
|
||||
return _(
|
||||
"Antivirus or firewall software is preventing Anki from connecting to the internet.")
|
||||
|
|
|
|||
Loading…
Reference in a new issue