From a8b22c996a94550fc76e82229385698663ac3d4a Mon Sep 17 00:00:00 2001 From: dbaluku Date: Wed, 12 Nov 2025 12:59:52 +0300 Subject: [PATCH 1/2] Add "Paciente" translation and adjust label in dashboard template --- api/src/main/resources/messages.properties | 3 ++- api/src/main/resources/messages_pt.properties | 3 ++- .../main/webapp/fragments/patientdashboard/bestContactTime.gsp | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/api/src/main/resources/messages.properties b/api/src/main/resources/messages.properties index 37c2a027..bb5eab01 100644 --- a/api/src/main/resources/messages.properties +++ b/api/src/main/resources/messages.properties @@ -119,4 +119,5 @@ messages.serviceType.WHATSAPP=WhatsApp messages.serviceType.DEACTIVATE_SERVICE=Deactivate service messages.scheduledMessagesLabel=Scheduled Messages messages.messageTypeLabel=Message Type -messages.actionsLabel=Actions \ No newline at end of file +messages.actionsLabel=Actions +messages.dashboard.patient.label=Patient \ No newline at end of file diff --git a/api/src/main/resources/messages_pt.properties b/api/src/main/resources/messages_pt.properties index 69a5e3b1..b1af1ea8 100644 --- a/api/src/main/resources/messages_pt.properties +++ b/api/src/main/resources/messages_pt.properties @@ -119,4 +119,5 @@ messages.serviceType.WHATSAPP=WhatsApp messages.serviceType.DEACTIVATE_SERVICE=Desactivar Serviço messages.scheduledMessagesLabel=Mensagens programadas messages.messageTypeLabel=Tipo de mensagem -messages.actionsLabel=Ações \ No newline at end of file +messages.actionsLabel=Ações +messages.dashboard.patient.label=Paciente \ No newline at end of file diff --git a/omod/src/main/webapp/fragments/patientdashboard/bestContactTime.gsp b/omod/src/main/webapp/fragments/patientdashboard/bestContactTime.gsp index e8fb4321..0e6df986 100644 --- a/omod/src/main/webapp/fragments/patientdashboard/bestContactTime.gsp +++ b/omod/src/main/webapp/fragments/patientdashboard/bestContactTime.gsp @@ -80,7 +80,7 @@ <% bestContactTimes.each { %>
Date: Thu, 13 Nov 2025 11:06:04 +0300 Subject: [PATCH 2/2] Add "Salvar" translation and update save button label in patient dashboard --- api/src/main/resources/messages.properties | 3 ++- api/src/main/resources/messages_pt.properties | 3 ++- .../webapp/fragments/patientdashboard/bestContactTime.gsp | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/api/src/main/resources/messages.properties b/api/src/main/resources/messages.properties index bb5eab01..ad954b3b 100644 --- a/api/src/main/resources/messages.properties +++ b/api/src/main/resources/messages.properties @@ -120,4 +120,5 @@ messages.serviceType.DEACTIVATE_SERVICE=Deactivate service messages.scheduledMessagesLabel=Scheduled Messages messages.messageTypeLabel=Message Type messages.actionsLabel=Actions -messages.dashboard.patient.label=Patient \ No newline at end of file +messages.dashboard.patient.label=Patient +messages.dashboard.patient.saveButtonLabel=Save \ No newline at end of file diff --git a/api/src/main/resources/messages_pt.properties b/api/src/main/resources/messages_pt.properties index b1af1ea8..e469b388 100644 --- a/api/src/main/resources/messages_pt.properties +++ b/api/src/main/resources/messages_pt.properties @@ -120,4 +120,5 @@ messages.serviceType.DEACTIVATE_SERVICE=Desactivar Serviço messages.scheduledMessagesLabel=Mensagens programadas messages.messageTypeLabel=Tipo de mensagem messages.actionsLabel=Ações -messages.dashboard.patient.label=Paciente \ No newline at end of file +messages.dashboard.patient.label=Paciente +messages.dashboard.patient.saveButtonLabel=Salvar \ No newline at end of file diff --git a/omod/src/main/webapp/fragments/patientdashboard/bestContactTime.gsp b/omod/src/main/webapp/fragments/patientdashboard/bestContactTime.gsp index 0e6df986..ccd3add8 100644 --- a/omod/src/main/webapp/fragments/patientdashboard/bestContactTime.gsp +++ b/omod/src/main/webapp/fragments/patientdashboard/bestContactTime.gsp @@ -80,7 +80,7 @@ <% bestContactTimes.each { %>
Save + data-target="time-input-${ it.label.replaceAll(" ", "-") }">${ ui.message("messages.dashboard.patient.saveButtonLabel")}