Fix typo causing a harmless error message when downloading covers and only a single cover is found

This commit is contained in:
Kovid Goyal 2019-12-27 14:26:28 +05:30
parent a158386e56
commit 1044fb014c
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -932,7 +932,7 @@ class CoversWidget(QWidget): # {{{
txt = _('Could not find any covers for <b>%s</b>')%self.book.title txt = _('Could not find any covers for <b>%s</b>')%self.book.title
else: else:
if num == 2: if num == 2:
txt = _('Found a cover for {title}').format(self.title) txt = _('Found a cover for {title}').format(title=self.title)
else: else:
txt = _( txt = _(
'Found <b>{num}</b> covers for {title}. When the download completes,' 'Found <b>{num}</b> covers for {title}. When the download completes,'