Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Missing translation for Bootstrap3 template #116

Open
oldskool opened this issue Jul 8, 2015 · 0 comments
Open

Missing translation for Bootstrap3 template #116

oldskool opened this issue Jul 8, 2015 · 0 comments

Comments

@oldskool
Copy link

oldskool commented Jul 8, 2015

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant