mirror of
https://github.com/ankitects/anki.git
synced 2025-11-12 15:47:12 -05:00
overwrite->upload
This commit is contained in:
parent
1eac9b52a5
commit
b3e47d836b
1 changed files with 2 additions and 2 deletions
|
|
@ -2218,11 +2218,11 @@ You are about to upload <b>%s</b>
|
||||||
to AnkiOnline. This will overwrite
|
to AnkiOnline. This will overwrite
|
||||||
the online version if one exists.
|
the online version if one exists.
|
||||||
Are you sure?""" % deckName),
|
Are you sure?""" % deckName),
|
||||||
[_("Overwrite"),
|
[_("Upload"),
|
||||||
_("Cancel")])
|
_("Cancel")])
|
||||||
diag.setDefault(1)
|
diag.setDefault(1)
|
||||||
ret = diag.run()
|
ret = diag.run()
|
||||||
if ret == _("Overwrite"):
|
if ret == _("Upload"):
|
||||||
self.syncThread.clobberChoice = "overwrite"
|
self.syncThread.clobberChoice = "overwrite"
|
||||||
else:
|
else:
|
||||||
self.syncThread.clobberChoice = "cancel"
|
self.syncThread.clobberChoice = "cancel"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue