From 069240c54053be4aba4dbeebb8508eb128a941cb Mon Sep 17 00:00:00 2001 From: Oliver Kleinecke Date: Fri, 22 Jun 2018 10:30:31 +0200 Subject: [PATCH] Update ListModuleController - correct deprecated locallang_reference Current locallang reference in line 139 of ListModuleController is deprecated and produces following output in deprecation-logs of TYPO3 8.7.16 : : There is a reference to "EXT:lang/locallang_core.xlf", which has been moved to "EXT:lang/Resources/Private/Language/locallang_core.xlf". This fallback will be removed with TYPO3 v9. --- Classes/Controller/ListModuleController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/Controller/ListModuleController.php b/Classes/Controller/ListModuleController.php index 2ed5f00..10c23d9 100644 --- a/Classes/Controller/ListModuleController.php +++ b/Classes/Controller/ListModuleController.php @@ -136,7 +136,7 @@ protected function initializeView(ViewInterface $view) $newWindowButton = GeneralUtility::makeInstance(ExtendedLinkButton::class); $newWindowButton->setIcon($newWindowIcon) ->setTarget('_blank') - ->setTitle(LocalizationUtility::translate('LLL:EXT:lang/locallang_core.xlf:labels.openInNewWindow', 'lang')) + ->setTitle(LocalizationUtility::translate('LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.openInNewWindow', 'lang')) ->setHref( $this->uriBuilder->uriFor('index') ); @@ -318,4 +318,4 @@ public function getCountAction(ServerRequestInterface $request, ResponseInterfac $response->getBody()->write(json_encode($counts)); return $response; } -} \ No newline at end of file +}