GridFieldPaginator localization

This commit is contained in:
Ingo Schommer 2012-08-10 00:30:32 +02:00
parent c7fd9a6605
commit 023721aaca
1 changed files with 14 additions and 2 deletions

View File

@ -3,9 +3,21 @@
<% if $OnlyOnePage %>
<% else %>
<div class="datagrid-pagination">
$FirstPage $PreviousPage <span class="pagination-page-number">Page <input class="text" value="$CurrentPageNum" data-skip-autofocus="true" /> of $NumPages</span> $NextPage $LastPage
$FirstPage $PreviousPage
<span class="pagination-page-number">
<% _t('Pagination.Page', 'Page') %>
<input class="text" value="$CurrentPageNum" data-skip-autofocus="true" />
<% _t('TableListField_PageControls.ss.OF', 'of', 'Example: View 1 of 2') %>
$NumPages
</span>
$NextPage $LastPage
</div>
<% end_if %>
<span class="pagination-records-number">View $FirstShownRecord - $LastShownRecord of $NumRecords</span>
<span class="pagination-records-number">
<% _t('Pagination.View', 'View', 'Verb. Example: View 1 of 2') %>
$FirstShownRecord - $LastShownRecord
<% _t('TableListField_PageControls.ss.OF', 'of', 'Example: View 1 of 2') %>
$NumRecords
</span>
</td>
</tr>