From 3a62cfb4fe903b8a36bdbd56d2b4013ddb8d62d2 Mon Sep 17 00:00:00 2001 From: Jess Archer Date: Thu, 11 Mar 2021 00:12:57 +1000 Subject: [PATCH] Add language for prohibited_if and prohibited_unless validation rules (#5557) --- resources/lang/en/validation.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/lang/en/validation.php b/resources/lang/en/validation.php index 9a8dfcf8..0f861e32 100644 --- a/resources/lang/en/validation.php +++ b/resources/lang/en/validation.php @@ -104,6 +104,8 @@ 'required_with_all' => 'The :attribute field is required when :values are present.', 'required_without' => 'The :attribute field is required when :values is not present.', 'required_without_all' => 'The :attribute field is required when none of :values are present.', + 'prohibited_if' => 'The :attribute field is prohibited when :other is :value.', + 'prohibited_unless' => 'The :attribute field is prohibited unless :other is in :values.', 'same' => 'The :attribute and :other must match.', 'size' => [ 'numeric' => 'The :attribute must be :size.',