Skip to content
This repository
Browse code

GridFieldPaginator localization

  • Loading branch information...
commit 023721aaca788534e298d206d3607a462be04e17 1 parent c7fd9a6
Ingo Schommer authored August 10, 2012
16  templates/Includes/GridFieldPaginator_Row.ss
@@ -3,9 +3,21 @@
3 3
 		<% if $OnlyOnePage %>
4 4
 		<% else %>
5 5
 			<div class="datagrid-pagination">
6  
-				$FirstPage $PreviousPage <span class="pagination-page-number">Page <input class="text" value="$CurrentPageNum" data-skip-autofocus="true" /> of $NumPages</span> $NextPage $LastPage 
  6
+				$FirstPage $PreviousPage 
  7
+				<span class="pagination-page-number">
  8
+					<% _t('Pagination.Page', 'Page') %> 
  9
+					<input class="text" value="$CurrentPageNum" data-skip-autofocus="true" /> 
  10
+					<% _t('TableListField_PageControls.ss.OF', 'of', 'Example: View 1 of 2') %> 
  11
+					$NumPages
  12
+				</span> 
  13
+				$NextPage $LastPage 
7 14
 			</div>
8 15
 		<% end_if %>
9  
-		<span class="pagination-records-number">View $FirstShownRecord - $LastShownRecord of $NumRecords</span>
  16
+		<span class="pagination-records-number">
  17
+			<% _t('Pagination.View', 'View', 'Verb. Example: View 1 of 2') %>
  18
+			$FirstShownRecord - $LastShownRecord
  19
+			<% _t('TableListField_PageControls.ss.OF', 'of', 'Example: View 1 of 2') %> 
  20
+			$NumRecords
  21
+		</span>
10 22
 	</td>
11 23
 </tr>

0 notes on commit 023721a

Please sign in to comment.
Something went wrong with that request. Please try again.