Update validation.yml. (#2829)

source: https://github.com/laravel/laravel/blob/v8.5.16/resources/lang/en/validation.php
This commit is contained in:
Robert Korulczyk 2021-05-04 01:47:18 +02:00 committed by GitHub
parent 7eea2476ca
commit 2ffec2ee71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,9 +3,9 @@ validation:
active_url: "The :attribute is not a valid URL." active_url: "The :attribute is not a valid URL."
after: "The :attribute must be a date after :date." after: "The :attribute must be a date after :date."
after_or_equal: "The :attribute must be a date after or equal to :date." after_or_equal: "The :attribute must be a date after or equal to :date."
alpha: "The :attribute may only contain letters." alpha: "The :attribute must only contain letters."
alpha_dash: "The :attribute may only contain letters, numbers, dashes and underscores." alpha_dash: "The :attribute must only contain letters, numbers, dashes and underscores."
alpha_num: "The :attribute may only contain letters and numbers." alpha_num: "The :attribute must only contain letters and numbers."
array: "The :attribute must be an array." array: "The :attribute must be an array."
before: "The :attribute must be a date before :date." before: "The :attribute must be a date before :date."
before_or_equal: "The :attribute must be a date before or equal to :date." before_or_equal: "The :attribute must be a date before or equal to :date."
@ -58,10 +58,10 @@ validation:
string: "The :attribute must be less than or equal :value characters." string: "The :attribute must be less than or equal :value characters."
array: "The :attribute must not have more than :value items." array: "The :attribute must not have more than :value items."
max: max:
numeric: "The :attribute may not be greater than :max." numeric: "The :attribute must not be greater than :max."
file: "The :attribute may not be greater than :max kilobytes." file: "The :attribute must not be greater than :max kilobytes."
string: "The :attribute may not be greater than :max characters." string: "The :attribute must not be greater than :max characters."
array: "The :attribute may not have more than :max items." array: "The :attribute must not have more than :max items."
mimes: "The :attribute must be a file of type: :values." mimes: "The :attribute must be a file of type: :values."
mimetypes: "The :attribute must be a file of type: :values." mimetypes: "The :attribute must be a file of type: :values."
min: min:
@ -69,6 +69,7 @@ validation:
file: "The :attribute must be at least :min kilobytes." file: "The :attribute must be at least :min kilobytes."
string: "The :attribute must be at least :min characters." string: "The :attribute must be at least :min characters."
array: "The :attribute must have at least :min items." array: "The :attribute must have at least :min items."
multiple_of: "The :attribute must be a multiple of :value."
not_in: "The selected :attribute is invalid." not_in: "The selected :attribute is invalid."
not_regex: "The :attribute format is invalid." not_regex: "The :attribute format is invalid."
numeric: "The :attribute must be a number." numeric: "The :attribute must be a number."
@ -82,6 +83,9 @@ validation:
required_with_all: "The :attribute field is required when :values are present." 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: "The :attribute field is required when :values is not present."
required_without_all: "The :attribute field is required when none of :values are present." required_without_all: "The :attribute field is required when none of :values are present."
prohibited: "The :attribute field is prohibited."
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." same: "The :attribute and :other must match."
size: size:
numeric: "The :attribute must be :size." numeric: "The :attribute must be :size."