BUGFIX: using incorrect translation strings
This commit is contained in:
parent
56bc06e6f0
commit
fc03b2f731
|
@ -55,7 +55,7 @@ class JobController extends AbstractController
|
||||||
$this->addFlash('danger', $e->getMessage());
|
$this->addFlash('danger', $e->getMessage());
|
||||||
return new RedirectResponse($this->GenerateUrl('job_edit', ['id' => $allValues['id']]));
|
return new RedirectResponse($this->GenerateUrl('job_edit', ['id' => $allValues['id']]));
|
||||||
}
|
}
|
||||||
$this->addFlash('success', 'settings.edit.flashes.jobedited');
|
$this->addFlash('success', 'job.edit.flashes.jobedited');
|
||||||
return new RedirectResponse($this->GenerateUrl('job_index'));
|
return new RedirectResponse($this->GenerateUrl('job_index'));
|
||||||
}
|
}
|
||||||
return new JsonResponse(['success'=>false, 'message' => 'Your request is invalid'], Response::HTTP_BAD_REQUEST);
|
return new JsonResponse(['success'=>false, 'message' => 'Your request is invalid'], Response::HTTP_BAD_REQUEST);
|
||||||
|
@ -74,7 +74,7 @@ class JobController extends AbstractController
|
||||||
$this->addFlash('danger', $e->getMessage());
|
$this->addFlash('danger', $e->getMessage());
|
||||||
return new RedirectResponse($this->GenerateUrl('job_add'));
|
return new RedirectResponse($this->GenerateUrl('job_add'));
|
||||||
}
|
}
|
||||||
$this->addFlash('success', 'settings.add.flashes.jobadded');
|
$this->addFlash('success', 'job.add.flashes.jobadded');
|
||||||
return new RedirectResponse($this->GenerateUrl('job_index'));
|
return new RedirectResponse($this->GenerateUrl('job_index'));
|
||||||
} else {
|
} else {
|
||||||
return new Response('Not implemented yet', Response::HTTP_TOO_EARLY);
|
return new Response('Not implemented yet', Response::HTTP_TOO_EARLY);
|
||||||
|
|
Loading…
Reference in New Issue