Added translation tags to pagination links

This commit is contained in:
str4d
2013-01-18 04:52:08 +00:00
parent 7f90e205f8
commit a5a98a806c

View File

@@ -12,7 +12,7 @@
<div class="pagination">
{%- if pagination.has_prev %}
<a href="{{ url_for_other_page(pagination.page - 1)
}}">&laquo; Previous</a>
}}">&laquo; {{ _('Previous') }}</a>
{%- endif %}
{%- for page in pagination.iter_pages() %}
{%- if page %}
@@ -27,7 +27,7 @@
{%- endfor %}
{%- if pagination.has_next %}
<a href="{{ url_for_other_page(pagination.page + 1)
}}">Next &raquo;</a>
}}">{{ _('Next') }} &raquo;</a>
{%- endif %}
</div>
{%- endmacro -%}