Apply Laravel coding style

Shift automatically applies the Laravel coding style - which uses the PSR-12 coding style as a base with some minor additions.

You may customize the code style applied by configuring [Pint](https://laravel.com/docs/pint), [PHP CS Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer), or [PHP CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) for your project root.

For more information on customizing the code style applied by Shift, [watch this short video](https://laravelshift.com/videos/shift-code-style).
This commit is contained in:
Shift
2023-01-03 08:25:25 +00:00
parent b535aa90eb
commit 43386fd86d
357 changed files with 15021 additions and 15193 deletions

View File

@@ -18,65 +18,65 @@ return [
|
*/
'accepted' => '属性:attribute不被接受.',
'accepted' => '属性:attribute不被接受.',
'active_url' => '属性:attribute不是一个有效的url.',
'after' => '属性:attribute必须是一个日期.',
'alpha' => '属性:attribute只能包含字母.',
'after' => '属性:attribute必须是一个日期.',
'alpha' => '属性:attribute只能包含字母.',
'alpha_dash' => '属性:attribute只能包含数字、字母、下划线.',
'alpha_num' => '属性:attribute只能包含数字、字母.',
'array' => '属性:attribute必须是个数组.',
'before' => '属性:attribute必须是个日期.',
'between' => [
'alpha_num' => '属性:attribute只能包含数字、字母.',
'array' => '属性:attribute必须是个数组.',
'before' => '属性:attribute必须是个日期.',
'between' => [
'numeric' => '属性:attribute必须在最小数与最大数之间.',
'file' => '属性:attribute必须在最小与最大之间千字节.',
'string' => '属性:attribute必须在最小与最大字符之间.',
'array' => '属性:attribute必须在最小与最大之间.',
'file' => '属性:attribute必须在最小与最大之间千字节.',
'string' => '属性:attribute必须在最小与最大字符之间.',
'array' => '属性:attribute必须在最小与最大之间.',
],
'boolean' => '属性:attribute 必须为true或者false.',
'confirmed' => '属性attribut不匹配.',
'date' => '属性:attribute 不是个有效日期.',
'date_format' => '属性:attribute 格式错误.',
'different' => '属性:attribute 与 :other 不能一样.',
'digits' => '属性:attribute 必须是数字.',
'boolean' => '属性:attribute 必须为true或者false.',
'confirmed' => '属性attribut不匹配.',
'date' => '属性:attribute 不是个有效日期.',
'date_format' => '属性:attribute 格式错误.',
'different' => '属性:attribute 与 :other 不能一样.',
'digits' => '属性:attribute 必须是数字.',
'digits_between' => '属性:attribute 必须在最小数:min与最大数:max 之间.',
'email' => '属性:attribute 不是一个有效的邮箱地址.',
'filled' => '属性:attribute 必填.',
'exists' => '属性选择:attribute 无效.',
'image' => '属性:attribute 必须是图片.',
'in' => '属性选择 :attribute 无效.',
'integer' => '属性:attribute 必须是整型.',
'ip' => '属性:attribute 必须是有效的ip地址.',
'max' => [
'email' => '属性:attribute 不是一个有效的邮箱地址.',
'filled' => '属性:attribute 必填.',
'exists' => '属性选择:attribute 无效.',
'image' => '属性:attribute 必须是图片.',
'in' => '属性选择 :attribute 无效.',
'integer' => '属性:attribute 必须是整型.',
'ip' => '属性:attribute 必须是有效的ip地址.',
'max' => [
'numeric' => '属性 :attribute 不能超过最大值.',
'file' => '属性 :attribute 不能超过最大值.',
'string' => '属性 :attribute 不能超过最大值.',
'array' => '属性 :attribute 不能超过最大值.',
'file' => '属性 :attribute 不能超过最大值.',
'string' => '属性 :attribute 不能超过最大值.',
'array' => '属性 :attribute 不能超过最大值.',
],
'mimes' => '属性 :attribute 必须是个文件类型: :values.',
'min' => [
'min' => [
'numeric' => '属性 :attribute 不能小于最小值 :min.',
'file' => '属性 :attribute 不能小于最小值 :min 字节.',
'string' => '属性 :attribute 不能小于最小值 :min 字符.',
'array' => '属性 :attribute不能小于最小值 :min 个数.',
'file' => '属性 :attribute 不能小于最小值 :min 字节.',
'string' => '属性 :attribute 不能小于最小值 :min 字符.',
'array' => '属性 :attribute不能小于最小值 :min 个数.',
],
'not_in' => '属性选择 :attribute 无效.',
'numeric' => '属性:attribute 必须是数字.',
'regex' => '属性:attribute 格式无效.',
'required' => '属性:attribute 字段必填.',
'required_if' => '属性:attribute 字段必填 当 :other 是 :value.',
'required_with' => '属性:attribute 字段必填 当 :values 是 存在的.',
'required_with_all' => '属性:attribute 字段必填 当 :values 是 存在的.',
'required_without' => '属性:attribute 字段必填 当 :values 是 不存在的.',
'not_in' => '属性选择 :attribute 无效.',
'numeric' => '属性:attribute 必须是数字.',
'regex' => '属性:attribute 格式无效.',
'required' => '属性:attribute 字段必填.',
'required_if' => '属性:attribute 字段必填 当 :other 是 :value.',
'required_with' => '属性:attribute 字段必填 当 :values 是 存在的.',
'required_with_all' => '属性:attribute 字段必填 当 :values 是 存在的.',
'required_without' => '属性:attribute 字段必填 当 :values 是 不存在的.',
'required_without_all' => '属性:attribute 字段必填 当 none of :values 是存在的.',
'same' => '属性:attribute 与 :other 必须一致.',
'size' => [
'same' => '属性:attribute 与 :other 必须一致.',
'size' => [
'numeric' => '属性 :attribute 必须是 :size.',
'file' => '属性 :attribute 必须是 :size 字节.',
'string' => '属性 :attribute 必须是 :size 字符.',
'array' => '属性 :attribute 必须包含 :size 项.',
'file' => '属性 :attribute 必须是 :size 字节.',
'string' => '属性 :attribute 必须是 :size 字符.',
'array' => '属性 :attribute 必须包含 :size 项.',
],
'unique' => '属性 :attribute 已经存在.',
'url' => '属性 :attribute 格式无效.',
'unique' => '属性 :attribute 已经存在.',
'url' => '属性 :attribute 格式无效.',
'timezone' => '属性 :attribute 必须是有效的地区.',
/*
|--------------------------------------------------------------------------