mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
add tooltip, merge->overwrite
This commit is contained in:
parent
6067afe85f
commit
938abea109
2 changed files with 2 additions and 1 deletions
|
@ -1999,6 +1999,7 @@ it to your friends.
|
|||
if interactive:
|
||||
self.onDeckProperties()
|
||||
self.deckProperties.dialog.qtabwidget.setCurrentIndex(1)
|
||||
self.showToolTip(_("Enable syncing, choose a name, then sync again."))
|
||||
return
|
||||
if self.deck is None and self.deckPath is None:
|
||||
# qt on linux incorrectly accepts shortcuts for disabled actions
|
||||
|
|
|
@ -214,7 +214,7 @@ class DeckChooser(QDialog):
|
|||
for name in decks:
|
||||
name = os.path.splitext(name)[0]
|
||||
if self.create:
|
||||
msg = _("Merge with '%s' on server") % name
|
||||
msg = _("Overwrite '%s' on server") % name
|
||||
else:
|
||||
msg = name
|
||||
item = QListWidgetItem(msg)
|
||||
|
|
Loading…
Reference in a new issue