mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-04 21:13:36 +02:00
Fix #1812388 [problem with polish fonction - version 3.38](https://bugs.launchpad.net/calibre/+bug/1812388)
This commit is contained in:
parent
b5dff9ba89
commit
8c8d520ff6
1 changed files with 5 additions and 1 deletions
|
|
@ -289,9 +289,13 @@ def do_book(self, num, book_id, formats):
|
|||
db.copy_format_to(book_id, fmt, f, index_is_id=True)
|
||||
data['files'].append(f.name)
|
||||
|
||||
nums = num
|
||||
if hasattr(self, 'pd'):
|
||||
nums = self.pd.max - num
|
||||
|
||||
desc = ngettext(_('Polish %s')%mi.title,
|
||||
_('Polish book %(nums)s of %(tot)s (%(title)s)')%dict(
|
||||
nums=self.pd.max - num, tot=len(self.book_id_map),
|
||||
nums=nums, tot=len(self.book_id_map),
|
||||
title=mi.title), len(self.book_id_map))
|
||||
if hasattr(self, 'pd'):
|
||||
self.pd.set_msg(_('Queueing book %(nums)s of %(tot)s (%(title)s)')%dict(
|
||||
|
|
|
|||
Loading…
Reference in a new issue