mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
...
This commit is contained in:
parent
156478d133
commit
68637cd26a
@ -497,7 +497,8 @@ class PolishAction(InterfaceAction):
|
|||||||
if d.jobs:
|
if d.jobs:
|
||||||
self.gui.jobs_pointer.start()
|
self.gui.jobs_pointer.start()
|
||||||
self.gui.status_bar.show_message(
|
self.gui.status_bar.show_message(
|
||||||
_('Start polishing of %d book(s)') % len(d.jobs), 2000)
|
ngettext('Start polishing the book', 'Start polishing of {} books',
|
||||||
|
len(d.jobs)).format(len(d.jobs)), 2000)
|
||||||
|
|
||||||
def book_polished(self, job):
|
def book_polished(self, job):
|
||||||
if job.failed:
|
if job.failed:
|
||||||
@ -534,4 +535,3 @@ if __name__ == '__main__':
|
|||||||
from calibre.library import db
|
from calibre.library import db
|
||||||
d = Polish(db(), {1:{'EPUB'}, 2:{'AZW3'}})
|
d = Polish(db(), {1:{'EPUB'}, 2:{'AZW3'}})
|
||||||
d.exec_()
|
d.exec_()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user