mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Merge branch 'master' of https://github.com/sobjornstad/anki
This commit is contained in:
commit
06b61fc2c7
1 changed files with 1 additions and 1 deletions
|
@ -357,7 +357,7 @@ group by day order by day""" % (self._limit(), lim),
|
||||||
perMin = _("%.01f cards/minute") % perMin
|
perMin = _("%.01f cards/minute") % perMin
|
||||||
# don't round down to zero
|
# don't round down to zero
|
||||||
if float(perMin.split(' ')[0]) < 0.1:
|
if float(perMin.split(' ')[0]) < 0.1:
|
||||||
perMin = ''.join(["<", _("%.01f cards/minute")]) % 0.1
|
perMin = _("less than 0.1 cards/minute")
|
||||||
self._line(
|
self._line(
|
||||||
i, _("Average answer time"),
|
i, _("Average answer time"),
|
||||||
_("%(a)0.1fs (%(b)s)") % dict(a=(tot*60)/total, b=perMin))
|
_("%(a)0.1fs (%(b)s)") % dict(a=(tot*60)/total, b=perMin))
|
||||||
|
|
Loading…
Reference in a new issue