mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 12:24:00 +02:00
...
This commit is contained in:
parent
cad712525e
commit
6706b0ab72
1 changed files with 4 additions and 2 deletions
|
|
@ -668,7 +668,10 @@ def accept_all_remaining(self):
|
|||
|
||||
def reject_all_remaining(self):
|
||||
from calibre.gui2.dialogs.confirm_delete import confirm
|
||||
if not confirm(_('Are you sure you want to reject all %d remaining results?') % len(self.ids), 'confirm_metadata_review_reject', parent=self):
|
||||
if not confirm(ngettext(
|
||||
'Are you sure you want to reject the remaining result?',
|
||||
'Are you sure you want to reject all {} remaining results?', len(self.ids)).format(len(self.ids)),
|
||||
'confirm_metadata_review_reject', parent=self):
|
||||
return
|
||||
self.next_item(False)
|
||||
for id_ in self.ids:
|
||||
|
|
@ -698,4 +701,3 @@ def keyPressEvent(self, ev):
|
|||
for changed, mi in d.accepted.itervalues():
|
||||
if changed and mi is not None:
|
||||
print (mi)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue