From 938abea109ebc5d88ace9b42e8945535bf8e36c8 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 23 Jun 2009 05:42:50 +0900 Subject: [PATCH] add tooltip, merge->overwrite --- ankiqt/ui/main.py | 1 + ankiqt/ui/sync.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ankiqt/ui/main.py b/ankiqt/ui/main.py index f055bed9e..145d936f8 100755 --- a/ankiqt/ui/main.py +++ b/ankiqt/ui/main.py @@ -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 diff --git a/ankiqt/ui/sync.py b/ankiqt/ui/sync.py index a7d033193..4dae3b40f 100755 --- a/ankiqt/ui/sync.py +++ b/ankiqt/ui/sync.py @@ -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)