Added translations for log table.

This commit is contained in:
Jan Böhmer 2020-01-25 20:20:46 +01:00
parent 0e74ac8653
commit bc89ff7a68
3 changed files with 205 additions and 1 deletions

View file

@ -72,7 +72,7 @@ class LogDataTable implements DataTableTypeInterface
'label' => $this->translator->trans('log.level'),
'propertyPath' => 'levelString',
'render' => function (string $value, AbstractLogEntry $context) {
return $this->translator->trans('log.level.' . $value);
return $value;
}
]);