|
@@ -28,12 +28,6 @@ abstract class Request extends FormRequest
|
|
|
'required' => '缺少参数:attribute',
|
|
|
'integer' => ':attribute 必须是整数类型',
|
|
|
'date' => ':attribute 必须是日期格式',
|
|
|
- 'max' => [
|
|
|
- 'numeric' => ':attribute不能超过 :max.',
|
|
|
- 'file' => '文件:attribute大小不能超过 :max kilobytes.',
|
|
|
- 'string' => '字符:attribute 不能超过 :max 长度.',
|
|
|
- 'array' => '数组:attribute 不能超过 :max 长度.',
|
|
|
- ],
|
|
|
'accepted' => 'The :attribute must be accepted.',
|
|
|
'active_url' => ':attribute 是个无效链接.',
|
|
|
'after' => 'The :attribute must be a date after :date.',
|
|
@@ -59,18 +53,6 @@ abstract class Request extends FormRequest
|
|
|
'exists' => ':attribute 不存在.',
|
|
|
'file' => 'The :attribute must be a file.',
|
|
|
'filled' => 'The :attribute field must have a value.',
|
|
|
- 'gt' => [
|
|
|
- 'numeric' => 'The :attribute must be greater than :value.',
|
|
|
- 'file' => 'The :attribute must be greater than :value kilobytes.',
|
|
|
- 'string' => 'The :attribute must be greater than :value characters.',
|
|
|
- 'array' => 'The :attribute must have more than :value items.',
|
|
|
- ],
|
|
|
- 'gte' => [
|
|
|
- 'numeric' => 'The :attribute must be greater than or equal :value.',
|
|
|
- 'file' => 'The :attribute must be greater than or equal :value kilobytes.',
|
|
|
- 'string' => 'The :attribute must be greater than or equal :value characters.',
|
|
|
- 'array' => 'The :attribute must have :value items or more.',
|
|
|
- ],
|
|
|
'image' => 'The :attribute 必须是一张图片.',
|
|
|
'in' => '选项 :attribute 不在给定范围中.',
|
|
|
'in_array' => 'The :attribute field does not exist in :other.',
|
|
@@ -78,26 +60,8 @@ abstract class Request extends FormRequest
|
|
|
'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.',
|
|
|
- 'lt' => [
|
|
|
- 'numeric' => 'The :attribute must be less than :value.',
|
|
|
- 'file' => 'The :attribute must be less than :value kilobytes.',
|
|
|
- 'string' => 'The :attribute must be less than :value characters.',
|
|
|
- 'array' => 'The :attribute must have less than :value items.',
|
|
|
- ],
|
|
|
- 'lte' => [
|
|
|
- 'numeric' => 'The :attribute must be less than or equal :value.',
|
|
|
- 'file' => 'The :attribute must be less than or equal :value kilobytes.',
|
|
|
- 'string' => 'The :attribute must be less than or equal :value characters.',
|
|
|
- 'array' => 'The :attribute must not have more than :value items.',
|
|
|
- ],
|
|
|
'mimes' => 'The :attribute must be a file of type: :values.',
|
|
|
'mimetypes' => 'The :attribute must be a file of type: :values.',
|
|
|
- 'min' => [
|
|
|
- 'numeric' => 'The :attribute must be at least :min.',
|
|
|
- 'file' => 'The :attribute must be at least :min kilobytes.',
|
|
|
- 'string' => 'The :attribute must be at least :min characters.',
|
|
|
- 'array' => 'The :attribute must have at least :min items.',
|
|
|
- ],
|
|
|
'not_in' => 'The selected :attribute is invalid.',
|
|
|
'not_regex' => 'The :attribute format is invalid.',
|
|
|
'numeric' => 'The :attribute must be a number.',
|
|
@@ -110,12 +74,6 @@ abstract class Request extends FormRequest
|
|
|
'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.',
|
|
|
'same' => 'The :attribute and :other must match.',
|
|
|
- 'size' => [
|
|
|
- 'numeric' => 'The :attribute must be :size.',
|
|
|
- 'file' => 'The :attribute must be :size kilobytes.',
|
|
|
- 'string' => 'The :attribute must be :size characters.',
|
|
|
- 'array' => 'The :attribute must contain :size items.',
|
|
|
- ],
|
|
|
'starts_with' => 'The :attribute must start with one of the following: :values',
|
|
|
'string' => 'The :attribute must be a string.',
|
|
|
'timezone' => 'The :attribute must be a valid zone.',
|