mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-18 21:28:28 +01:00
Fixed translation of stock change type in log table
This commit is contained in:
@@ -139,7 +139,7 @@ class LogDataTable implements DataTableTypeInterface
|
||||
if ($context instanceof PartStockChangedLogEntry) {
|
||||
$text .= sprintf(
|
||||
' (<i>%s</i>)',
|
||||
$this->translator->trans('log.part_stock_changed.' . $context->getInstockChangeType()->toExtraShortType())
|
||||
$this->translator->trans($context->getInstockChangeType()->toTranslationKey())
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user