mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04: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
@ -289,9 +289,13 @@ class Polish(QDialog): # {{{
|
||||
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…
x
Reference in New Issue
Block a user