Convert language PHP 5.4 arrays.
This commit is contained in:
parent
5f5cc828d3
commit
01e97e13e2
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
return array(
|
return [
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
@ -21,12 +21,12 @@
|
||||||
"alpha_num" => "The :attribute may only contain letters and numbers.",
|
"alpha_num" => "The :attribute may only contain letters and numbers.",
|
||||||
"array" => "The :attribute must be an array.",
|
"array" => "The :attribute must be an array.",
|
||||||
"before" => "The :attribute must be a date before :date.",
|
"before" => "The :attribute must be a date before :date.",
|
||||||
"between" => array(
|
"between" => [
|
||||||
"numeric" => "The :attribute must be between :min and :max.",
|
"numeric" => "The :attribute must be between :min and :max.",
|
||||||
"file" => "The :attribute must be between :min and :max kilobytes.",
|
"file" => "The :attribute must be between :min and :max kilobytes.",
|
||||||
"string" => "The :attribute must be between :min and :max characters.",
|
"string" => "The :attribute must be between :min and :max characters.",
|
||||||
"array" => "The :attribute must have between :min and :max items.",
|
"array" => "The :attribute must have between :min and :max items.",
|
||||||
),
|
],
|
||||||
"boolean" => "The :attribute field must be true or false",
|
"boolean" => "The :attribute field must be true or false",
|
||||||
"confirmed" => "The :attribute confirmation does not match.",
|
"confirmed" => "The :attribute confirmation does not match.",
|
||||||
"date" => "The :attribute is not a valid date.",
|
"date" => "The :attribute is not a valid date.",
|
||||||
|
@ -41,19 +41,19 @@
|
||||||
"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.",
|
||||||
"max" => array(
|
"max" => [
|
||||||
"numeric" => "The :attribute may not be greater than :max.",
|
"numeric" => "The :attribute may not be greater than :max.",
|
||||||
"file" => "The :attribute may not be greater than :max kilobytes.",
|
"file" => "The :attribute may not be greater than :max kilobytes.",
|
||||||
"string" => "The :attribute may not be greater than :max characters.",
|
"string" => "The :attribute may not be greater than :max characters.",
|
||||||
"array" => "The :attribute may not have more than :max items.",
|
"array" => "The :attribute may not have more than :max items.",
|
||||||
),
|
],
|
||||||
"mimes" => "The :attribute must be a file of type: :values.",
|
"mimes" => "The :attribute must be a file of type: :values.",
|
||||||
"min" => array(
|
"min" => [
|
||||||
"numeric" => "The :attribute must be at least :min.",
|
"numeric" => "The :attribute must be at least :min.",
|
||||||
"file" => "The :attribute must be at least :min kilobytes.",
|
"file" => "The :attribute must be at least :min kilobytes.",
|
||||||
"string" => "The :attribute must be at least :min characters.",
|
"string" => "The :attribute must be at least :min characters.",
|
||||||
"array" => "The :attribute must have at least :min items.",
|
"array" => "The :attribute must have at least :min items.",
|
||||||
),
|
],
|
||||||
"not_in" => "The selected :attribute is invalid.",
|
"not_in" => "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.",
|
"regex" => "The :attribute format is invalid.",
|
||||||
|
@ -64,12 +64,12 @@
|
||||||
"required_without" => "The :attribute field is required when :values is not present.",
|
"required_without" => "The :attribute field is required when :values is not present.",
|
||||||
"required_without_all" => "The :attribute field is required when none of :values are present.",
|
"required_without_all" => "The :attribute field is required when none of :values are present.",
|
||||||
"same" => "The :attribute and :other must match.",
|
"same" => "The :attribute and :other must match.",
|
||||||
"size" => array(
|
"size" => [
|
||||||
"numeric" => "The :attribute must be :size.",
|
"numeric" => "The :attribute must be :size.",
|
||||||
"file" => "The :attribute must be :size kilobytes.",
|
"file" => "The :attribute must be :size kilobytes.",
|
||||||
"string" => "The :attribute must be :size characters.",
|
"string" => "The :attribute must be :size characters.",
|
||||||
"array" => "The :attribute must contain :size items.",
|
"array" => "The :attribute must contain :size items.",
|
||||||
),
|
],
|
||||||
"unique" => "The :attribute has already been taken.",
|
"unique" => "The :attribute has already been taken.",
|
||||||
"url" => "The :attribute format is invalid.",
|
"url" => "The :attribute format is invalid.",
|
||||||
"timezone" => "The :attribute must be a valid zone.",
|
"timezone" => "The :attribute must be a valid zone.",
|
||||||
|
@ -85,11 +85,11 @@
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'custom' => array(
|
'custom' => [
|
||||||
'attribute-name' => array(
|
'attribute-name' => [
|
||||||
'rule-name' => 'custom-message',
|
'rule-name' => 'custom-message',
|
||||||
),
|
],
|
||||||
),
|
],
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
@ -102,6 +102,6 @@
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'attributes' => array(),
|
'attributes' => [],
|
||||||
|
|
||||||
);
|
];
|
||||||
|
|
Loading…
Reference in New Issue