diff --git a/resources/lang/zh-CN/validation.php b/resources/lang/zh-CN/validation.php index fa7d926c..9b6a8541 100644 --- a/resources/lang/zh-CN/validation.php +++ b/resources/lang/zh-CN/validation.php @@ -22,7 +22,7 @@ return [ | */ - 'accepted' => ':attribute 必须是可以接受的。', + 'accepted' => '您必须同意 :attribute。', 'active_url' => ':attribute 不是一个有效的URL网址。', 'after' => ':attribute 必须在 :date 之后。', 'alpha' => ':attribute 只能包含字母。', @@ -31,60 +31,60 @@ return [ 'array' => ':attribute 必须是个数组。', 'before' => ':attribute 必须在 :date 之前。', 'between' => [ - 'numeric' => ':attribute 必须在 :date 之前。', - 'file' => ':attribute 必须在 :min 和 :max 之间。', - 'string' => ':attribute 必须在 :min 到 :max Kb 之间。', + 'numeric' => ':attribute 必须在 :min 和 :max 之间。', + 'file' => ':attribute 必须在 :min KB 到 :max KB 之间。', + 'string' => ':attribute 包含的字符数量必须在 :min 到 :max 之间。', 'array' => ':attribute 必须在 :min 到 :max 个数目之间。', ], - 'boolean' => ':attribute 必须在 :min 到 :max 个数目之间。', - 'confirmed' => ':attribute 字段必须为 true 或 false。', - 'date' => ':attribute 与确认项目不匹配', - 'date_format' => ':attribute 不是有效的日期。', - 'different' => ':attribute 不符合格式 :format 。', - 'digits' => ':attribute 和 :other 不能相同。', - 'digits_between' => ':attribute 必须是 :digits 位数字。', - 'email' => ':attribute 必须在 :min 位和 :max 位数字之间。', - 'exists' => ':attribute 必须是一个有效的电子邮件地址。', + 'boolean' => ':attribute 字段必须为 true 或 false。', + 'confirmed' => ':attribute 的两次输入不匹配。', + 'date' => ':attribute 不是有效的日期。', + 'date_format' => ':attribute 不符合格式 :format 。', + 'different' => ':attribute 和 :other 不能相同。', + 'digits' => ':attribute 必须是 :digits 位数字。', + 'digits_between' => ':attribute 必须是 :min - :max 位数字。', + 'email' => ':attribute 必须是一个有效的电子邮件地址。', + 'exists' => '选择的 :attribute 无效。', 'distinct' => ':attribute 有重复。', - 'filled' => ':attribute 的格式无效', + 'filled' => ':attribute 字段必填。', 'image' => ':attribute 必须是图片。', - 'in' => ':attribute 必须是图片。', + 'in' => '选择的 :attribute 无效。', 'in_array' => ':attribute 不在 :other 中。', - 'integer' => '选择的 :attribute 无效', - 'ip' => ':attribute 必须是整数。', + 'integer' => ':attribute 必须是整数。', + 'ip' => ':attribute 必须是一个有效的 IP 地址。', 'json' => ':attribute 必须是规范的 JSON 字串。', 'max' => [ - 'numeric' => ':attribute 必须是一个有效的 IP 地址', - 'file' => ':attribute 不允许大于 :max', - 'string' => ':attribute 不能大于 :max Kb。', + 'numeric' => ':attribute 不允许大于 :max。', + 'file' => ':attribute 不能大于 :max KB。', + 'string' => ':attribute 的字符数量不能大于 :max 。', 'array' => ':attribute 不能超过 :max 个。', ], - 'mimes' => ':attribute 不能超过 :max 个。', + 'mimes' => ':attribute 文件类型必须是 :values。', 'min' => [ - 'numeric' => ':attribute 文件类型必须是 :values', + 'numeric' => ':attribute 必须至少是 :min。', 'file' => ':attribute 至少需要 :min KB。', - 'string' => ':attribute 至少需要 :min KB。', - 'array' => ':attribute 最少需要 :min 个字符。', + 'string' => ':attribute 最少需要有 :min 个字符。', + 'array' => ':attribute 至少需要有 :min 项。', ], - 'not_in' => ':attribute 至少需要有 :min 项。', - 'numeric' => '选择的 :attribute 无效', + 'not_in' => '选择的 :attribute 无效。', + 'numeric' => ':attribute 必须是数字。', 'present' => ':attribute 为必填项。', - 'regex' => ':attribute 必须是数字。', - 'required' => ':attribute 的格式无效', - 'required_if' => ':attribute 字段必填。', + 'regex' => ':attribute 的格式无效', + 'required' => ':attribute 字段必填。', + 'required_if' => ':attribute 字段在 :other 是 :value 时是必填的。', 'required_unless' => ':attribute 是必须的除非 :other 在 :values 中。', - 'required_with' => ':attribute 字段在 :other 是 :value 时是必填的。', + 'required_with' => '当含有 :values 时, :attribute 是必需的。', 'required_with_all' => '当含有 :values 时, :attribute 是必需的。', - 'required_without' => '当含有 :values 时, :attribute 是必需的。', - 'required_without_all' => '当 :values 不存在时, :attribute 是必填的。', - 'same' => '当没有任何 :values 存在时, :attribute 字段为必填项。', + 'required_without' => '当 :values 不存在时, :attribute 是必填的。', + 'required_without_all' => '当没有任何 :values 存在时,:attribute 字段为必填项。', + 'same' => ':attribute 和 :other 必须匹配。', 'size' => [ - 'numeric' => ':attribute 和 :other 必须匹配。', + 'numeric' => ':attribute 的大小必须是 :size 。', 'file' => ':attribute 必须是 :size KB大小', 'string' => ':attribute 必须是 :size 个字符', - 'array' => ':attribute 必须是 :size 个字符', + 'array' => ':attribute 必须包含 :size 个项。', ], - 'string' => ':attribute 必须包含 :size 个项。', + 'string' => ':attribute 必须是一个字符串。', 'timezone' => ':attribute 必须是个有效的区域。', 'unique' => ':attribute 已经被占用', 'url' => ':attribute 的格式无效', @@ -119,4 +119,4 @@ return [ 'attributes' => [], -]; +]; \ No newline at end of file