mirror of
https://github.com/ankitects/anki.git
synced 2025-11-12 07:37:11 -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
|
||||
the online version if one exists.
|
||||
Are you sure?""" % deckName),
|
||||
[_("Overwrite"),
|
||||
[_("Upload"),
|
||||
_("Cancel")])
|
||||
diag.setDefault(1)
|
||||
ret = diag.run()
|
||||
if ret == _("Overwrite"):
|
||||
if ret == _("Upload"):
|
||||
self.syncThread.clobberChoice = "overwrite"
|
||||
else:
|
||||
self.syncThread.clobberChoice = "cancel"
|
||||
|
|
|
|||
Loading…
Reference in a new issue