String changes

This commit is contained in:
Kovid Goyal 2017-05-09 21:26:33 +05:30
parent 21f04f1a5c
commit 8db0c710d8
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -214,7 +214,10 @@ class Adder(QObject):
self.break_cycles()
return
self.pd.max = len(self.file_groups)
self.pd.title = _('Reading metadata and adding to library (%d books)...') % self.pd.max
self.pd.title = ngettext(
'Reading metadata and adding to library (one book)...',
'Reading metadata and adding to library ({} books)...',
self.pd.max).format(self.pd.max)
self.pd.msg = ''
self.pd.value = 0
self.pool = Pool(name='AddBooks') if self.pool is None else self.pool