1
0
mirror of https://github.com/flarum/core.git synced 2025-08-17 13:54:18 +02:00

Merge pull request #138 from milescellar/patch-3

Add language entry for starts_with rule and date_equals validation me…
This commit is contained in:
Toby Zerner
2018-12-15 21:27:05 +10:30
committed by GitHub

View File

@@ -17,6 +17,7 @@ validation:
boolean: "The :attribute field must be true or false." boolean: "The :attribute field must be true or false."
confirmed: "The :attribute confirmation does not match." confirmed: "The :attribute confirmation does not match."
date: "The :attribute is not a valid date." 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." date_format: "The :attribute does not match the format :other."
different: "The :attribute and :other must be different." different: "The :attribute and :other must be different."
digits: "The :attribute must be :digits digits." digits: "The :attribute must be :digits digits."
@@ -85,6 +86,7 @@ validation:
file: "The :attribute must be :size kilobytes." file: "The :attribute must be :size kilobytes."
string: "The :attribute must be :size characters." string: "The :attribute must be :size characters."
array: "The :attribute must contain :size items." 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." string: "The :attribute must be a string."
timezone: "The :attribute must be a valid zone." timezone: "The :attribute must be a valid zone."
unique: "The :attribute has already been taken." unique: "The :attribute has already been taken."