[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:
Dan Harrin
2022-08-22 14:26:36 +01:00
committed by GitHub
parent e2e25f607a
commit d18332bdef

View File

@@ -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.',