Add proper titles to the mixed pagination

refs #8458
This commit is contained in:
Johannes Meyer 2015-02-23 17:21:31 +01:00
parent a966f543f6
commit 371f895188
1 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ if ($this->pageCount <= 1) return;
<ul class="pagination" aria-labelledby="paginationlabel" role="navigation"
<?php
$fromto = t('Show rows %d to %d of %d');
$fromto = t('Show rows %u to %u out of %u');
$total = $this->totalItemCount;
$limit = $this->itemCountPerPage;
$title_prev = sprintf(
@ -29,9 +29,9 @@ $title_next = sprintf(
($this->current + 1) * $limit,
$total
);
$li = ' ><li%s><span class="audible">'
$li = ' ><li%1$s><span class="audible">'
. t('Page')
. ' </span><a href="%s" title="%s">%s</a></li
. ' </span><a href="%2$s" aria-label="%3$s" title="%3$s">%4$s</a></li
';
?>