mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
translation dict
This commit is contained in:
parent
6f88deab52
commit
12c0c64841
1 changed files with 1 additions and 1 deletions
|
@ -689,7 +689,7 @@ $(function () {
|
||||||
def _avgDay(self, tot, num, unit):
|
def _avgDay(self, tot, num, unit):
|
||||||
vals = []
|
vals = []
|
||||||
try:
|
try:
|
||||||
vals.append(_("%d %s/day") % (tot/float(num), unit))
|
vals.append(_("%(a)d %(b)s/day") % dict(a=tot/float(num), b=unit))
|
||||||
return ", ".join(vals)
|
return ", ".join(vals)
|
||||||
except ZeroDivisionError:
|
except ZeroDivisionError:
|
||||||
return ""
|
return ""
|
||||||
|
|
Loading…
Reference in a new issue