mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
fix matplotlib msg, open online
This commit is contained in:
parent
cac5fd2347
commit
0a4b97c780
2 changed files with 5 additions and 4 deletions
|
@ -659,7 +659,7 @@ class AnkiQt(QMainWindow):
|
|||
if not self.saveAndClose(exit=True): return
|
||||
self.deck = DeckStorage.Deck()
|
||||
# ensure all changes come to us
|
||||
self.deck.syncName = None
|
||||
self.deck.syncName = "something"
|
||||
self.deck.modified = 0
|
||||
self.deck.lastLoaded = self.deck.modified
|
||||
if self.config['syncUsername'] and self.config['syncPassword']:
|
||||
|
@ -899,7 +899,7 @@ class AnkiQt(QMainWindow):
|
|||
else:
|
||||
ui.utils.showInfo(_(
|
||||
"Your version of Matplotlib is broken.\n"
|
||||
"Please see http://repose.ath.cx/tracker/anki/issue102"))
|
||||
"Please see http://ichi2.net/anki/wiki/MatplotlibBroken"))
|
||||
else:
|
||||
ui.utils.showInfo(_("Please install python-matplotlib to access graphs."))
|
||||
|
||||
|
|
|
@ -169,12 +169,13 @@ class StatusView(object):
|
|||
self.remText.setText(remStr % stats)
|
||||
stats['suspended'] = self.main.deck.suspendedCardCount()
|
||||
stats['spaced'] = self.main.deck.spacedCardCount()
|
||||
stats['new2'] = self.main.deck.newCardCount()
|
||||
self.remText.setToolTip(_(
|
||||
"<h1>Remaining cards</h1>"
|
||||
"The number of cards left to answer."
|
||||
"<p/>There are <b>%(failed)d</b> failed cards due soon.<br>"
|
||||
"There are <b>%(successive)d</b> cards awaiting review.<br>"
|
||||
"There are <b>%(new)d</b> new cards.<br>"
|
||||
"There are <b>%(new)d</b> new cards due today.<br><br>"
|
||||
"There are <b>%(new2)d</b> new cards in total.<br>"
|
||||
"There are <b>%(spaced)d</b> spaced cards.<br>"
|
||||
"There are <b>%(suspended)d</b> suspended cards.") % stats)
|
||||
# eta
|
||||
|
|
Loading…
Reference in a new issue