From d18332bdeffbb1f4bf0da620d01b3ff26b349623 Mon Sep 17 00:00:00 2001 From: Dan Harrin Date: Mon, 22 Aug 2022 14:26:36 +0100 Subject: [PATCH] [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 --- lang/en/validation.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lang/en/validation.php b/lang/en/validation.php index 6d9e6d54..d5490e5c 100644 --- a/lang/en/validation.php +++ b/lang/en/validation.php @@ -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.',