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:
|
if role == Qt.ToolTipRole:
|
||||||
fmt = self.fmts[row]
|
fmt = self.fmts[row]
|
||||||
count = self.counts[fmt]
|
count = self.counts[fmt]
|
||||||
return (
|
return ngettext('There is one book with the {fmt} format',
|
||||||
_('There are %(count)d book(s) with the %(fmt)s format')%dict(
|
'There are {count} books with the {fmt} format', count).format(
|
||||||
count=count, fmt=fmt.upper()))
|
count=count, fmt=fmt.upper())
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def flags(self, index):
|
def flags(self, index):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user