mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix a regression that caused a harmless error popup when displaying tooltips in the select format dialog
This commit is contained in:
parent
5ab3c7b727
commit
6b9d4a16d5
@ -37,7 +37,7 @@ class Formats(QAbstractListModel):
|
||||
fmt = self.fmts[row]
|
||||
count = self.counts[fmt]
|
||||
return _('There is one book with the {} format').format(fmt.upper()) if count == 1 else _(
|
||||
'There are {count} books with the {fmt} format', count).format(
|
||||
'There are {count} books with the {fmt} format').format(
|
||||
count=count, fmt=fmt.upper())
|
||||
return None
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user