| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151 |
- <?php
- return [
- /*
- |--------------------------------------------------------------------------
- | Validation Language Lines
- |--------------------------------------------------------------------------
- |
- | following language lines contain the default error messages used by
- | the validator class. Some of these rules have multiple versions such
- | as the size rules. Feel free to tweak each of these messages here.
- |
- */
- 'accepted' => ':attribute 必须同意',
- 'active_url' => ':attribute 不是有效URL',
- 'after' => ':attribute 必须是在 :date 之后',
- 'after_or_equal' => ':attribute 必须是等于或在 :date 之后',
- 'alpha' => ':attribute may only contain letters.',
- 'alpha_dash' => ':attribute may only contain letters, numbers, dashes and underscores.',
- 'alpha_num' => ':attribute may only contain letters and numbers.',
- 'array' => ':attribute must be an array.',
- 'before' => ':attribute must be a date before :date.',
- 'before_or_equal' => ':attribute must be a date before or equal to :date.',
- 'between' => [
- 'numeric' => ':attribute 必须介于 :min 与 :max 之间.',
- 'file' => ':attribute must be between :min and :max kilobytes.',
- 'string' => ':attribute must be between :min and :max characters.',
- 'array' => ':attribute must have between :min and :max items.',
- ],
- 'boolean' => ':attribute 请选是或否,必须是布尔值',
- 'confirmed' => ':attribute confirmation does not match.',
- 'date' => ':attribute 不是有效日期',
- 'date_equals' => ':attribute must be a date equal to :date.',
- 'date_format' => ':attribute does not match the format :format.',
- 'different' => ':attribute and :other must be different.',
- 'digits' => ':attribute 必须是 :digits 位数.',
- 'digits_between' => ':attribute 必须介于 :min 与 :max 位之间.',
- 'dimensions' => ':attribute has invalid image dimensions.',
- 'distinct' => ':attribute field has a duplicate value.',
- 'email' => ':attribute must be a valid email address.',
- 'ends_with' => ':attribute must end with one of the following: :values',
- 'exists' => ':attribute 选择的相关值不存在',
- 'file' => ':attribute must be a file.',
- 'filled' => ':attribute field must have a value.',
- 'gt' => [
- 'numeric' => ':attribute must be greater than :value.',
- 'file' => ':attribute must be greater than :value kilobytes.',
- 'string' => ':attribute must be greater than :value characters.',
- 'array' => ':attribute must have more than :value items.',
- ],
- 'gte' => [
- 'numeric' => ':attribute must be greater than or equal :value.',
- 'file' => ':attribute must be greater than or equal :value kilobytes.',
- 'string' => ':attribute must be greater than or equal :value characters.',
- 'array' => ':attribute must have :value items or more.',
- ],
- 'image' => ':attribute must be an image.',
- 'in' => 'selected :attribute is invalid.',
- 'in_array' => ':attribute field does not exist in :other.',
- 'integer' => ':attribute must be an integer.',
- 'ip' => ':attribute must be a valid IP address.',
- 'ipv4' => ':attribute must be a valid IPv4 address.',
- 'ipv6' => ':attribute must be a valid IPv6 address.',
- 'jsonData' => ':attribute must be a valid JSON string.',
- 'lt' => [
- 'numeric' => ':attribute must be less than :value.',
- 'file' => ':attribute must be less than :value kilobytes.',
- 'string' => ':attribute must be less than :value characters.',
- 'array' => ':attribute must have less than :value items.',
- ],
- 'lte' => [
- 'numeric' => ':attribute must be less than or equal :value.',
- 'file' => ':attribute must be less than or equal :value kilobytes.',
- 'string' => ':attribute must be less than or equal :value characters.',
- 'array' => ':attribute must not have more than :value items.',
- ],
- 'max' => [
- 'numeric' => ':attribute may not be greater than :max.',
- 'file' => ':attribute may not be greater than :max kilobytes.',
- 'string' => ':attribute 不能大于 :max 个字符',
- 'array' => ':attribute may not have more than :max items.',
- ],
- 'mimes' => ':attribute must be a file of type: :values.',
- 'mimetypes' => ':attribute must be a file of type: :values.',
- 'min' => [
- 'numeric' => ':attribute must be at least :min.',
- 'file' => ':attribute must be at least :min kilobytes.',
- 'string' => ':attribute must be at least :min characters.',
- 'array' => ':attribute must have at least :min items.',
- ],
- 'not_in' => 'selected :attribute is invalid.',
- 'not_regex' => ':attribute format is invalid.',
- 'numeric' => ':attribute 必须是数字',
- 'present' => ':attribute field must be present.',
- 'regex' => ':attribute format is invalid.',
- 'required' => ':attribute 字段不能为空',
- 'required_if' => ':attribute field is required when :other is :value.',
- 'required_unless' => ':attribute field is required unless :other is in :values.',
- 'required_with' => ':attribute field is required when :values is present.',
- 'required_with_all' => ':attribute field is required when :values are present.',
- 'required_without' => ':values 与 :attribute 至少填写一项',
- 'required_without_all' => ':attribute field is required when none of :values are present.',
- 'same' => ':attribute 与 :other 必须一致',
- 'size' => [
- 'numeric' => ':attribute must be :size.',
- 'file' => ':attribute must be :size kilobytes.',
- 'string' => ':attribute must be :size characters.',
- 'array' => ':attribute must contain :size items.',
- ],
- 'starts_with' => ':attribute must start with one of the following: :values',
- 'string' => ':attribute 必须是字符串',
- 'timezone' => ':attribute must be a valid zone.',
- 'unique' => ':attribute 已经存在,不能重复!',
- 'uploaded' => ':attribute failed to upload.',
- 'url' => ':attribute format is invalid.',
- 'uuid' => ':attribute must be a valid UUID.',
- 'identity_cards' => ':attribute 身份证号错误',
- /*
- |--------------------------------------------------------------------------
- | Custom Validation Language Lines
- |--------------------------------------------------------------------------
- |
- | Here you may specify custom validation messages for attributes using the
- | convention "attribute.rule" to name the lines. This makes it quick to
- | specify a specific custom language line for a given attribute rule.
- |
- */
- 'custom' => [
- 'attribute-name' => [
- 'rule-name' => 'custom-message',
- ],
- ],
- /*
- |--------------------------------------------------------------------------
- | Custom Validation Attributes
- |--------------------------------------------------------------------------
- |
- | following language lines are used to swap our attribute placeholder
- | with something more reader friendly such as "E-Mail Address" instead
- | of "email". This simply helps us make our message more expressive.
- |
- */
- 'attributes' => [],
- ];
|