From 6124f3d1808c7918ab2519a5d472ddc0c2352549 Mon Sep 17 00:00:00 2001 From: Miles Cellar Date: Sat, 15 Dec 2018 11:37:27 +0100 Subject: [PATCH] Add language entry for starts_with rule and date_equals validation message These are commits from Laravel: https://github.com/laravel/laravel/commit/5052ab1fd7df20e4b643b3208b7b15472b8d6468#diff-9c04f727a922ad4f105b9ad764ec221d https://github.com/laravel/laravel/commit/78cb2685aade6416db81222f6f9b09edf9cdbb9c#diff-9c04f727a922ad4f105b9ad764ec221d --- extensions/lang-english/locale/validation.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extensions/lang-english/locale/validation.yml b/extensions/lang-english/locale/validation.yml index 1b64c4741..7604253aa 100644 --- a/extensions/lang-english/locale/validation.yml +++ b/extensions/lang-english/locale/validation.yml @@ -17,6 +17,7 @@ validation: boolean: "The :attribute field must be true or false." confirmed: "The :attribute confirmation does not match." date: "The :attribute is not a valid date." + date_equals: "The :attribute must be a date equal to :date." date_format: "The :attribute does not match the format :other." different: "The :attribute and :other must be different." digits: "The :attribute must be :digits digits." @@ -85,6 +86,7 @@ validation: file: "The :attribute must be :size kilobytes." string: "The :attribute must be :size characters." array: "The :attribute must contain :size items." + starts_with: "The :attribute must start with one of the following: :values" string: "The :attribute must be a string." timezone: "The :attribute must be a valid zone." unique: "The :attribute has already been taken."