1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fixes #13351: Fix missing text due to incorrectly applied translation tags

This commit is contained in:
Jeremy Stretch
2023-08-02 14:53:32 -04:00
parent 82c959570d
commit 04a2543e68
24 changed files with 120 additions and 29 deletions

View File

@@ -3,8 +3,10 @@
<div class="alert alert-warning text-end" role="alert">
<div class="float-start">
<i class="mdi mdi-alert"></i> {% blocktrans %}Before you can add a {{ model|meta:"verbose_name" }} you must first create a
<strong>{{ prerequisite_model|meta:"verbose_name" }}</strong>.{% endblocktrans %}
<i class="mdi mdi-alert"></i>
{% blocktrans with model=model|meta:"verbose_name" prerequisite_model=prerequisite_model|meta:"verbose_name" %}
Before you can add a {{ model }} you must first create a <strong>{{ prerequisite_model }}</strong>.
{% endblocktrans %}
</div>
{% add_button prerequisite_model %}
</div>

View File

@@ -46,7 +46,9 @@
</ul>
</div>
<small class="text-end text-muted">
{% blocktrans %}Showing {{ page.start_index }}-{{ page.end_index }} of {{ page.paginator.count }}{% endblocktrans %}
{% blocktrans with start=page.start_index end=page.end_index total=page.paginator.count %}
Showing {{ start }}-{{ end }} of {{ total }}
{% endblocktrans %}
</small>
{% endif %}
</div>

View File

@@ -66,7 +66,9 @@
</ul>
</div>
<small class="text-end text-muted">
{% blocktrans %}Showing {{ page.start_index }}-{{ page.end_index }} of {{ page.paginator.count }}{% endblocktrans %}
{% blocktrans with start=page.start_index end=page.end_index total=page.paginator.count %}
Showing {{ start }}-{{ end }} of {{ total }}
{% endblocktrans %}
</small>
{% endif %}
</div>