accompanying period work: translate flash message

This commit is contained in:
nobohan
2021-11-08 15:52:24 +01:00
parent 70524c506d
commit 66c5c4c1d6
2 changed files with 2 additions and 3 deletions

View File

@@ -125,7 +125,6 @@ class AccompanyingCourseWorkController extends AbstractController
{
// TODO ACL
$em = $this->getDoctrine()->getManager();
dump($work);
$form = $this->createDeleteForm($work->getId());
@@ -145,8 +144,7 @@ class AccompanyingCourseWorkController extends AbstractController
$this->addFlash(
'success',
//$translator->trans("The accompanying period work has been successfully removed.") //TODO translation
"The accompanying period work has been successfully removed."
$this->trans->trans("The accompanying period work has been successfully removed.")
);
return $this->redirectToRoute('chill_person_accompanying_period_work_list', [