feat(07-07): localize lagoon validation with Laravel-shaped Polish messages
Replay of the user-api corpus needs lagoon::validate.* catalogs and underscore-to-space attribute names so Go 422 bodies match Winter. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
13
phrasebook/lang/en/validate.yaml
Normal file
13
phrasebook/lang/en/validate.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
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."
|
||||
Reference in New Issue
Block a user