diff --git a/anki/stats.py b/anki/stats.py index 367e3f966..0dbead3c9 100644 --- a/anki/stats.py +++ b/anki/stats.py @@ -333,24 +333,23 @@ class DeckStats(object): html += "" + _("Card counts") + "
" html += _("Mature cards:") + " %(old)d (%(oldP)s)
" % { - 'old': stats['old'], 'oldP' : fmtPerc(stats['oldP'])} + 'old': stats['old'], 'oldP' : fmtPerc(stats['oldP'])} html += _("Young cards:") + " %(young)d (%(youngP)s)
" % { - 'young': stats['young'], 'youngP' : fmtPerc(stats['youngP'])} + 'young': stats['young'], 'youngP' : fmtPerc(stats['youngP'])} html += _("Unseen cards:") + " %(new)d (%(newP)s)

" % { - 'new': stats['new'], 'newP' : fmtPerc(stats['newP'])} - + 'new': stats['new'], 'newP' : fmtPerc(stats['newP'])} html += "" + _("Correct answers") + "
" - html += _("Mature cards:") + "" + fmtPerc(stats['gMatureYes%']) + ( + html += _("Mature cards:") + " " + fmtPerc(stats['gMatureYes%']) + ( " " + _("%(partOf)d of %(totalSum)d") % { - 'partOf' : stats['gMatureYes'], + 'partOf' : stats['gMatureYes'], 'totalSum' : stats['gMatureTotal'] } + "
") html += _("Young cards:") + " " + fmtPerc(stats['gYoungYes%']) + ( " " + _("%(partOf)d of %(totalSum)d") % { - 'partOf' : stats['gYoungYes'], + 'partOf' : stats['gYoungYes'], 'totalSum' : stats['gYoungTotal'] } + "
") html += _("First-seen cards:") + " " + fmtPerc(stats['gNewYes%']) + ( " " + _("%(partOf)d of %(totalSum)d") % { - 'partOf' : stats['gNewYes'], + 'partOf' : stats['gNewYes'], 'totalSum' : stats['gNewTotal'] } + "

") # average pending time