[BUGFIX] Add missing language file for ContextMenu 18/58318/2
authorStefan Froemken <froemken@gmail.com>
Tue, 4 Sep 2018 15:01:29 +0000 (17:01 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 18 Sep 2018 16:17:31 +0000 (18:17 +0200)
Confirmation Modal shows buttons with translated button labels now, if
you try to delete a page from page-tree.

Resolves: #79879
Releases: master, 8.7
Change-Id: Iff2ed8205bdcc54b48ba301035cd0aac9c2de826
Reviewed-on: https://review.typo3.org/58318
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Controller/BackendController.php

index 8d690c1..c29c58e 100644 (file)
@@ -164,6 +164,8 @@ class BackendController
 
         $this->pageRenderer->addInlineSetting('ShowItem', 'moduleUrl', BackendUtility::getModuleUrl('show_item'));
 
+        $this->pageRenderer->addInlineLanguageLabelFile('EXT:lang/Resources/Private/Language/locallang_mod_web_list.xlf');
+
         $this->css = '';
 
         $this->initializeToolbarItems();