mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -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-connecting = Connecting...
|
||||||
sync-added-updated-count = Added/modified: { $up }↑ { $down }↓
|
sync-added-updated-count = Added/modified: { $up }↑ { $down }↓
|
||||||
sync-log-out-button = Log Out
|
sync-log-out-button = Log Out
|
||||||
|
sync-collection-complete = Collection sync complete.
|
||||||
|
|
|
@ -32,6 +32,7 @@ from aqt.utils import (
|
||||||
disable_help_button,
|
disable_help_button,
|
||||||
showText,
|
showText,
|
||||||
showWarning,
|
showWarning,
|
||||||
|
tooltip,
|
||||||
tr,
|
tr,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -113,6 +114,7 @@ def sync_collection(mw: aqt.main.AnkiQt, on_done: Callable[[], None]) -> None:
|
||||||
if out.server_message:
|
if out.server_message:
|
||||||
showText(out.server_message)
|
showText(out.server_message)
|
||||||
if out.required == out.NO_CHANGES:
|
if out.required == out.NO_CHANGES:
|
||||||
|
tooltip(parent=mw, msg=tr.sync_collection_complete())
|
||||||
# all done; track media progress
|
# all done; track media progress
|
||||||
mw.media_syncer.start_monitoring()
|
mw.media_syncer.start_monitoring()
|
||||||
return on_done()
|
return on_done()
|
||||||
|
|
Loading…
Reference in a new issue