From d2bc9d0c911b123544f37dc64af10efc2aea2391 Mon Sep 17 00:00:00 2001 From: Luis Parrado Date: Wed, 14 Sep 2022 23:25:55 -0500 Subject: [PATCH] Validation added `required_if_accepted` Added translation for new validation [`required_if_accepted`](https://github.com/laravel/framework/pull/44035) rule --- lang/en/validation.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lang/en/validation.php b/lang/en/validation.php index d5490e5cdfb..5ea01fa77d6 100644 --- a/lang/en/validation.php +++ b/lang/en/validation.php @@ -120,6 +120,7 @@ 'required' => 'The :attribute field is required.', 'required_array_keys' => 'The :attribute field must contain entries for: :values.', 'required_if' => 'The :attribute field is required when :other is :value.', + 'required_if_accepted' => 'The :attribute field is required when :other is accepted.', 'required_unless' => 'The :attribute field is required unless :other is in :values.', 'required_with' => 'The :attribute field is required when :values is present.', 'required_with_all' => 'The :attribute field is required when :values are present.',