mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 22:53:38 +02:00
...
This commit is contained in:
parent
67213b5502
commit
db6ad0dcf9
1 changed files with 1 additions and 1 deletions
|
|
@ -259,7 +259,7 @@ def _set_label(self):
|
|||
if self.total != self.current:
|
||||
base = _('%(num)d of %(total)d books') % dict(num=self.current, total=self.total)
|
||||
else:
|
||||
base = _('%d books') % self.total
|
||||
base = ngettext('one book', '{} books', self.total).format(self.total)
|
||||
if self.selected > 0:
|
||||
base = ngettext('%(num)s, %(sel)d selected', '%(num)s, %(sel)d selected', self.selected) % dict(num=base, sel=self.selected)
|
||||
if self.library_total != self.total:
|
||||
|
|
|
|||
Loading…
Reference in a new issue