snipe-it/resources/lang/zh-CN/validation.php

138 lines
6.8 KiB
PHP
Raw Normal View History

2016-03-25 01:18:05 -07:00
<?php
return array(
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator class. Some of these rules have multiple versions such
| such as the size rules. Feel free to tweak each of these messages.
|
*/
2017-09-06 18:05:32 -07:00
'accepted' => ' :attribute 必须接受',
'active_url' => ':attribute 不是正确的网址',
'after' => ' :attribute 必须在 :date 之后',
2017-10-17 18:52:20 -07:00
'after_or_equal' => 'the属性必须是以下或之后的日期date。',
2017-09-06 18:05:32 -07:00
'alpha' => ':attribute 只能包含字母',
'alpha_dash' => ':attribute 只能包含字母,数字和\'-\'',
'alpha_num' => ':attribute 只允许字母和数字',
2017-10-17 18:52:20 -07:00
'array' => ':属性必须是数组。',
2017-09-06 18:05:32 -07:00
'before' => ':attribute 必须在 :date 之前',
2017-10-17 18:52:20 -07:00
'before_or_equal' => '属性必须是之前或之前的日期date。',
2017-09-06 18:05:32 -07:00
'between' => [
'numeric' => ':attribute 必须在 :min - :max 之间',
'file' => ':attribute 必须在 :min - :max kb 之间',
'string' => ':attribute 必须在 :min - :max 字符之间',
2017-10-17 18:52:20 -07:00
'array' => 'the属性必须有min和max items之间。',
2017-09-06 18:05:32 -07:00
],
2017-10-17 18:52:20 -07:00
'boolean' => '属性字段必须为true或false。',
2017-09-06 18:05:32 -07:00
'confirmed' => ':attribute 属性不匹配',
'date' => ':attribute 不是有效日期',
'date_format' => ':attribute 不符合 :format 的格式',
'different' => ' :attribute 和 :other 不能相同',
'digits' => ':attribute 必须是 :digits 数字',
'digits_between' => ':attribute 必须在 :min 和 :max 数字之间',
2017-10-17 18:52:20 -07:00
'dimensions' => 'the属性具有无效的图像尺寸。',
'distinct' => ':属性字段具有重复值。',
2017-09-06 18:05:32 -07:00
'email' => ':attribute 格式不对',
'exists' => '选择的 :attribute 无效',
2017-10-17 18:52:20 -07:00
'file' => ':属性必须是一个文件。',
'filled' => ':属性字段必须有一个值。',
2017-09-06 18:05:32 -07:00
'image' => ':attribute 必须是图片格式',
'in' => '选择的 :attribute 无效',
2017-10-17 18:52:20 -07:00
'in_array' => ':属性字段不存在于:其他。',
2017-09-06 18:05:32 -07:00
'integer' => ':attribute 必须是整数',
'ip' => ':attribute 必须是有效IP',
2017-10-17 18:52:20 -07:00
'ipv4' => '属性必须是有效的IPv4地址。',
'ipv6' => '属性必须是有效的IPv6地址。',
'json' => '属性必须是有效的JSON字符串。',
2017-09-06 18:05:32 -07:00
'max' => [
'numeric' => ':attribute 不大于 :max',
'file' => ':attribute 不大于 :max kb',
'string' => ':attribute 不大于 :max 字符',
2017-10-17 18:52:20 -07:00
'array' => '属性可能不超过max项。',
2017-09-06 18:05:32 -07:00
],
'mimes' => ':attribute 文件类型必须是 :values',
2017-10-17 18:52:20 -07:00
'mimetypes' => ':属性必须是一个类型为:的值的文件。',
2017-09-06 18:05:32 -07:00
'min' => [
'numeric' => ':attribute 最少 :min',
'file' => ':attribute 最小 :min kb',
'string' => ':attribute 最少 :min个字符',
2017-10-17 18:52:20 -07:00
'array' => ':属性必须至少有:最小项。',
2017-09-06 18:05:32 -07:00
],
'not_in' => '选择的 :attribute 无效',
'numeric' => ':attribute 必须是数字',
2017-10-17 18:52:20 -07:00
'present' => ':属性字段必须存在。',
2017-12-12 09:20:57 -08:00
'valid_regex' => '这不是一个有效的正则表达式。 ',
2017-09-06 18:05:32 -07:00
'regex' => ':attribute 格式不对',
'required' => ':attribute 字段必填',
'required_if' => ':attribute 字段在 :other 是 :value 时是必须的',
2017-10-17 18:52:20 -07:00
'required_unless' => '需要属性字段除非other is invalues。',
2017-09-06 18:05:32 -07:00
'required_with' => ' 当:values 是现在 :attribute 是必需的',
2017-10-17 18:52:20 -07:00
'required_with_all' => '当:值存在时,需要:属性字段。',
2017-09-06 18:05:32 -07:00
'required_without' => '当:values 是现在 :attribute 是必需的',
2017-10-17 18:52:20 -07:00
'required_without_all' => '当不存在:值时,需要:属性字段。',
2017-09-06 18:05:32 -07:00
'same' => ':attribute 和 :other 必需匹配',
'size' => [
'numeric' => ':attribute 必需是 :size',
'file' => ':attribute 必需是 :size kb',
'string' => ':attribute 必需是 :size 个字符',
2017-10-17 18:52:20 -07:00
'array' => '属性必须包含size项。',
2017-09-06 18:05:32 -07:00
],
2017-10-17 18:52:20 -07:00
'string' => ':属性必须是字符串。',
'timezone' => ':属性必须是有效区域。',
2017-09-06 18:05:32 -07:00
'unique' => ':attribute 已经被采用',
2017-10-17 18:52:20 -07:00
'uploaded' => ':属性无法上传。',
2017-09-06 18:05:32 -07:00
'url' => ':attribute 格式无效',
2017-12-12 09:20:57 -08:00
"unique_undeleted" => ":attribute 属性必须唯一。",
2017-09-06 18:05:32 -07:00
/*
|--------------------------------------------------------------------------
| 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.
|
*/
2016-03-25 01:18:05 -07:00
/*
|--------------------------------------------------------------------------
| 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.
|
*/
2017-09-06 18:05:32 -07:00
'custom' => [
2017-10-17 18:52:20 -07:00
'alpha_space' => ":属性字段包含不允许的字符。",
"email_array" => "一个或多个电子邮件地址无效。",
"hashed_pass" => "您当前的密码不正确",
'dumbpwd' => '那个密码太常见了。',
"statuslabel_type" => "您必须选择有效的状态标签类型",
2017-09-06 18:05:32 -07:00
],
2016-03-25 01:18:05 -07:00
/*
|--------------------------------------------------------------------------
| Custom Validation Attributes
|--------------------------------------------------------------------------
|
| The following language lines are used to swap attribute place-holders
| with something more reader friendly such as E-Mail Address instead
| of "email". This simply helps us make messages a little cleaner.
|
*/
2017-09-06 18:05:32 -07:00
'attributes' => [],
2016-03-25 01:18:05 -07:00
);