Merge branch 'master' of github.com:dae/anki
This commit is contained in:
commit
9b2109b85a
@ -341,8 +341,10 @@ group by day order by day""" % (self._limit(), lim),
|
|||||||
tot *= 60
|
tot *= 60
|
||||||
self._line(i, _("Average for days studied"), self._avgDay(
|
self._line(i, _("Average for days studied"), self._avgDay(
|
||||||
tot, studied, unit))
|
tot, studied, unit))
|
||||||
self._line(i, _("If you studied every day"), self._avgDay(
|
if studied != period:
|
||||||
tot, period, unit))
|
# don't display if you did study every day
|
||||||
|
self._line(i, _("If you studied every day"), self._avgDay(
|
||||||
|
tot, period, unit))
|
||||||
if total and tot:
|
if total and tot:
|
||||||
perMin = total / float(tot)
|
perMin = total / float(tot)
|
||||||
perMin = ngettext("%d card/minute", "%d cards/minute", perMin) % perMin
|
perMin = ngettext("%d card/minute", "%d cards/minute", perMin) % perMin
|
||||||
|
Loading…
Reference in New Issue
Block a user