diff --git a/app/Http/Requests/ContactFormRequest.php b/app/Http/Requests/ContactFormRequest.php
index d95c7e0..5a855d5 100644
--- a/app/Http/Requests/ContactFormRequest.php
+++ b/app/Http/Requests/ContactFormRequest.php
@@ -46,7 +46,7 @@ class ContactFormRequest extends FormRequest
public function messages()
{
return [
- //'ok_cgv.accepted' => __('You must accept the terms and conditions and the privacy policy'),
+ 'ok_cgv.accepted' => __('You must accept the terms and conditions and the privacy policy'),
'file.max' => __('La taille du fichier ne peut pas dépasser :max kilo-octets.'),
'file.mimes' => __('Le fichier doit être de type : :values.'),
];
diff --git a/resources/lang/fr.json b/resources/lang/fr.json
index 9303603..5ae22c3 100644
--- a/resources/lang/fr.json
+++ b/resources/lang/fr.json
@@ -39,5 +39,6 @@
"We'll be back soon!": "Nous serons de retour bientôt",
"Sorry for the inconvenience but we’re performing some maintenance at the moment." : "Veuillez nous excuser pour la gêne occasionnée, nous sommes en train de réaliser une opération de maintenance.",
"If you need to you can always contact us, otherwise we’ll be back online shortly!" : "Si besoin vous pouvez toujours nous contacter, sinon nous serons de retour bientôt",
- "The :sitename Team" : "L'équipe :sitename"
+ "The :sitename Team" : "L'équipe :sitename",
+ "You must accept the terms and conditions and the privacy policy" : "Vous devez accepter les conditions générales et la politique de gestion des données personnelles."
}
diff --git a/resources/lang/fr/validation.php b/resources/lang/fr/validation.php
index 967b0f9..f2463bf 100644
--- a/resources/lang/fr/validation.php
+++ b/resources/lang/fr/validation.php
@@ -136,6 +136,9 @@ return [
'ok_cgv' => [
'accepted' => 'Vous devez accepter les conditions générales de vente.',
],
+ 'ok_cgu_privacy' => [
+ 'accepted' => 'Vous devez accepter les conditions générales et la politique de gestion des données personnelles.',
+ ],
'selectedcreneau' => [
'required' => 'Vous devez choisir un horaire de retrait pour votre commande.',
],