Refactor flash message handling to use translatable messages

Replaced raw translations with Symfony's TranslatableMessage for flash messages in the controller. Updated Twig templates to use the `|trans` filter for consistency in rendering translations. This ensures better handling of multilingual content across the application.
This commit is contained in:
2025-04-01 14:31:27 +02:00
parent 68b61b7d8a
commit 9124fa68e8
4 changed files with 31 additions and 17 deletions

View File

@@ -0,0 +1,6 @@
kind: DX
body: Allow TranslatableMessage in flash messages
time: 2025-04-01T14:47:28.814268801+02:00
custom:
Issue: ""
SchemaChange: No schema change