From 843432a3929dec09081fcfd8fdfde217d8007127 Mon Sep 17 00:00:00 2001 From: Miles Cellar Date: Wed, 16 May 2018 21:45:27 +0200 Subject: [PATCH] Update to the latest Laravel version (#122) Add message for "Not Regex" validation rule (https://github.com/laravel/laravel/commit/293fae6bd8285d076cedf2b8147a20e4090aa5bc#diff-9c04f727a922ad4f105b9ad764ec221d) and add language lines for the newly added comparison validation rules (https://github.com/laravel/laravel/commit/51507a6d8aef31fadac8125663f83f3302405a72#diff-9c04f727a922ad4f105b9ad764ec221d and https://github.com/laravel/laravel/commit/7d8e91ab66d0e8cba4e24394f6340109fbce024e#diff-9c04f727a922ad4f105b9ad764ec221d). --- extensions/lang-english/locale/validation.yml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/extensions/lang-english/locale/validation.yml b/extensions/lang-english/locale/validation.yml index d839513b7..f8cbe88c0 100644 --- a/extensions/lang-english/locale/validation.yml +++ b/extensions/lang-english/locale/validation.yml @@ -27,6 +27,16 @@ validation: exists: "The selected :attribute is invalid." file: "The :attribute must be a file." filled: "The :attribute field must have a value." + gt: + numeric: "The :attribute must be greater than :value." + file: "The :attribute must be greater than :value kilobytes." + string: "The :attribute must be greater than :value characters." + array: "The :attribute must have more than :value items." + gte: + numeric: "The :attribute must be greater than or equal :value." + file: "The :attribute must be greater than or equal :value kilobytes." + string: "The :attribute must be greater than or equal :value characters." + array: "The :attribute must have :value items or more." image: "The :attribute must be an image." in: "The selected :attribute is invalid." in_array: "The :attribute field does not exist in :other." @@ -35,6 +45,16 @@ validation: ipv4: "The :attribute must be a valid IPv4 address." ipv6: "The :attribute must be a valid IPv6 address." json: "The :attribute must be a valid JSON string." + lt: + numeric: "The :attribute must be less than :value." + file: "The :attribute must be less than :value kilobytes." + string: "The :attribute must be less than :value characters." + array: "The :attribute must have less than :value items." + lte: + numeric: "The :attribute must be less than or equal :value." + file: "The :attribute must be less than or equal :value kilobytes." + 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." @@ -48,6 +68,7 @@ validation: string: "The :attribute must be at least :min characters." array: "The :attribute must have at least :min items." not_in: "The selected :attribute is invalid." + not_regex: "The :attribute format is invalid." numeric: "The :attribute must be a number." present: "The :attribute field must be present." regex: "The :attribute format is invalid."