mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
parent
a5f01329a0
commit
259ed9c34d
2 changed files with 3 additions and 0 deletions
|
@ -63,3 +63,4 @@ sync-checking = Checking...
|
|||
sync-connecting = Connecting...
|
||||
sync-added-updated-count = Added/modified: { $up }↑ { $down }↓
|
||||
sync-log-out-button = Log Out
|
||||
sync-collection-complete = Collection sync complete.
|
||||
|
|
|
@ -32,6 +32,7 @@ from aqt.utils import (
|
|||
disable_help_button,
|
||||
showText,
|
||||
showWarning,
|
||||
tooltip,
|
||||
tr,
|
||||
)
|
||||
|
||||
|
@ -113,6 +114,7 @@ def sync_collection(mw: aqt.main.AnkiQt, on_done: Callable[[], None]) -> None:
|
|||
if out.server_message:
|
||||
showText(out.server_message)
|
||||
if out.required == out.NO_CHANGES:
|
||||
tooltip(parent=mw, msg=tr.sync_collection_complete())
|
||||
# all done; track media progress
|
||||
mw.media_syncer.start_monitoring()
|
||||
return on_done()
|
||||
|
|
Loading…
Reference in a new issue