Commit 408d0ab3 authored by Korko's avatar Korko
Browse files

Use translation for confirmation message

parent e714dc4d
......@@ -24,7 +24,7 @@ class RandomFormController extends Controller
$this->sendMessages($request, $participants, $hat);
$message = 'Envoyé avec succès !';
$message = trans('message.sent');
return $request->ajax() ? [$message] : redirect('/')->with('message', $message);
}
......
<?php
return [
'sent' => 'Envoyé avec succès !'
];
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment