X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/2f1c330e555c24deb17b7d6018b59c52dab7aafd..ae8967ea4942f066ff84104fadf06bdfb4a01ce5:/wolnelektury/templates/pagination/pagination.html?ds=sidebyside diff --git a/wolnelektury/templates/pagination/pagination.html b/wolnelektury/templates/pagination/pagination.html index 36c297bc1..7489d4a55 100644 --- a/wolnelektury/templates/pagination/pagination.html +++ b/wolnelektury/templates/pagination/pagination.html @@ -1,9 +1,10 @@ +{% load i18n %} {% if is_paginated %} <div class="pagination"> {% if page_obj.has_previous %} - <a href="?page={{ page_obj.previous_page_number }}{{ getvars }}" class="prev">‹‹ poprzedni</a> + <a href="?page={{ page_obj.previous_page_number }}{{ getvars }}" class="prev">‹‹ {% trans "previous" %}</a> {% else %} - <span class="disabled prev">‹‹ poprzedni</span> + <span class="disabled prev">‹‹ {% trans "previous" %}</span> {% endif %} {% for page in pages %} {% if page %} @@ -17,9 +18,9 @@ {% endif %} {% endfor %} {% if page_obj.has_next %} - <a href="?page={{ page_obj.next_page_number }}{{ getvars }}" class="next">nastÄpny ››</a> + <a href="?page={{ page_obj.next_page_number }}{{ getvars }}" class="next">{% trans "next" %} ››</a> {% else %} - <span class="disabled next">nastÄpny ››</span> + <span class="disabled next">{% trans "next" %} ››</span> {% endif %} </div> {% endif %}