From 20f0b25ff5e9b14fdf9bf7079934bf1a4771c689 Mon Sep 17 00:00:00 2001 From: Fioddor Superconcentrado Date: Wed, 18 Nov 2020 11:35:43 +0100 Subject: [PATCH] networks: Apply translation to a tooltip. Helps: #1938 It also corrects the transliteration of another tooltip. Signed-off-by: Fioddor Superconcentrado Reviewed-by: James Valleroy --- plinth/modules/networks/templates/connections_diagram.html | 2 +- plinth/modules/networks/templates/connections_list.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plinth/modules/networks/templates/connections_diagram.html b/plinth/modules/networks/templates/connections_diagram.html index 2b38ed05d..1e3ca32f7 100644 --- a/plinth/modules/networks/templates/connections_diagram.html +++ b/plinth/modules/networks/templates/connections_diagram.html @@ -71,7 +71,7 @@ class="network-type-icon" alt="{% trans "Wi-Fi" %}"/> {% endif %} + title="{% blocktrans with name=connection.name %}Show connection {{ name }}{% endblocktrans %}"> {{ connection.name }} ({{ connection.interface_name }}) {% endif %} {% endfor %} diff --git a/plinth/modules/networks/templates/connections_list.html b/plinth/modules/networks/templates/connections_list.html index ee96a38d0..015046959 100644 --- a/plinth/modules/networks/templates/connections_list.html +++ b/plinth/modules/networks/templates/connections_list.html @@ -59,7 +59,7 @@ + title="{% blocktrans with name=connection.name %}Show connection {{ name }}{% endblocktrans %}"> {{ connection.name }}