From 9c26e612121be5cbc63efd9ec725d30d79233119 Mon Sep 17 00:00:00 2001 From: Tim MacDonald Date: Fri, 20 Jan 2023 13:31:28 +1100 Subject: [PATCH] Adds "missing" validation rule translations (#6078) --- lang/en/validation.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lang/en/validation.php b/lang/en/validation.php index af94bd426..70407c9d9 100644 --- a/lang/en/validation.php +++ b/lang/en/validation.php @@ -103,6 +103,11 @@ return [ 'string' => 'The :attribute must be at least :min characters.', ], 'min_digits' => 'The :attribute must have at least :min digits.', + 'missing' => 'The :attribute field must be missing.', + 'missing_if' => 'The :attribute field must be missing when :other is :value.', + 'missing_unless' => 'The :attribute field must be missing unless :other is :value.', + 'missing_with' => 'The :attribute field must be missing when :values is present.', + 'missing_with_all' => 'The :attribute field must be missing when :values are present.', 'multiple_of' => 'The :attribute must be a multiple of :value.', 'not_in' => 'The selected :attribute is invalid.', 'not_regex' => 'The :attribute format is invalid.',