Validation added required_if_accepted (#5987)

Added translation for new validation [`required_if_accepted`](https://github.com/laravel/framework/pull/44035) rule
This commit is contained in:
Luis Parrado 2022-09-15 08:15:04 -05:00 committed by GitHub
parent c1dc4199b8
commit 1bec4f82cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -120,6 +120,7 @@ return [
'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.',