WhiteOctoberPagerfantaBundle
WhiteOctoberPagerfantaBundle copied to clipboard
Missing translation for Bootstrap3 template
When using the twitter_bootstrap3_translated
template, an sr-only
class is added to the current page with the content (current)
. This content is not translated into the various languages.
Example:
When I use this in my Twig template:
{{ pagerfanta(pager, 'twitter_bootstrap3_translated') }}
I get this HTML (my app uses Dutch locale settings):
<ul class="pagination">
<li class="prev disabled"><span>← Vorige</span></li>
<li class="active"><span>1 <span class="sr-only">(current)</span></span></li>
<li><a href="/action/?page=2">2</a></li>
<li class="next"><a href="/action/?page=2">Volgende →</a></li>
</ul>
As you can see the (current)
bit is not translated.