Commit e95cb0f4 authored by Michael Oehlhof's avatar Michael Oehlhof Committed by Anja Leichsenring
Browse files

[TASK] sysext/recordlist: Moved text constants to language file

Resolves: #78826
Releases: master
Change-Id: I48cab43e191d3f677a236feb9d3b74dd551e3d05
Reviewed-on: https://review.typo3.org/50798

Reviewed-by: Jan Helke's avatarJan Helke <typo3@helke.de>
Tested-by: Jan Helke's avatarJan Helke <typo3@helke.de>
Reviewed-by: default avatarGianluigi Martino <gmartino27@gmail.com>
Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarDaniel Alder <dalder@snowflake.ch>
Tested-by: default avatarDaniel Alder <dalder@snowflake.ch>
Reviewed-by: Anja Leichsenring's avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring's avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
parent ea515096
......@@ -105,6 +105,15 @@
<trans-unit id="importSelection">
<source>Import selection</source>
</trans-unit>
<trans-unit id="recordSelector">
<source>Record selector</source>
</trans-unit>
<trans-unit id="fileSelector">
<source>File selector</source>
</trans-unit>
<trans-unit id="folderSelector">
<source>Folder selector</source>
</trans-unit>
</body>
</file>
</xliff>
......@@ -114,7 +114,7 @@ class DatabaseBrowser extends AbstractElementBrowser implements ElementBrowserIn
$renderedRecordList = $this->renderTableRecords($allowedTables);
$this->initDocumentTemplate();
$content = $this->doc->startPage('TBE record selector');
$content = $this->doc->startPage(htmlspecialchars($this->getLanguageService()->getLL('recordSelector')));
$content .= $this->doc->getFlashMessages();
$content .= '
......
......@@ -186,7 +186,7 @@ class FileBrowser extends AbstractElementBrowser implements ElementBrowserInterf
$this->initDocumentTemplate();
// Starting content:
$content = $this->doc->startPage('TBE file selector');
$content = $this->doc->startPage(htmlspecialchars($this->getLanguageService()->getLL('fileSelector')));
$content .= $this->doc->getFlashMessages();
// Insert the upload form on top, if so configured
......
......@@ -99,7 +99,7 @@ class FolderBrowser extends AbstractElementBrowser implements ElementBrowserInte
}
$this->initDocumentTemplate();
$content = $this->doc->startPage('TBE folder selector');
$content = $this->doc->startPage(htmlspecialchars($this->getLanguageService()->getLL('folderSelector')));
$content .= $this->doc->getFlashMessages();
// Putting the parts together, side by side:
......
Supports Markdown
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