Commit c45ef54c authored by Bering's avatar Bering

Fixes the validation error message for regex validation rule

parent 79d18a31
...@@ -37,7 +37,6 @@ return array( ...@@ -37,7 +37,6 @@ return array(
"in" => "The selected :attribute is invalid.", "in" => "The selected :attribute is invalid.",
"integer" => "The :attribute must be an integer.", "integer" => "The :attribute must be an integer.",
"ip" => "The :attribute must be a valid IP address.", "ip" => "The :attribute must be a valid IP address.",
"match" => "The :attribute format is invalid.",
"max" => array( "max" => array(
"numeric" => "The :attribute must be less than :max.", "numeric" => "The :attribute must be less than :max.",
"file" => "The :attribute must be less than :max kilobytes.", "file" => "The :attribute must be less than :max kilobytes.",
...@@ -51,6 +50,7 @@ return array( ...@@ -51,6 +50,7 @@ return array(
), ),
"notin" => "The selected :attribute is invalid.", "notin" => "The selected :attribute is invalid.",
"numeric" => "The :attribute must be a number.", "numeric" => "The :attribute must be a number.",
"regex" => "The :attribute format is invalid.",
"required" => "The :attribute field is required.", "required" => "The :attribute field is required.",
"required_with" => "The :attribute field is required when :values is present.", "required_with" => "The :attribute field is required when :values is present.",
"same" => "The :attribute and :other must match.", "same" => "The :attribute and :other must match.",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment