Skip to content

Commit

Permalink
Improved translation of validation rules: enum, exists, in and …
Browse files Browse the repository at this point in the history
…`not_in`
  • Loading branch information
andrey-helldar committed Mar 10, 2024
1 parent 24d7bd2 commit 4bb2a81
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Illuminate/Translation/lang/en/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
'doesnt_start_with' => 'The :attribute field must not start with one of the following: :values.',
'email' => 'The :attribute field must be a valid email address.',
'ends_with' => 'The :attribute field must end with one of the following: :values.',
'enum' => 'The selected :attribute is invalid.',
'exists' => 'The selected :attribute is invalid.',
'enum' => 'The :attribute field value is not in the list of allowed values.',
'exists' => 'The :attribute field value does not exist.',
'extensions' => 'The :attribute field must have one of the following extensions: :values.',
'file' => 'The :attribute field must be a file.',
'filled' => 'The :attribute field must have a value.',
Expand All @@ -69,7 +69,7 @@
],
'hex_color' => 'The :attribute field must be a valid hexadecimal color.',
'image' => 'The :attribute field must be an image.',
'in' => 'The selected :attribute is invalid.',
'in' => 'The :attribute field value is not in the list of allowed values.',
'in_array' => 'The :attribute field must exist in :other.',
'integer' => 'The :attribute field must be an integer.',
'ip' => 'The :attribute field must be a valid IP address.',
Expand Down Expand Up @@ -112,7 +112,7 @@
'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 field must be a multiple of :value.',
'not_in' => 'The selected :attribute is invalid.',
'not_in' => 'The :attribute field must not be in the list.',
'not_regex' => 'The :attribute field format is invalid.',
'numeric' => 'The :attribute field must be a number.',
'password' => [
Expand Down

0 comments on commit 4bb2a81

Please sign in to comment.