diff --git a/frontend/lang/en/validation.php b/frontend/lang/en/validation.php index ae786e4c..b0fc4fb2 100644 --- a/frontend/lang/en/validation.php +++ b/frontend/lang/en/validation.php @@ -1,25 +1,25 @@ 'The field {attribute} must be an email.', - 'required' => 'The field {attribute} is required.', - 'empty' => 'The field {attribute} is missing in the fields to be validated.', - 'min' => 'The field {attribute} must be at least {length} characters long.', - 'max' => 'The field {attribute} must not exceed {length} characters.', - 'same' => 'The field {attribute} must be the same as {value}.', - 'number' => 'The field {attribute} must be a number.', - 'int' => 'The field {attribute} must be an integer.', - 'float' => 'The field {attribute} must be a decimal.', + 'email' => 'The {attribute} field must be an email.', + 'required' => 'The {attribute} field is required.', + 'empty' => 'The {attribute} field is missing in the fields to be validated.', + 'min' => 'The {attribute} field must be at least {length} characters long.', + 'max' => 'The {attribute} field must not exceed {length} characters.', + 'same' => 'The {attribute} field must be the same as {value}.', + 'number' => 'The {attribute} field must be a number.', + 'int' => 'The {attribute} field must be an integer.', + 'float' => 'The {attribute} field must be a decimal.', 'alphanum' => 'Only alphanumeric characters are allowed for field {attribute}.', - 'in' => 'The field {attribute} must be one of the following {value}.', - 'size' => 'The field {attribute} must be {length} characters long.', + 'in' => 'The {attribute} field must be one of the following {value}.', + 'size' => 'The {attribute} field must be {length} characters long.', 'lower' => 'Only lowercase letters are allowed for field {attribute}.', 'upper' => 'Only uppercase letters are allowed for field {attribute}.', 'alpha' => 'Only alphabetic characters are allowed for field {attribute}.', - 'exists' => 'The field {attribute} does not exists.', - 'not_exists' => 'The field {attribute} already exists.', - 'unique' => 'The field {attribute} must be unique.', - 'date' => 'The field {attribute} must use the format: yyyy-mm-dd', - 'datetime' => 'The field {attribute} must use the format: yyyy-mm-dd hh:mm:ss', - 'regex' => 'The field {attribute} does not match the pattern', + 'exists' => 'The {attribute} field does not exists.', + 'not_exists' => 'The {attribute} field already exists.', + 'unique' => 'The {attribute} field must be unique.', + 'date' => 'The {attribute} field must use the format: yyyy-mm-dd', + 'datetime' => 'The {attribute} field must use the format: yyyy-mm-dd hh:mm:ss', + 'regex' => 'The {attribute} field does not match the pattern', ]; diff --git a/frontend/lang/fr/validation.php b/frontend/lang/fr/validation.php index 32cf675a..d53eaf00 100644 --- a/frontend/lang/fr/validation.php +++ b/frontend/lang/fr/validation.php @@ -16,9 +16,9 @@ 'lower' => "Le champ {attribute} doit avoir un contenu en miniscule.", 'upper' => "Le champ {attribute} doit avoir un contenu en majiscule.", 'alpha' => "Le champ {attribute} doit avoir un contenu en alphabetique.", - 'exists' => "le champe {attribute} n'existe pas.", - 'not_exists' => "le champ {attribute} existe.", - 'unique' => "le champ {attribute} doit ĂȘtre unique.", + 'exists' => "Le champ {attribute} n'existe pas.", + 'not_exists' => "Le champ {attribute} existe.", + 'unique' => "Le champ {attribute} doit ĂȘtre unique.", 'date' => "Le champ {attribute} n'est pas une date au format yyyy-mm-dd", 'datetime' => "Le champ {attribute} n'est pas une date au format yyyy-mm-dd hh:mm:ss", 'regex' => "Le champ {attribute} n'est pas valide",