[TASK] sysext/recordlist: Moved text constants to language file 98/50798/3
authorMichael Oehlhof <typo3@oehlhof.de>
Mon, 28 Nov 2016 18:56:09 +0000 (19:56 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Thu, 1 Dec 2016 11:04:36 +0000 (12:04 +0100)
Resolves: #78826
Releases: master
Change-Id: I48cab43e191d3f677a236feb9d3b74dd551e3d05
Reviewed-on: https://review.typo3.org/50798
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Gianluigi Martino <gmartino27@gmail.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Daniel Alder <dalder@snowflake.ch>
Tested-by: Daniel Alder <dalder@snowflake.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/lang/locallang_browse_links.xlf
typo3/sysext/recordlist/Classes/Browser/DatabaseBrowser.php
typo3/sysext/recordlist/Classes/Browser/FileBrowser.php
typo3/sysext/recordlist/Classes/Browser/FolderBrowser.php

index 233d586..7b2780b 100644 (file)
                        <trans-unit id="importSelection">
                                <source>Import selection</source>
                        </trans-unit>
                        <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>
                </body>
        </file>
 </xliff>
index 82fb5e4..b88450e 100644 (file)
@@ -114,7 +114,7 @@ class DatabaseBrowser extends AbstractElementBrowser implements ElementBrowserIn
         $renderedRecordList = $this->renderTableRecords($allowedTables);
 
         $this->initDocumentTemplate();
         $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 .= '
         $content .= $this->doc->getFlashMessages();
 
         $content .= '
index 8d8bd35..58143c4 100644 (file)
@@ -186,7 +186,7 @@ class FileBrowser extends AbstractElementBrowser implements ElementBrowserInterf
 
         $this->initDocumentTemplate();
         // Starting content:
 
         $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
         $content .= $this->doc->getFlashMessages();
 
         // Insert the upload form on top, if so configured
index 793802a..304af25 100644 (file)
@@ -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();
 
         // Putting the parts together, side by side:
         $content .= $this->doc->getFlashMessages();
 
         // Putting the parts together, side by side: