diff --git a/src/frontend/flask_app/templates/admin/stations.html b/src/frontend/flask_app/templates/admin/stations.html index b4994ec..be9e765 100644 --- a/src/frontend/flask_app/templates/admin/stations.html +++ b/src/frontend/flask_app/templates/admin/stations.html @@ -210,9 +210,9 @@ -

{{ _('Vuoto = worker centrale') }}

+

{{ _('Vuoto = worker centrale. Indirizzo completo, con http o https') }}

diff --git a/src/frontend/flask_app/tests/test_admin_stations.py b/src/frontend/flask_app/tests/test_admin_stations.py index e5383b9..022f1fd 100644 --- a/src/frontend/flask_app/tests/test_admin_stations.py +++ b/src/frontend/flask_app/tests/test_admin_stations.py @@ -185,7 +185,8 @@ def test_station_form_has_the_vision_worker_field(logged_in_client, mock_admin_a resp = logged_in_client.get("/admin/stations") assert resp.status_code == 200 assert b"form.vision_worker_url" in resp.data - assert "Worker visione (URL)".encode() in resp.data + # etichetta in italiano o in inglese, secondo il catalogo compilato + assert b"Worker visione (URL)" in resp.data or b"Vision worker (URL)" in resp.data def test_station_list_exposes_the_vision_worker_url(logged_in_client, mock_admin_api): diff --git a/src/frontend/flask_app/translations/en/LC_MESSAGES/messages.po b/src/frontend/flask_app/translations/en/LC_MESSAGES/messages.po index cd26e9b..7ff1c0d 100644 --- a/src/frontend/flask_app/translations/en/LC_MESSAGES/messages.po +++ b/src/frontend/flask_app/translations/en/LC_MESSAGES/messages.po @@ -759,8 +759,8 @@ msgid "Worker visione (URL)" msgstr "Vision worker (URL)" #: templates/admin/stations.html -msgid "Vuoto = worker centrale" -msgstr "Empty = central worker" +msgid "Vuoto = worker centrale. Indirizzo completo, con http o https" +msgstr "Empty = central worker. Full address, with http or https" #: templates/admin/stations.html:194 msgid "Nome descrittivo della stazione" diff --git a/src/frontend/flask_app/translations/it/LC_MESSAGES/messages.po b/src/frontend/flask_app/translations/it/LC_MESSAGES/messages.po index 6252a06..c5e2c45 100644 --- a/src/frontend/flask_app/translations/it/LC_MESSAGES/messages.po +++ b/src/frontend/flask_app/translations/it/LC_MESSAGES/messages.po @@ -761,8 +761,8 @@ msgid "Worker visione (URL)" msgstr "Worker visione (URL)" #: templates/admin/stations.html -msgid "Vuoto = worker centrale" -msgstr "Vuoto = worker centrale" +msgid "Vuoto = worker centrale. Indirizzo completo, con http o https" +msgstr "Vuoto = worker centrale. Indirizzo completo, con http o https" #: templates/admin/stations.html:194 msgid "Nome descrittivo della stazione"