From 19ae5c0252d5b3e9300f93e7b838a011e60f11a2 Mon Sep 17 00:00:00 2001 From: Miles Cellar Date: Thu, 18 May 2017 22:07:12 +0200 Subject: [PATCH] Add IPv4/IPv6 validation messages Source: https://github.com/laravel/laravel/commit/7e5739d266bba4624f933f547f111ee6ad26e095 --- 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 e4f73e2ea..d839513b7 100644 --- a/extensions/lang-english/locale/validation.yml +++ b/extensions/lang-english/locale/validation.yml @@ -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."