mirror of
https://github.com/flarum/framework.git
synced 2025-06-06 07:54:32 +08:00
Merge pull request #104 from milescellar/patch-1
Add IPv4/IPv6 validation messages
This commit is contained in:
@ -32,6 +32,8 @@ validation:
|
||||
in_array: "The :attribute field does not exist in :other."
|
||||
integer: "The :attribute must be an integer."
|
||||
ip: "The :attribute must be a valid IP address."
|
||||
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."
|
||||
max:
|
||||
numeric: "The :attribute may not be greater than :max."
|
||||
|
Reference in New Issue
Block a user