mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
fix duplicates message
This commit is contained in:
parent
926d407f30
commit
583130d416
1 changed files with 2 additions and 2 deletions
|
@ -1179,8 +1179,8 @@ update cards set usn=?, mod=?, did=? where odid=0 and id in """ + ids2str(
|
|||
self.mw.progress.start()
|
||||
res = self.mw.col.findDupes(fname, search)
|
||||
t = "<html><body>"
|
||||
t += _("Found %(a)d duplicates in %(b)d notes.") % dict(
|
||||
a=sum(len(r[1]) for r in res), b=len(res))
|
||||
t += _("Found %(a)d group of duplicates across %(b)d notes.") % dict(
|
||||
b=sum(len(r[1]) for r in res), a=len(res))
|
||||
t += "<p><ol>"
|
||||
for val, nids in res:
|
||||
t += '<li><a href="%s">%s</a>: %s</a>' % (
|
||||
|
|
Loading…
Reference in a new issue