Skip to content

Commit

Permalink
Merge branch 'master' of github.com:dae/anki
Browse files Browse the repository at this point in the history
  • Loading branch information
dae committed Jan 14, 2013
2 parents 76d5b5b + 4dfe291 commit 4ab78cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion anki/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def todayStats(self):
# studied
def bold(s):
return "<b>"+unicode(s)+"</b>"
msgp1 = ngettext("%d card", "%d cards", cards) % cards
msgp1 = ngettext("<!--studied-->%d card", "<!--studied-->%d cards", cards) % cards
b += _("Studied %(a)s in %(b)s today.") % dict(
a=bold(msgp1), b=bold(fmtTimeSpan(thetime, unit=1)))
# again/pass count
Expand Down
2 changes: 1 addition & 1 deletion aqt/deckbrowser.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def _renderStats(self):
where id > ?""", (self.mw.col.sched.dayCutoff-86400)*1000)
cards = cards or 0
thetime = thetime or 0
msgp1 = ngettext("%d card", "%d cards", cards) % cards
msgp1 = ngettext("<!--studied-->%d card", "<!--studied-->%d cards", cards) % cards
buf = _("Studied %(a)s in %(b)s today.") % dict(a=msgp1,
b=fmtTimeSpan(thetime, unit=1))
return buf
Expand Down

0 comments on commit 4ab78cf

Please sign in to comment.