Skip to content
Snippets Groups Projects
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: default avatarJan Helke <typo3@helke.de>
Tested-by: default 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: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
parent ea515096
Branches
Tags
No related merge requests found
...@@ -105,6 +105,15 @@ ...@@ -105,6 +105,15 @@
<trans-unit id="importSelection"> <trans-unit id="importSelection">
<source>Import selection</source> <source>Import selection</source>
</trans-unit> </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> </body>
</file> </file>
</xliff> </xliff>
...@@ -114,7 +114,7 @@ class DatabaseBrowser extends AbstractElementBrowser implements ElementBrowserIn ...@@ -114,7 +114,7 @@ class DatabaseBrowser extends AbstractElementBrowser implements ElementBrowserIn
$renderedRecordList = $this->renderTableRecords($allowedTables); $renderedRecordList = $this->renderTableRecords($allowedTables);
$this->initDocumentTemplate(); $this->initDocumentTemplate();
$content = $this->doc->startPage('TBE record selector'); $content = $this->doc->startPage(htmlspecialchars($this->getLanguageService()->getLL('recordSelector')));
$content .= $this->doc->getFlashMessages(); $content .= $this->doc->getFlashMessages();
$content .= ' $content .= '
......
...@@ -186,7 +186,7 @@ class FileBrowser extends AbstractElementBrowser implements ElementBrowserInterf ...@@ -186,7 +186,7 @@ class FileBrowser extends AbstractElementBrowser implements ElementBrowserInterf
$this->initDocumentTemplate(); $this->initDocumentTemplate();
// Starting content: // Starting content:
$content = $this->doc->startPage('TBE file selector'); $content = $this->doc->startPage(htmlspecialchars($this->getLanguageService()->getLL('fileSelector')));
$content .= $this->doc->getFlashMessages(); $content .= $this->doc->getFlashMessages();
// Insert the upload form on top, if so configured // Insert the upload form on top, if so configured
......
...@@ -99,7 +99,7 @@ class FolderBrowser extends AbstractElementBrowser implements ElementBrowserInte ...@@ -99,7 +99,7 @@ class FolderBrowser extends AbstractElementBrowser implements ElementBrowserInte
} }
$this->initDocumentTemplate(); $this->initDocumentTemplate();
$content = $this->doc->startPage('TBE folder selector'); $content = $this->doc->startPage(htmlspecialchars($this->getLanguageService()->getLL('folderSelector')));
$content .= $this->doc->getFlashMessages(); $content .= $this->doc->getFlashMessages();
// Putting the parts together, side by side: // Putting the parts together, side by side:
......
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