diff --git a/Classes/Form/Container/Grid.php b/Classes/Form/Container/Grid.php index cc7101851..f755e56f6 100644 --- a/Classes/Form/Container/Grid.php +++ b/Classes/Form/Container/Grid.php @@ -15,7 +15,6 @@ use FluidTYPO3\Flux\Integration\FormEngine\SelectOption; use FluidTYPO3\Flux\Utility\ColumnNumberUtility; use TYPO3\CMS\Backend\View\BackendLayout\BackendLayout; -use TYPO3\CMS\Extbase\Utility\LocalizationUtility; class Grid extends AbstractFormContainer implements ContainerInterface { @@ -177,9 +176,7 @@ protected function createBackendLayout(string $name, string $label, string $conf { return new BackendLayout( $name, - (string) LocalizationUtility::translate($label) - ? $label - : 'LLL:EXT:flux/Resources/Private/Language/locallang.xlf:flux.grid.grids.grid', + $label ?: 'LLL:EXT:flux/Resources/Private/Language/locallang.xlf:flux.grid.grids.grid', $configuration ); }