Commit e5b462a0 authored by Frederic Gaus's avatar Frederic Gaus Committed by Christian Kuhn
Browse files

[TASK] Recycler: Rename table to record type

Rename label "table" to "record type" in recycler

Change-Id: I81226203e3bcb705320563bc508d74f69d8142c1
Resolves: #43368
Releases: master
Reviewed-on: http://review.typo3.org/36710


Reviewed-by: default avatarAndreas Fernandez <andreas.fernandez@aspedia.de>
Tested-by: default avatarAndreas Fernandez <andreas.fernandez@aspedia.de>
Reviewed-by: default avatarStefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Wouter Wolters's avatarWouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 741b565c
......@@ -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;
}
......
......@@ -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>
......@@ -102,8 +105,8 @@
<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>
......
......@@ -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>
......@@ -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>
......
......@@ -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))
......
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