Skip to content
Snippets Groups Projects
Commit 85030908 authored by Wouter Wolters's avatar Wouter Wolters
Browse files

[BUGFIX] Fix wrong reference to language file in FileList class

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: default avatarMarkus Klein <markus.klein@typo3.org>
Tested-by: default avatarMarkus Klein <markus.klein@typo3.org>
Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
parent 7c5c26eb
Branches
Tags
No related merge requests found
...@@ -1029,7 +1029,7 @@ class FileList extends AbstractRecordList ...@@ -1029,7 +1029,7 @@ class FileList extends AbstractRecordList
// copy the file // copy the file
if ($fileOrFolderObject->checkActionPermission('copy') && $this->clipObj->current === 'normal') { 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(); $copyIcon = $this->iconFactory->getIcon('actions-edit-copy', Icon::SIZE_SMALL)->render();
if ($isSel === 'copy') { if ($isSel === 'copy') {
...@@ -1041,7 +1041,7 @@ class FileList extends AbstractRecordList ...@@ -1041,7 +1041,7 @@ class FileList extends AbstractRecordList
// cut the file // cut the file
if ($fileOrFolderObject->checkActionPermission('move') && $this->clipObj->current === 'normal') { 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(); $cutIcon = $this->iconFactory->getIcon('actions-edit-cut', Icon::SIZE_SMALL)->render();
if ($isSel === 'cut') { if ($isSel === 'cut') {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment