mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-10 10:00:58 +00:00
add trans tags to aria labels
This commit is contained in:
parent
966e791b22
commit
a44ff723b0
3 changed files with 3 additions and 3 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{% load i18n %}
|
||||
{% load wagtailadmin_tags %}
|
||||
|
||||
<nav class="pagination" aria-label="pagination">
|
||||
<nav class="pagination" aria-label="{% trans 'Pagination' %}">
|
||||
<p>{% blocktrans with page_num=items.number total_pages=items.paginator.num_pages %}Page {{ page_num }} of {{ total_pages }}.{% endblocktrans %}</p>
|
||||
<ul>
|
||||
<li class="prev">
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{% load i18n %}
|
||||
|
||||
<nav aria-label="Breadcrumb">
|
||||
<nav aria-label="{% trans 'Breadcrumb' %}">
|
||||
<ul class="breadcrumb">
|
||||
{% for page in pages %}
|
||||
{% if page.is_root %}
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
{% url linkurl as url_to_use %}
|
||||
{% endif %}
|
||||
|
||||
<nav class="pagination" aria-label="pagination">
|
||||
<nav class="pagination" aria-label="{% trans 'pagination' %}">
|
||||
<p>{% blocktrans with page_num=items.number total_pages=items.paginator.num_pages %}Page {{ page_num }} of {{ total_pages }}.{% endblocktrans %}</p>
|
||||
<ul>
|
||||
<li class="prev">
|
||||
|
|
|
|||
Loading…
Reference in a new issue