Browse Source

Merge pull request #4261 from mhayes14/master

Add missing IPv4/IPv6 validation messages
Taylor Otwell 7 years ago
parent
commit
0f0178a577
1 changed files with 2 additions and 0 deletions
  1. 2 0
      resources/lang/en/validation.php

+ 2 - 0
resources/lang/en/validation.php

@@ -47,6 +47,8 @@ return [
     '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.',