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', [

View File

@ -406,6 +406,7 @@ Back to household: Revenir au ménage
Accompanying Course Actions: Actions d'accompagnements
Accompanying Course Action: Action d'accompagnement
Are you sure you want to remove the work of the accompanying period %name% ?: Êtes-vous sûr de vouloir supprimer l'action de la période d'accompagnement %name% ?
The accompanying period work has been successfully removed.: L'action d'accompagnement a été supprimée.
accompanying_course_work:
create: Créer une action
Create accompanying course work: Créer une action d'accompagnement