[TASK] Recycler: Rename table to record type 10/36710/3
authorFrederic Gaus <gaus@flagbit.de>
Fri, 6 Feb 2015 07:56:40 +0000 (08:56 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 2 Mar 2015 16:12:12 +0000 (17:12 +0100)
Rename label "table" to "record type" in recycler

Change-Id: I81226203e3bcb705320563bc508d74f69d8142c1
Resolves: #43368
Releases: master
Reviewed-on: http://review.typo3.org/36710
Reviewed-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Tested-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/recycler/Classes/Domain/Model/Tables.php
typo3/sysext/recycler/Resources/Private/Language/locallang.xlf
typo3/sysext/recycler/Resources/Private/Partials/RecordsTable/DeletedRecord.html
typo3/sysext/recycler/Resources/Private/Templates/RecyclerModule/Index.html
typo3/sysext/recycler/Resources/Public/JavaScript/Recycler.js

index 108a6d9..4bc6af6 100644 (file)
@@ -60,7 +60,7 @@ class Tables {
                array_unshift($jsonArray, array(
                        '',
                        $deletedRecordsTotal,
-                       $lang->sL('LLL:EXT:recycler/mod1/locallang.xlf:label_alltables')
+                       $lang->sL('LLL:EXT:recycler/mod1/locallang.xlf:label_allrecordtypes')
                ));
                return $jsonArray;
        }
index 9c786c3..8421619 100644 (file)
@@ -9,9 +9,12 @@
                        <trans-unit id="description" xml:space="preserve">
                                <source>The recycler allows you to select any deleted data and undelete it. You can undelete recursive if the parent of the element is deleted too.</source>
                        </trans-unit>
-                       <trans-unit id="label_alltables" xml:space="preserve">
+                       <trans-unit id="label_alltables" xml:space="preserve" deprecated="Unused since CMS 7">
                                <source>All tables</source>
                        </trans-unit>
+                       <trans-unit id="label_allrecordtypes" xml:space="preserve">
+                               <source>All Record Types</source>
+                       </trans-unit>
                        <trans-unit id="button.cancel" xml:space="preserve">
                                <source>Cancel</source>
                        </trans-unit>
                        <trans-unit id="table.header.actions" xml:space="preserve">
                                <source>Actions</source>
                        </trans-unit>
-                       <trans-unit id="table.header.table" xml:space="preserve">
-                               <source>Table</source>
+                       <trans-unit id="table.header.recordtype" xml:space="preserve">
+                               <source>Record Type</source>
                        </trans-unit>
                        <trans-unit id="table.header.tstamp" xml:space="preserve">
                                <source>Last edit</source>
index 16ce89f..5337ea1 100644 (file)
@@ -29,7 +29,7 @@
                <table class="table">
                        <thead>
                                <tr>
-                                       <th><f:translate key="LLL:EXT:recycler/Resources/Private/Language/locallang.xlf:table.header.table" /></th>
+                                       <th><f:translate key="LLL:EXT:recycler/Resources/Private/Language/locallang.xlf:table.header.recordtype" /></th>
                                        <th><f:translate key="LLL:EXT:recycler/Resources/Private/Language/locallang.xlf:table.header.crdate" /></th>
                                        <th><f:translate key="LLL:EXT:recycler/Resources/Private/Language/locallang.xlf:table.header.owner" /></th>
                                        <th><f:translate key="LLL:EXT:recycler/Resources/Private/Language/locallang.xlf:table.header.path" /></th>
@@ -45,4 +45,4 @@
                        </tbody>
                </table>
        </td>
-</tr>
\ No newline at end of file
+</tr>
index f6ac036..d37e0ba 100644 (file)
@@ -28,7 +28,7 @@
                                <thead>
                                        <tr>
                                                <th><f:translate key="table.header.actions" /></th>
-                                               <th><f:translate key="table.header.table" /></th>
+                                               <th><f:translate key="table.header.recordtype" /></th>
                                                <th><f:translate key="table.header.record" /></th>
                                                <th><f:translate key="table.header.tstamp" /></th>
                                                <th><f:translate key="table.header.uid" /></th>
index 286b5fa..da207c5 100644 (file)
@@ -269,7 +269,7 @@ define(['jquery', 'nprogress', 'jquery/jquery.clearable'], function($, NProgress
                                                tableDescription = value[2];
 
                                        if (tableDescription === '') {
-                                               tableDescription = TYPO3.lang['label_alltables'];
+                                               tableDescription = TYPO3.lang['label_allrecordtypes'];
                                        }
                                        var optionText = tableDescription + ' (' + deletedRecords + ')';
                                        tables.push($('<option />').val(tableName).text(optionText))