mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
reviews
This commit is contained in:
parent
9744736273
commit
f4b9aff58a
2 changed files with 8 additions and 1 deletions
|
@ -276,7 +276,8 @@ from revlog where id > ? """
|
|||
|
||||
def _dueInfo(self, tot, num) -> str:
|
||||
i: List[str] = []
|
||||
self._line(i, _("Total"), ngettext("%d review", "%d reviews", tot) % tot)
|
||||
self._line(i, _("Total"),
|
||||
self.col.backend.translate(StringsGroup.STATISTICS, "reviews", reviews=tot))
|
||||
self._line(i, _("Average"), self._avgDay(tot, num, _("reviews")))
|
||||
tomorrow = self.col.db.scalar(
|
||||
f"""
|
||||
|
|
|
@ -51,6 +51,12 @@ cards = { $cards ->
|
|||
*[other] {$cards} cards
|
||||
}
|
||||
|
||||
# a count of how many cards have been answered, eg "Total: 34 reviews"
|
||||
reviews = { $reviews ->
|
||||
[one] 1 review
|
||||
*[other] {$reviews} reviews
|
||||
}
|
||||
|
||||
# Shown at the bottom of the deck list, and in the statistics screen.
|
||||
# eg "Studied 3 cards in 13 seconds today (4.33s/card)."
|
||||
# The { in-time-span-seconds } part should be pasted in from the English
|
||||
|
|
Loading…
Reference in a new issue