add zh_CN

This commit is contained in:
kideny 2022-02-08 23:48:00 +08:00
parent 19fcaa172a
commit e8da0596fd
4 changed files with 206 additions and 0 deletions

View File

@ -0,0 +1,19 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used during authentication for various
| messages that we need to display to the user. You are free to modify
| these language lines according to your application's requirements.
|
*/
'failed' => '这些凭据与我们的记录不符.',
'throttle' => '登录尝试次数过多。 请在 :seconds 秒后重试.',
];

View File

@ -0,0 +1,19 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Pagination Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the paginator library to build
| the simple pagination links. You are free to change them to anything
| you want to customize your views to better match your application.
|
*/
'previous' => '&laquo; 以前的',
'next' => '下一个 &raquo;',
];

View File

@ -0,0 +1,22 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Password Reset Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are the default lines which match reasons
| that are given by the password broker for a password update attempt
| has failed, such as for an invalid token or invalid new password.
|
*/
'password' => '密码必须至少为六个字符并与确认信息相匹配.',
'reset' => '您的密码已重置!',
'sent' => '我们已通过电子邮件发送您的密码重置链接!',
'token' => '此密码重置令牌无效.',
'user' => "我们找不到具有该电子邮件地址的用户.",
];

View File

@ -0,0 +1,146 @@
<?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 只能包含字母.',
'alpha_dash' => '这个 :attribute 只能包含字母、数字、破折号和下划线.',
'alpha_num' => '这个 :attribute 只能包含字母和数字.',
'array' => '这个 :attribute 必须是一个数组.',
'before' => '这个 :attribute 必须是 :date 之前的日期.',
'before_or_equal' => '这个 :attribute 必须是早于或等于 :date 的日期.',
'between' => [
'numeric' => '这个 :attribute 必须介于 :min 和 :max.',
'file' => '这个 :attribute 必须介于 :min 和 :max 千字节.',
'string' => '这个 :attribute 必须介于 :min 和 :max 字符.',
'array' => '这个 :attribute 必须介于 :min 和 :max 项目.',
],
'boolean' => '这个 :attribute 字段必须为真或假.',
'confirmed' => '这个 :attribute 确认不匹配.',
'date' => '这个 :attribute 不是有效日期.',
'date_format' => '这个 :attribute 与 :格式格式不匹配.',
'different' => '这个 :attribute 和 :other 必须不同.',
'digits' => '这个 :attribute 必须是 :digits 数字.',
'digits_between' => '这个 :attribute 必须介于 :min 和 :max 数字.',
'dimensions' => '这个 :attribute 图片尺寸无效.',
'distinct' => '这个 :attribute 字段具有重复值.',
'email' => '这个 :attribute 必须是一个有效的E-mail地址.',
'exists' => '这个 已选择的 :attribute 是无效的.',
'file' => '这个 :attribute 必须是文件.',
'filled' => '这个 :attribute 字段必须有值.',
'gt' => [
'numeric' => '这个 :attribute 必须大于 :value.',
'file' => '这个 :attribute 必须大于 :value 千字节.',
'string' => '这个 :attribute 必须大于 :value 字符.',
'array' => '这个 :attribute 必须有超过 :value 项目.',
],
'gte' => [
'numeric' => '这个 :attribute 必须大于或等于 :value.',
'file' => '这个 :attribute 必须大于或等于 :value 千字节.',
'string' => '这个 :attribute 必须大于或等于 :value 字符.',
'array' => '这个 :attribute 必须有 :value 项目或者更多.',
],
'image' => '这个 :attribute 必须是一张图片.',
'in' => '这个 已选择的 :attribute 是无效的.',
'in_array' => '这个 :attribute 字段不存在于 :other.',
'integer' => '这个 :attribute 必须是整数.',
'ip' => '这个 :attribute 必须是有效的IP地址.',
'ipv4' => '这个 :attribute 必须是有效的IPv4地址.',
'ipv6' => '这个 :attribute 必须是有效的IPv6地址.',
'json' => '这个 :attribute 必须是有效的JSON字符串.',
'lt' => [
'numeric' => '这个 :attribute 必须小于 :value.',
'file' => '这个 :attribute 必须小于 :value 千字节.',
'string' => '这个 :attribute 必须小于 :value 字符.',
'array' => '这个 :attribute 必须有少于 :value 项目.',
],
'lte' => [
'numeric' => '这个 :attribute 必须小于或等于 :value.',
'file' => '这个 :attribute 必须小于或等于 :value 千字节.',
'string' => '这个 :attribute 必须小于或等于 :value 字符.',
'array' => '这个 :attribute 不得超过 :value 项目.',
],
'max' => [
'numeric' => '这个 :attribute 不得大于 :max.',
'file' => '这个 :attribute 不得大于 :max 千字节.',
'string' => '这个 :attribute 不得大于 :max 字符.',
'array' => '这个 :attribute 可能不超过 :max 项目.',
],
'mimes' => '这个 :attribute 必须是文件类型: :values.',
'mimetypes' => '这个 :attribute 必须是文件类型: :values.',
'min' => [
'numeric' => '这个 :attribute 必须至少 :min.',
'file' => '这个 :attribute 必须至少 :min 千字节.',
'string' => '这个 :attribute 必须至少 :min 字符.',
'array' => '这个 :attribute 必须有至少 :min 项目.',
],
'not_in' => '这个 已选择的 :attribute 是无效的.',
'not_regex' => '这个 :attribute 格式是无效的.',
'numeric' => '这个 :attribute 必须是数字.',
'present' => '这个 :attribute 字段必须存在.',
'regex' => '这个 :attribute 格式是无效的.',
'required' => '这个 :attribute 字段是必需的.',
'required_if' => '这个 :attribute 字段是必需的当 :other 是 :value.',
'required_unless' => '这个 :attribute 字段是必需的除非 :other 是在 :values 中.',
'required_with' => '这个 :attribute 字段是必需的当 :values 是存在的.',
'required_with_all' => '这个 :attribute 字段是必需的当 :values 是存在的.',
'required_without' => '这个 :attribute 字段是必需的当 :values 是不存在的.',
'required_without_all' => '这个 :attribute 字段是必需的当 没有 :values 是存在的.',
'same' => '这个 :attribute 和 :other 必须匹配.',
'size' => [
'numeric' => '这个 :attribute 必须是 :size.',
'file' => '这个 :attribute 必须是 :size 千字节.',
'string' => '这个 :attribute 必须是 :size 字符.',
'array' => '这个 :attribute 必须包含 :size 项目.',
],
'string' => '这个 :attribute 必须是 一个字符串.',
'timezone' => '这个 :attribute 必须是 有效区域.',
'unique' => '这个 :attribute 已有人带走了.',
'uploaded' => '这个 :attribute 上传失败.',
'url' => '这个 :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 Validation Attributes
|--------------------------------------------------------------------------
|
| 这个 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.
|
*/
'attributes' => [],
];