Fix #1225499 [non translatable "completed" for completed jobs](https://bugs.launchpad.net/calibre/+bug/1225499)

This commit is contained in:
Kovid Goyal 2013-09-15 08:58:52 +05:30
parent 615cd01acb
commit 33875132ab

View File

@ -487,7 +487,7 @@ class PolishAction(InterfaceAction):
db.save_original_format(book_id, fmt, notify=False) db.save_original_format(book_id, fmt, notify=False)
with open(path, 'rb') as f: with open(path, 'rb') as f:
db.add_format(book_id, fmt, f, index_is_id=True) db.add_format(book_id, fmt, f, index_is_id=True)
self.gui.status_bar.show_message(job.description + (' completed'), 2000) self.gui.status_bar.show_message(job.description + _(' completed'), 2000)
try: try:
shutil.rmtree(base) shutil.rmtree(base)
parent = os.path.dirname(base) parent = os.path.dirname(base)