[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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -90,6 +90,7 @@
'numeric' => 'The :attribute must not be greater than :max.',
'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.',
'mimetypes' => 'The :attribute must be a file of type: :values.',
'min' => [
@ -98,6 +99,7 @@
'numeric' => 'The :attribute must be at least :min.',
'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.',
'not_in' => 'The selected :attribute is invalid.',
'not_regex' => 'The :attribute format is invalid.',