[BUGFIX] Fix wrong reference to language file in FileList class 00/54900/3
authorWouter Wolters <typo3@wouterwolters.nl>
Fri, 1 Dec 2017 20:43:51 +0000 (21:43 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Fri, 1 Dec 2017 20:52:49 +0000 (21:52 +0100)
During a backport of #80920 the file reference was not updated to
the right location.

Resolves: #83187
Releases: 7.6
Change-Id: I20637d1d1ee26f892084909c600cbe43a7c46a02
Reviewed-on: https://review.typo3.org/54900
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/filelist/Classes/FileList.php

index 1c2766d..e05fd61 100644 (file)
@@ -1029,7 +1029,7 @@ class FileList extends AbstractRecordList
 
         // copy the file
         if ($fileOrFolderObject->checkActionPermission('copy') && $this->clipObj->current === 'normal') {
 
         // copy the file
         if ($fileOrFolderObject->checkActionPermission('copy') && $this->clipObj->current === 'normal') {
-            $copyTitle = htmlspecialchars($this->getLanguageService()->sL('LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:cm.copy'));
+            $copyTitle = htmlspecialchars($this->getLanguageService()->sL('LLL:EXT:lang/locallang_core.xlf:cm.copy'));
             $copyIcon = $this->iconFactory->getIcon('actions-edit-copy', Icon::SIZE_SMALL)->render();
 
             if ($isSel === 'copy') {
             $copyIcon = $this->iconFactory->getIcon('actions-edit-copy', Icon::SIZE_SMALL)->render();
 
             if ($isSel === 'copy') {
@@ -1041,7 +1041,7 @@ class FileList extends AbstractRecordList
 
         // cut the file
         if ($fileOrFolderObject->checkActionPermission('move') && $this->clipObj->current === 'normal') {
 
         // cut the file
         if ($fileOrFolderObject->checkActionPermission('move') && $this->clipObj->current === 'normal') {
-            $cutTitle = htmlspecialchars($this->getLanguageService()->sL('LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:cm.cut'));
+            $cutTitle = htmlspecialchars($this->getLanguageService()->sL('LLL:EXT:lang/locallang_core.xlf:cm.cut'));
             $cutIcon = $this->iconFactory->getIcon('actions-edit-cut', Icon::SIZE_SMALL)->render();
 
             if ($isSel === 'cut') {
             $cutIcon = $this->iconFactory->getIcon('actions-edit-cut', Icon::SIZE_SMALL)->render();
 
             if ($isSel === 'cut') {