From 20fcaa5428d1dbb9b93db83889343fb6205ec193 Mon Sep 17 00:00:00 2001 From: Mathieu Jaumotte Date: Fri, 14 Jan 2022 15:03:36 +0100 Subject: [PATCH] notification: add prefix in object --- .../Resources/views/Notification/_list_item.html.twig | 2 +- src/Bundle/ChillMainBundle/translations/messages.fr.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Bundle/ChillMainBundle/Resources/views/Notification/_list_item.html.twig b/src/Bundle/ChillMainBundle/Resources/views/Notification/_list_item.html.twig index 710bb00ae..3cead3aff 100644 --- a/src/Bundle/ChillMainBundle/Resources/views/Notification/_list_item.html.twig +++ b/src/Bundle/ChillMainBundle/Resources/views/Notification/_list_item.html.twig @@ -2,7 +2,7 @@

- {{ notification.title }} + {{ 'notification.object_prefix'|trans ~ notification.title }}

diff --git a/src/Bundle/ChillMainBundle/translations/messages.fr.yml b/src/Bundle/ChillMainBundle/translations/messages.fr.yml index d990790e0..2e726a48c 100644 --- a/src/Bundle/ChillMainBundle/translations/messages.fr.yml +++ b/src/Bundle/ChillMainBundle/translations/messages.fr.yml @@ -381,4 +381,5 @@ notification: you were notified by system: Vous avez été notifié automatiquement subject: Objet see_comments_thread: Voir le fil de commentaires associé + object_prefix: "[CHILL] notification - "