mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
accompanying period work: translate flash message
This commit is contained in:
@@ -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', [
|
||||
|
Reference in New Issue
Block a user