mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
68637cd26a
commit
3e30513da6
@ -35,9 +35,9 @@ class Formats(QAbstractListModel):
|
||||
if role == Qt.ToolTipRole:
|
||||
fmt = self.fmts[row]
|
||||
count = self.counts[fmt]
|
||||
return (
|
||||
_('There are %(count)d book(s) with the %(fmt)s format')%dict(
|
||||
count=count, fmt=fmt.upper()))
|
||||
return ngettext('There is one book with the {fmt} format',
|
||||
'There are {count} books with the {fmt} format', count).format(
|
||||
count=count, fmt=fmt.upper())
|
||||
return None
|
||||
|
||||
def flags(self, index):
|
||||
|
Loading…
x
Reference in New Issue
Block a user