mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 16:26:40 -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.",
|
||||
"There will be <b>%s</b> cards waiting.", cards) % cards,
|
||||
}
|
||||
if self.spacedCardCount():
|
||||
msg = _("Spaced cards will be shown soon.")
|
||||
elif next - time.time() > 86400 and not newCardsTomorrow:
|
||||
if next - time.time() > 86400 and not newCardsTomorrow:
|
||||
msg = (_("The next card will be shown in <b>%s</b>.") %
|
||||
self.earliestTimeStr())
|
||||
else:
|
||||
|
|
|
@ -109,7 +109,7 @@ from stats
|
|||
where type = 1""")
|
||||
|
||||
dayTimes = self.deck.s.all("""
|
||||
select day, reviewTime / 60.0 as reviewTime
|
||||
select day, reviewTime as reviewTime
|
||||
from stats
|
||||
where type = 1""")
|
||||
|
||||
|
|
Loading…
Reference in a new issue