From 2ffec2ee71537a5aa85ce2f7aeb082e8e4575d37 Mon Sep 17 00:00:00 2001 From: Robert Korulczyk Date: Tue, 4 May 2021 01:47:18 +0200 Subject: [PATCH] Update validation.yml. (#2829) source: https://github.com/laravel/laravel/blob/v8.5.16/resources/lang/en/validation.php --- locale/validation.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/locale/validation.yml b/locale/validation.yml index 55b9a5a9f..bd435434c 100644 --- a/locale/validation.yml +++ b/locale/validation.yml @@ -3,9 +3,9 @@ validation: active_url: "The :attribute is not a valid URL." after: "The :attribute must be a date after :date." after_or_equal: "The :attribute must be a date after or equal to :date." - alpha: "The :attribute may only contain letters." - alpha_dash: "The :attribute may only contain letters, numbers, dashes and underscores." - alpha_num: "The :attribute may only contain letters and numbers." + alpha: "The :attribute must only contain letters." + alpha_dash: "The :attribute must only contain letters, numbers, dashes and underscores." + alpha_num: "The :attribute must only contain letters and numbers." array: "The :attribute must be an array." before: "The :attribute must be a date before :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." array: "The :attribute must not have more than :value items." max: - numeric: "The :attribute may not be greater than :max." - file: "The :attribute may not be greater than :max kilobytes." - string: "The :attribute may not be greater than :max characters." - array: "The :attribute may not have more than :max items." + numeric: "The :attribute must not be greater than :max." + file: "The :attribute must not be greater than :max kilobytes." + string: "The :attribute must not be greater than :max characters." + array: "The :attribute must not have more than :max items." mimes: "The :attribute must be a file of type: :values." mimetypes: "The :attribute must be a file of type: :values." min: @@ -69,6 +69,7 @@ validation: file: "The :attribute must be at least :min kilobytes." string: "The :attribute must be at least :min characters." 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_regex: "The :attribute format is invalid." 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_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: "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." size: numeric: "The :attribute must be :size."