Added missing translation key in attachment table.

This commit is contained in:
Jan Böhmer 2019-11-16 21:37:59 +01:00
parent 0d215e7e2f
commit 5b3533fd3e

View file

@ -110,6 +110,7 @@ class AttachmentDataTable implements DataTableTypeInterface
]); ]);
$dataTable->add('attachment_type', TextColumn::class, [ $dataTable->add('attachment_type', TextColumn::class, [
'label' => $this->translator->trans('attachment.table.type'),
'field' => 'attachment_type.name', 'field' => 'attachment_type.name',
'render' => function ($value, Attachment $context) { 'render' => function ($value, Attachment $context) {
return sprintf( return sprintf(