This commit is contained in:
Kovid Goyal 2016-11-01 22:51:32 +05:30
parent 156478d133
commit 68637cd26a

View file

@ -497,7 +497,8 @@ def do_polish(self, book_id_map):
if d.jobs:
self.gui.jobs_pointer.start()
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):
if job.failed:
@ -534,4 +535,3 @@ def book_polished(self, job):
from calibre.library import db
d = Polish(db(), {1:{'EPUB'}, 2:{'AZW3'}})
d.exec_()