mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52: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()
|
self.mw.progress.start()
|
||||||
res = self.mw.col.findDupes(fname, search)
|
res = self.mw.col.findDupes(fname, search)
|
||||||
t = "<html><body>"
|
t = "<html><body>"
|
||||||
t += _("Found %(a)d duplicates in %(b)d notes.") % dict(
|
t += _("Found %(a)d group of duplicates across %(b)d notes.") % dict(
|
||||||
a=sum(len(r[1]) for r in res), b=len(res))
|
b=sum(len(r[1]) for r in res), a=len(res))
|
||||||
t += "<p><ol>"
|
t += "<p><ol>"
|
||||||
for val, nids in res:
|
for val, nids in res:
|
||||||
t += '<li><a href="%s">%s</a>: %s</a>' % (
|
t += '<li><a href="%s">%s</a>: %s</a>' % (
|
||||||
|
|
Loading…
Reference in a new issue