This commit is contained in:
Damien Elmes 2020-02-21 20:36:22 +10:00
parent 9744736273
commit f4b9aff58a
2 changed files with 8 additions and 1 deletions

View file

@ -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"""

View file

@ -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