String changes

This commit is contained in:
Kovid Goyal 2023-08-11 11:45:20 +05:30
parent 45d6c286c0
commit f916d19522
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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)