From 4b4f2126dc61907bf086a685c9467f1c4cabc07e Mon Sep 17 00:00:00 2001 From: Pyry Koivisto Date: Thu, 5 Dec 2024 17:59:32 +0200 Subject: [PATCH] VKT(Backend): Fix enrollment appointment authentication email subject --- .../fi/oph/vkt/service/ExaminerEnrollmentEmailService.java | 4 ++-- backend/vkt/src/main/resources/localisation_fi.properties | 1 + backend/vkt/src/main/resources/localisation_sv.properties | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/backend/vkt/src/main/java/fi/oph/vkt/service/ExaminerEnrollmentEmailService.java b/backend/vkt/src/main/java/fi/oph/vkt/service/ExaminerEnrollmentEmailService.java index aad19c814..f4f6bf1e2 100644 --- a/backend/vkt/src/main/java/fi/oph/vkt/service/ExaminerEnrollmentEmailService.java +++ b/backend/vkt/src/main/java/fi/oph/vkt/service/ExaminerEnrollmentEmailService.java @@ -46,8 +46,8 @@ public void sendEnrollmentAppointmentAuthLink(final EnrollmentAppointment enroll final String recipientAddress = enrollment.getEmail(); final String subject = String.format( "%s | %s", - LocalisationUtil.translate(localeFI, "subject.enrollment-confirmation"), - LocalisationUtil.translate(localeSV, "subject.enrollment-confirmation") + LocalisationUtil.translate(localeFI, "subject.enrollment-appointment-authentication"), + LocalisationUtil.translate(localeSV, "subject.enrollment-appointment-authentication") ); final String body = templateRenderer.renderEnrollmentAppointmentAuthLink(templateParams); diff --git a/backend/vkt/src/main/resources/localisation_fi.properties b/backend/vkt/src/main/resources/localisation_fi.properties index a181f67ce..43090c313 100644 --- a/backend/vkt/src/main/resources/localisation_fi.properties +++ b/backend/vkt/src/main/resources/localisation_fi.properties @@ -30,5 +30,6 @@ skill.mail.oral = Suullinen taito subject.enrollment-confirmation = Vahvistus ilmoittautumisesta Valtionhallinnon kielitutkintoon (VKT) subject.enrollment-to-queue-confirmation = Vahvistus ilmoittautumisesta jonotuspaikalle Valtionhallinnon kielitutkintoon (VKT) subject.enrollment-appointment-confirmation = Vahvistus ilmoittautumisesta Valtionhallinnon kielitutkintoon (VKT) +subject.enrollment-appointment-authentication = Ilmoittautuminen Valtionhallinnon kielitutkintoon (VKT) subject.contact-request.receipt-notification = Valtionhallinnon kielitutkinnot: Lähettämäsi viesti tutkintosuorituksen vastaanottajalle subject.contact-request.notice-for-examiner = Yhteydenotto Valtionhallinnon kielitutkinnosta (VKT) diff --git a/backend/vkt/src/main/resources/localisation_sv.properties b/backend/vkt/src/main/resources/localisation_sv.properties index 409e02a35..96f8dc73c 100644 --- a/backend/vkt/src/main/resources/localisation_sv.properties +++ b/backend/vkt/src/main/resources/localisation_sv.properties @@ -30,5 +30,6 @@ skill.mail.oral = Förmåga att använda språket i tal subject.enrollment-confirmation = Bekräftelse av anmälan till Språkexamen för statsförvaltningen (VKT) subject.enrollment-to-queue-confirmation = Bekräftelse av plats i kön för Språkexamen för statsförvaltningen (VKT) subject.enrollment-appointment-confirmation = Bekräftelse av anmälan till Språkexamen för statsförvaltningen (VKT) +subject.enrollment-appointment-authentication = Ilmoittautuminen Valtionhallinnon kielitutkintoon (VKT) subject.contact-request.receipt-notification = Valtionhallinnon kielitutkinnot: Lähettämäsi viesti tutkintosuorituksen vastaanottajalle subject.contact-request.notice-for-examiner = Yhteydenotto Valtionhallinnon kielitutkinnosta (VKT)