mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
i18n patch from piotr
This commit is contained in:
parent
7c40b517d0
commit
f18af5d365
1 changed files with 2 additions and 2 deletions
|
@ -1183,8 +1183,8 @@ update cards set usn=?, mod=?, did=? where odid=0 and id in """ + ids2str(
|
|||
groups = len(res)
|
||||
notes = sum(len(r[1]) for r in res)
|
||||
part1 = ngettext("%d group", "%d groups", groups) % groups
|
||||
part2 = ngettext("%d note.", "%d notes.", notes) % notes
|
||||
t += _("Found %(a)s across %(b)s") % dict(a=part1, b=part2)
|
||||
part2 = ngettext("%d note", "%d notes", notes) % notes
|
||||
t += _("Found %(a)s across %(b)s.") % dict(a=part1, b=part2)
|
||||
t += "<p><ol>"
|
||||
for val, nids in res:
|
||||
t += '<li><a href="%s">%s</a>: %s</a>' % (
|
||||
|
|
Loading…
Reference in a new issue