mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-04 22:45:56 +01:00
Added translations for log table.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user