[BUGFIX] Fix path to language file in SelectTreeElement 71/54571/2
authorTymoteusz Motylewski <t.motylewski@gmail.com>
Mon, 6 Nov 2017 20:38:21 +0000 (21:38 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Mon, 6 Nov 2017 20:40:53 +0000 (21:40 +0100)
Fixes missing labels in the svg category tree toolbar.

Releases: master
Resolves: #82934
Change-Id: Iac29bc35b40894630599b3fbec48daf870a8777a
Reviewed-on: https://review.typo3.org/54571
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/backend/Classes/Form/Element/SelectTreeElement.php

index 6affcde..a830ec5 100644 (file)
@@ -149,7 +149,7 @@ class SelectTreeElement extends AbstractFormElement
 
         // add necessary labels for tree header
         if ($showHeader) {
-            $resultArray['additionalInlineLanguageLabelFiles'][] = 'EXT:lang/Resources/Private/Language/locallang_csh_corebe.xlf';
+            $resultArray['additionalInlineLanguageLabelFiles'][] = 'EXT:core/Resources/Private/Language/locallang_csh_corebe.xlf';
         }
         $resultArray['requireJsModules']['selectTreeElement'] = [
             'TYPO3/CMS/Backend/FormEngine/Element/SelectTreeElement' => 'function (SelectTreeElement) { SelectTreeElement.initialize(); }'