From 66aac8908c1d4f38c6ae50cfbb8dfdf9a2970a8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Tue, 4 Jan 2022 22:41:04 +0100 Subject: [PATCH] notification: fix translations --- .../AccompanyingPeriod/Workflow/WorkflowEventSubscriber.php | 2 +- .../views/Notification/accompanying_course_designation.md.twig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Bundle/ChillPersonBundle/AccompanyingPeriod/Workflow/WorkflowEventSubscriber.php b/src/Bundle/ChillPersonBundle/AccompanyingPeriod/Workflow/WorkflowEventSubscriber.php index d49cc8c0a..3b7626903 100644 --- a/src/Bundle/ChillPersonBundle/AccompanyingPeriod/Workflow/WorkflowEventSubscriber.php +++ b/src/Bundle/ChillPersonBundle/AccompanyingPeriod/Workflow/WorkflowEventSubscriber.php @@ -63,7 +63,7 @@ class WorkflowEventSubscriber implements EventSubscriberInterface $notification ->setRelatedEntityId($period->getId()) ->setRelatedEntityClass(AccompanyingPeriod::class) - ->setTitle($this->translator->trans('period_notification.period designated_subject')) + ->setTitle($this->translator->trans('period_notification.period_designated_subject')) ->setMessage($this->engine->render( '@ChillPerson/Notification/accompanying_course_designation.md.twig', [ diff --git a/src/Bundle/ChillPersonBundle/Resources/views/Notification/accompanying_course_designation.md.twig b/src/Bundle/ChillPersonBundle/Resources/views/Notification/accompanying_course_designation.md.twig index ce28da8f8..879df495e 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/Notification/accompanying_course_designation.md.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/Notification/accompanying_course_designation.md.twig @@ -1,4 +1,4 @@ -{{ 'period_notification.You are designated to a new period.'|trans }} +{{ 'period_notification.You are designated to a new period'|trans }} {{ 'period_notification.See it online'|trans }}: