From 9954b5b603c104f2e120a1ba0dfad5062cdc3c0c Mon Sep 17 00:00:00 2001 From: pedro Date: Wed, 29 Jan 2025 18:03:00 +0100 Subject: [PATCH] improve error messages when service is unavailable --- idhub/user/views.py | 4 ++-- locale/ca/LC_MESSAGES/django.po | 6 +++--- locale/es/LC_MESSAGES/django.po | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/idhub/user/views.py b/idhub/user/views.py index 4f5735d..d1de190 100644 --- a/idhub/user/views.py +++ b/idhub/user/views.py @@ -179,8 +179,8 @@ class TermsAndConditionsView(UserView, FormView): class WaitingView(UserView, TemplateView): template_name = "idhub/user/waiting.html" - title = _("Comunication with admin") - subtitle = _('Service temporary close') + title = _("Comunication with admin required") + subtitle = _('Service temporarily closed') section = "" icon = 'bi bi-file-earmark-medical' success_url = reverse_lazy('idhub:user_dashboard') diff --git a/locale/ca/LC_MESSAGES/django.po b/locale/ca/LC_MESSAGES/django.po index b62a260..b7c67b4 100644 --- a/locale/ca/LC_MESSAGES/django.po +++ b/locale/ca/LC_MESSAGES/django.po @@ -2796,11 +2796,11 @@ msgid "Data Protection" msgstr "Protecció de dades" #: idhub/user/views.py:183 -msgid "Comunication with admin" -msgstr "Comunicació amb l'admin" +msgid "Comunication with admin required" +msgstr "Es requereix comunicació amb l'admin" #: idhub/user/views.py:184 -msgid "Service temporary close" +msgid "Service temporarily closed" msgstr "Tancament temporal del servei" #: idhub/user/views.py:407 diff --git a/locale/es/LC_MESSAGES/django.po b/locale/es/LC_MESSAGES/django.po index db75844..d683e63 100644 --- a/locale/es/LC_MESSAGES/django.po +++ b/locale/es/LC_MESSAGES/django.po @@ -2789,11 +2789,11 @@ msgid "Data Protection" msgstr "Proteccion de datos" #: idhub/user/views.py:183 -msgid "Comunication with admin" -msgstr "Comunicación con el admin" +msgid "Comunication with admin required" +msgstr "Se requiere comunicación con el admin" #: idhub/user/views.py:184 -msgid "Service temporary close" +msgid "Service temporarily closed" msgstr "Cierre temporal del servicio" #: idhub/user/views.py:407