[9.x] feature: max_digits and min_digits validation translations (#5975)
* feature: `max_digits` and `min_digits` validation translations * Update validation.php Co-authored-by: Taylor Otwell <taylor@laravel.com>
This commit is contained in:
@@ -90,6 +90,7 @@ return [
|
|||||||
'numeric' => 'The :attribute must not be greater than :max.',
|
'numeric' => 'The :attribute must not be greater than :max.',
|
||||||
'string' => 'The :attribute must not be greater than :max characters.',
|
'string' => 'The :attribute must not be greater than :max characters.',
|
||||||
],
|
],
|
||||||
|
'max_digits' => 'The :attribute must not have more than :max digits.',
|
||||||
'mimes' => 'The :attribute must be a file of type: :values.',
|
'mimes' => 'The :attribute must be a file of type: :values.',
|
||||||
'mimetypes' => 'The :attribute must be a file of type: :values.',
|
'mimetypes' => 'The :attribute must be a file of type: :values.',
|
||||||
'min' => [
|
'min' => [
|
||||||
@@ -98,6 +99,7 @@ return [
|
|||||||
'numeric' => 'The :attribute must be at least :min.',
|
'numeric' => 'The :attribute must be at least :min.',
|
||||||
'string' => 'The :attribute must be at least :min characters.',
|
'string' => 'The :attribute must be at least :min characters.',
|
||||||
],
|
],
|
||||||
|
'min_digits' => 'The :attribute must have at least :min digits.',
|
||||||
'multiple_of' => 'The :attribute must be a multiple of :value.',
|
'multiple_of' => 'The :attribute must be a multiple of :value.',
|
||||||
'not_in' => 'The selected :attribute is invalid.',
|
'not_in' => 'The selected :attribute is invalid.',
|
||||||
'not_regex' => 'The :attribute format is invalid.',
|
'not_regex' => 'The :attribute format is invalid.',
|
||||||
|
|||||||
Reference in New Issue
Block a user