Files
summercms/modules/phrasebook/lang/en/validate.yaml
Jakub Zych d2ce3a2c3b feat(lagoon): accept string and url rules in lagoon.Validate (quick-261104-f4x)
- string requires a string value (pointers and named string types
  included), url a URL matching Laravel's pattern (urlPattern, shared
  with lagoon.ValidateRequest); both skip an empty or blank value
- lagoon::validate.string and .url in the en and pl catalogs, English
  fallbacks for a nil translator
- settings saves whose model rules use nullable|string|max:255 or
  nullable|url|max:500 no longer fail with an unrecognized-rule error
2026-11-04 11:08:06 +01:00

16 lines
765 B
YAML

required: "The :attribute field is required."
email: "The :attribute must be a valid email address."
between: "The :attribute must be between :min and :max characters."
boolean: "The :attribute field must be true or false."
unique: "The :attribute has already been taken."
confirmed: "The :attribute confirmation does not match."
different: "The :attribute and :other must be different."
integer: "The :attribute must be an integer."
numeric: "The :attribute must be a number."
max: "The :attribute may not be greater than :max."
min: "The :attribute must be at least :min."
oneof: "The selected :attribute is invalid."
mimes: "The :attribute must be a file of the allowed types."
string: "The :attribute must be a string."
url: "The :attribute format is invalid."