mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-06 01:31:22 +02:00
- Based on new (last) translation download from getlocalization.com - Removed untranslated strings. Getlocalization started including those at some point which is highly annoying, unnecessary and breaks the new transfix system, since it'll mark all of the english strings as actual translations - Avoid dots in entities. It confuses the Transifex YML parser - Removed some locales unknown to Transifex which didn't have any translations anyway - Removed "lolcat" locale, uses custom notation (en@lolcal) which SilverStripe's i18n system can't handle (needs mapping from SS naming to Zend naming) - Renamed "Te Reo/Maori" locale from "mi_NZ" to "mi" (Transifex/CLDR notation) - Namespaced all entities used in templates (deprecated usage) - Converted dots to underscores where template filenames are used for namespaces, since Transifex YML parsing handles them as separate YML keys otherwise - Removed whitespace in entity names, SilverStripe i18n can't handle it - Only allow selection of locales registered through i18n::$all_locales to avoid issues with unknown locales in Zend's CLDR database
19 lines
2.3 KiB
Scheme
19 lines
2.3 KiB
Scheme
<% if ShowPagination %>
|
|
<% if TotalCount %>
|
|
<div class="PageControls">
|
|
<% if FirstLink %><a class="First" href="$FirstLink" title="<% _t('TableListField_PageControls_ss.VIEWFIRST', 'View first') %> $PageSize"><img src="$ModulePath(framework)/images/pagination/record-first.png" alt="<% _t('TableListField_PageControls_ss.VIEWFIRST', 'View first') %> $PageSize" /></a>
|
|
<% else %><span class="First"><img src="$ModulePath(framework)/images/pagination/record-first-g.png" alt="<% _t('TableListField_PageControls_ss.VIEWFIRST', 'View first') %> $PageSize" /></span><% end_if %>
|
|
<% if PrevLink %><a class="Prev" href="$PrevLink" title="<% _t('TableListField_PageControls_ss.VIEWPREVIOUS', 'View previous') %> $PageSize"><img src="$ModulePath(framework)/images/pagination/record-prev.png" alt="<% _t('TableListField_PageControls_ss.VIEWPREVIOUS', 'View previous') %> $PageSize" /></a>
|
|
<% else %><img class="Prev" src="$ModulePath(framework)/images/pagination/record-prev-g.png" alt="<% _t('TableListField_PageControls_ss.VIEWPREVIOUS', 'View previous') %> $PageSize" /><% end_if %>
|
|
<span class="Count">
|
|
<% _t('DISPLAYING', 'Displaying') %> $FirstItem <% _t('TableListField_PageControls_ss.TO', 'to') %> $LastItem <% _t('TableListField_PageControls_ss.OF', 'of') %> $TotalCount
|
|
</span>
|
|
<% if NextLink %><a class="Next" href="$NextLink" title="<% _t('TableListField_PageControls_ss.VIEWNEXT', 'View next') %> $PageSize"><img src="$ModulePath(framework)/images/pagination/record-next.png" alt="<% _t('TableListField_PageControls_ss.VIEWNEXT', 'View next') %> $PageSize" /></a>
|
|
<% else %><img class="Next" src="$ModulePath(framework)/images/pagination/record-next-g.png" alt="<% _t('TableListField_PageControls_ss.VIEWNEXT', 'View next') %> $PageSize" /><% end_if %>
|
|
<% if LastLink %><a class="Last" href="$LastLink" title="<% _t('TableListField_PageControls_ss.VIEWLAST', 'View last') %> $PageSize"><img src="$ModulePath(framework)/images/pagination/record-last.png" alt="<% _t('TableListField_PageControls_ss.VIEWLAST', 'View last') %> $PageSize" /></a>
|
|
<% else %><span class="Last"><img src="$ModulePath(framework)/images/pagination/record-last-g.png" alt="<% _t('TableListField_PageControls_ss.VIEWLAST', 'View last') %> $PageSize" /></span><% end_if %>
|
|
|
|
</div>
|
|
<% end_if %>
|
|
<% end_if %>
|