| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145 |
- <?php
- return [
- /*
- |--------------------------------------------------------------------------
- | 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
- | 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到:maxKB之间',
- 'string' => ':attribute必须在:min到:max个字符之间',
- 'array' => ':attribute必须在:min到:max项之间',
- ],
- 'boolean' => ':attribute字符必须是true或false',
- 'confirmed' => ':attribute二次确认不匹配',
- 'date' => ':attribute必须是一个合法的日期',
- 'date_format' => ':attribute与给定的格式:format不符合',
- 'different' => ':attribute必须不同于:other',
- 'digits' => ':attribute必须是:digits位.',
- 'digits_between' => ':attribute必须在:min和:max位之间',
- 'dimensions' => ':attribute具有无效的图片尺寸',
- 'distinct' => ':attribute字段具有重复值',
- 'email' => ':attribute必须是一个合法的电子邮件地址',
- 'exists' => '选定的:attribute是无效的.',
- 'file' => ':attribute必须是一个文件',
- 'filled' => ':attribute的字段是必填的',
- 'image' => ':attribute必须是jpeg,png,bmp或者gif格式的图片',
- 'in' => '选定的:attribute是无效的',
- 'in_array' => ':attribute字段不存在于:other',
- 'integer' => ':attribute必须是个整数',
- 'ip' => ':attribute必须是一个合法的IP地址。',
- 'json' => ':attribute必须是一个合法的JSON字符串',
- 'max' => [
- 'numeric' => ':attribute的最大长度为:max位',
- 'file' => ':attribute的最大为:max',
- 'string' => ':attribute的最大长度为:max字符',
- 'array' => ':attribute的最大个数为:max个.',
- ],
- 'mimes' => ':attribute的文件类型必须是:values',
- 'min' => [
- 'numeric' => ':attribute的最小长度为:min位',
- 'file' => ':attribute大小至少为:minKB',
- 'string' => ':attribute的最小长度为:min字符',
- 'array' => ':attribute至少有:min项',
- ],
- 'not_in' => '选定的:attribute是无效的',
- 'numeric' => ':attribute必须是数字',
- 'present' => ':attribute字段必须存在',
- 'regex' => ':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必须是:sizeKB',
- 'string' => ':attribute必须是:size个字符',
- 'array' => ':attribute必须包括:size项',
- ],
- 'string' => ':attribute必须是一个字符串',
- 'timezone' => ':attribute必须是个有效的时区.',
- 'unique' => ':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-message',
- ],
- ],
- /*
- |--------------------------------------------------------------------------
- | 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.
- |
- */
- 'attributes' => [
- 'category' => '上级菜单',
- 'order' => '菜单排序',
- 'name' => '菜单名称',
- 'icon' => '菜单图标',
- 'uri' => '菜单URL',
- 'roles' => '菜单权限',
- 'email' => '开发者账户',
- 'csr' => 'csr',
- 'IssuerID' => 'IssuerID',
- 'miyaoID' => 'miyaoID',
- 'p8' => 'p8',
- 'role_remark' => '角色标识',
- 'role_name' => '角色名称',
- 'role_desc' => '角色描述',
- 'permission_list' => '角色权限',
- 'permission_name' => '权限名称',
- 'permission_desc' => '权限介绍',
- 'permission_remark' => '权限标识',
- 'permission_control' => '权限控制器',
- 'permission_roles' => '权限所属角色',
- 'email' => '开发者账户',
- 'csr' => 'csr',
- 'IssuerID' => 'IssuerID',
- 'miyaoID' => 'miyaoID',
- 'p8' => 'p8',
- ],
- ];
|