Skip to content

Commit

Permalink
Merge pull request #2892 from jlamim/bug_pagination_locale
Browse files Browse the repository at this point in the history
Update of the pagination template to make the correct use of the locale
  • Loading branch information
lonnieezell authored Apr 28, 2020
2 parents 00d0a9d + 999c59f commit b8379d3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions system/Pager/Views/default_full.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* @var \CodeIgniter\Pager\PagerRenderer $pager
*/
Expand All @@ -16,7 +17,7 @@
</li>
<li>
<a href="<?= $pager->getPrevious() ?>" aria-label="<?= lang('Pager.previous') ?>">
<span aria-hidden="true">&laquo;</span>
<span aria-hidden="true"><?= lang('Pager.previous') ?></span>
</a>
</li>
<?php endif ?>
Expand All @@ -32,7 +33,7 @@
<?php if ($pager->hasNext()) : ?>
<li>
<a href="<?= $pager->getNext() ?>" aria-label="<?= lang('Pager.next') ?>">
<span aria-hidden="true">&raquo;</span>
<span aria-hidden="true"><?= lang('Pager.next') ?></span>
</a>
</li>
<li>
Expand Down

0 comments on commit b8379d3

Please sign in to comment.