fix typo in flash messages

This commit is contained in:
nobohan 2018-05-02 10:49:02 +02:00
parent d1f95b3be8
commit 92621f174f
2 changed files with 4 additions and 4 deletions

View File

@ -71,10 +71,10 @@ class TaskController extends Controller
$em->flush();
$this->addFlash('success', 'The transition is sucessfully appliyed');
$this->addFlash('success', 'The transition is successfully applied');
} else {
$this->addFlash('error', 'The transition could not be appliyed');
$this->addFlash('error', 'The transition could not be applied');
}
return $this->redirect($request->query->get('return_path', $defaultReturnPath));

View File

@ -65,5 +65,5 @@ cancel: annuler
'The task has been successfully removed.': 'La tâche a bien été supprimée'
'This form contains errors': 'Ce formulaire contient des erreurs'
'The task has been updated': 'La tâche a été mise à jour'
'The transition is sucessfully applyed': 'La transition a bien été effectuée'
'The transition could not be applyed': "La transition n'a pas pu être appliquée"
'The transition is successfully applied': 'La transition a bien été effectuée'
'The transition could not be applied': "La transition n'a pas pu être appliquée"