translation issues
This commit is contained in:
parent
b253a1736d
commit
97a92e5ea9
@ -172,8 +172,8 @@ select count(), sum(case when ease = 1 then 0 else 1 end) from revlog
|
|||||||
where lastIvl >= 21 and id > ?"""+lim, (self.col.sched.dayCutoff-86400)*1000)
|
where lastIvl >= 21 and id > ?"""+lim, (self.col.sched.dayCutoff-86400)*1000)
|
||||||
b += "<br>"
|
b += "<br>"
|
||||||
if mcnt:
|
if mcnt:
|
||||||
b += _("Correct answers on mature cards: %d/%d (%.1f%%)") % (
|
b += _("Correct answers on mature cards: %(a)d/%(b)d (%(c).1f%%)") % dict(
|
||||||
msum, mcnt, msum / float(mcnt) * 100)
|
a=msum, b=mcnt, c=(msum / float(mcnt) * 100))
|
||||||
else:
|
else:
|
||||||
b += _("No mature cards were studied today.")
|
b += _("No mature cards were studied today.")
|
||||||
return b
|
return b
|
||||||
|
@ -170,10 +170,10 @@ where id > ?""", (self.mw.col.sched.dayCutoff-86400)*1000)
|
|||||||
self.mw.pm.profile.get("hideDeckLotsMsg")):
|
self.mw.pm.profile.get("hideDeckLotsMsg")):
|
||||||
return ""
|
return ""
|
||||||
return "<br><div style='width:50%;border: 1px solid #000;padding:5px;'>"+(
|
return "<br><div style='width:50%;border: 1px solid #000;padding:5px;'>"+(
|
||||||
_("You have a lot of decks. Please see %s. %s") % (
|
_("You have a lot of decks. Please see %(a)s. %(b)s") % dict(
|
||||||
"<a href=lots>%s</a>" % _("this page"),
|
a=("<a href=lots>%s</a>" % _("this page")),
|
||||||
"<br><small><a href=hidelots>(%s)</a></small>" % (_("hide")))+
|
b=("<br><small><a href=hidelots>(%s)</a></small>" % (_("hide"))+
|
||||||
"</div")
|
"</div")))
|
||||||
|
|
||||||
def _renderDeckTree(self, nodes, depth=0):
|
def _renderDeckTree(self, nodes, depth=0):
|
||||||
if not nodes:
|
if not nodes:
|
||||||
|
Loading…
Reference in New Issue
Block a user