mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
fix graph dividing, make sure to display 'x cards waiting' msg
This commit is contained in:
parent
5545f5f622
commit
a6b4252428
2 changed files with 2 additions and 4 deletions
|
@ -642,9 +642,7 @@ At the same time tomorrow:<br><br>
|
||||||
'wait': ngettext("There will be <b>%s</b> card waiting.",
|
'wait': ngettext("There will be <b>%s</b> card waiting.",
|
||||||
"There will be <b>%s</b> cards waiting.", cards) % cards,
|
"There will be <b>%s</b> cards waiting.", cards) % cards,
|
||||||
}
|
}
|
||||||
if self.spacedCardCount():
|
if next - time.time() > 86400 and not newCardsTomorrow:
|
||||||
msg = _("Spaced cards will be shown soon.")
|
|
||||||
elif next - time.time() > 86400 and not newCardsTomorrow:
|
|
||||||
msg = (_("The next card will be shown in <b>%s</b>.") %
|
msg = (_("The next card will be shown in <b>%s</b>.") %
|
||||||
self.earliestTimeStr())
|
self.earliestTimeStr())
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -109,7 +109,7 @@ from stats
|
||||||
where type = 1""")
|
where type = 1""")
|
||||||
|
|
||||||
dayTimes = self.deck.s.all("""
|
dayTimes = self.deck.s.all("""
|
||||||
select day, reviewTime / 60.0 as reviewTime
|
select day, reviewTime as reviewTime
|
||||||
from stats
|
from stats
|
||||||
where type = 1""")
|
where type = 1""")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue