networks: Apply translation to a tooltip.

Helps: #1938
It also corrects the transliteration of another tooltip.

Signed-off-by: Fioddor Superconcentrado <fioddor@gmail.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Fioddor Superconcentrado 2020-11-18 11:35:43 +01:00 committed by James Valleroy
parent 13c427ce96
commit 20f0b25ff5
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@
class="network-type-icon" alt="{% trans "Wi-Fi" %}"/>
{% endif %}
<a href="{% url 'networks:show' connection.uuid %}"
title="{% blocktrans %}Show connection {{ connection.name }}{% endblocktrans %}">
title="{% blocktrans with name=connection.name %}Show connection {{ name }}{% endblocktrans %}">
{{ connection.name }} ({{ connection.interface_name }})</a>
{% endif %}
{% endfor %}

View File

@ -59,7 +59,7 @@
<a class="connection-show-label"
href="{% url 'networks:show' connection.uuid %}"
title="Show connection {{ connection.name }}">
title="{% blocktrans with name=connection.name %}Show connection {{ name }}{% endblocktrans %}">
{{ connection.name }}
</a>