mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 16:43:40 +02:00
Show number of dups found
This commit is contained in:
parent
fa392c42a8
commit
b5e7eaa2c7
1 changed files with 4 additions and 1 deletions
|
|
@ -20,7 +20,10 @@ def __init__(self, db, duplicates, parent=None):
|
|||
QDialog.__init__(self, parent)
|
||||
self.l = l = QGridLayout()
|
||||
self.setLayout(l)
|
||||
self.setWindowTitle(_('Duplicates found!'))
|
||||
t = ngettext('Duplicate found', 'Duplicates found', len(duplicates))
|
||||
if len(duplicates) > 1:
|
||||
t = '%d %s' % (len(duplicates), t)
|
||||
self.setWindowTitle(t)
|
||||
self.i = i = QIcon(I('dialog_question.png'))
|
||||
self.setWindowIcon(i)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue