mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
String changes
This commit is contained in:
parent
45d6c286c0
commit
f916d19522
@ -52,7 +52,7 @@ class TrashItemDelegate(QStyledItemDelegate):
|
||||
c = p.color(group, QPalette.ColorRole.HighlightedText)
|
||||
painter.setPen(c)
|
||||
|
||||
text = entry.title + '\n' + entry.author + '\n' + _('Deleted: {}').format(time_spec(entry.mtime))
|
||||
text = entry.title + '\n' + entry.author + '\n' + _('Deleted: {when}').format(when=time_spec(entry.mtime))
|
||||
if entry.formats:
|
||||
text += '\n' + ', '.join(sorted(entry.formats))
|
||||
r = QRectF(option.rect)
|
||||
|
Loading…
x
Reference in New Issue
Block a user