| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178 | <?phpreturn [/*|--------------------------------------------------------------------------|ValidationLanguageLines|--------------------------------------------------------------------------||Thefollowinglanguagelinescontainthedefaulterrormessagesusedby|thevalidatorclass.Someoftheseruleshavemultipleversionssuch|asthesizerules.Feelfreetotweakeachofthesemessages.| */    'accepted' => ':attribute必须接受',    'active_url' => ':attribute不是一个有效的网址',    '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必须为布尔值',    '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不能为空',    'gt' => [        'numeric' => ':attribute必须大于:value',        'file' => ':attribute必须大于:valueKB',        'string' => ':attribute必须多于:value个字符',        'array' => ':attribute必须多于:value个元素',    ],    'gte' => [        'numeric' => ':attribute必须大于或等于:value',        'file' => ':attribute必须大于或等于:valueKB',        '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必须小于:valueKB',        'string' => ':attribute必须少于:value个字符',        'array' => ':attribute必须少于:value个元素',    ],    'lte' => [        'numeric' => ':attribute必须小于或等于:value',        'file' => ':attribute必须小于或等于:valueKB',        'string' => ':attribute必须少于或等于:value个字符',        'array' => ':attribute必须少于或等于:value个元素',    ],    'max' => [        'numeric' => ':attribute不能大于:max',        'file' => ':attribute不能大于:maxKB',        'string' => ':attribute不能大于:max个字符',        'array' => ':attribute最多只有:max个单元',    ],    'mimes' => ':attribute必须是一个:values类型的文件',    'mimetypes' => ':attribute必须是一个:values类型的文件',    'min' => [        'numeric' => ':attribute必须大于等于:min',        'file' => ':attribute大小不能小于:minKB',        'string' => ':attribute至少为:min个字符',        'array' => ':attribute至少有:min个单元',    ],    'not_in' => '已选的属性:attribute非法',    'not_regex' => ':attribute的格式错误',    'numeric' => ':attribute必须是一个数字',    'present' => ':attribute必须存在',    'regex' => ':attribute格式不正确',    'required' => ':attribute不能为空',    'required_if' => '当:other为:value时:attribute不能为空',    'required_unless' => '当:other不为:value时:attribute不能为空',    'required_with' => '当:values存在时:attribute不能为空',    'required_with_all' => '当:values存在时:attribute不能为空',    'required_without' => '当:values不存在时:attribute不能为空',    'required_without_all' => '当:values都不存在时:attribute不能为空',    'same' => ':attribute和:other必须相同',    'size' => [        'numeric' => ':attribute大小必须为:size',        'file' => ':attribute大小必须为:sizeKB',        'string' => ':attribute必须是:size个字符',        'array' => ':attribute必须为:size个单元',    ],    'string' => ':attribute必须是一个字符串',    'timezone' => ':attribute必须是一个合法的时区值',    'unique' => ':attribute已经存在',    'uploaded' => ':attribute上传失败',    'url' => ':attribute格式不正确',    'captcha' => ':attribute输入错误',/*|--------------------------------------------------------------------------|CustomValidationLanguageLines|--------------------------------------------------------------------------||Hereyoumayspecifycustomvalidationmessagesforattributesusingthe|convention'attribute.rule'tonamethelines.Thismakesitquickto|specifyaspecificcustomlanguagelineforagivenattributerule.| */    'custom' => [        'attribute-name' => [            'rule-name' => 'custom-message',        ],    ],/*|--------------------------------------------------------------------------|CustomValidationAttributes|--------------------------------------------------------------------------||Thefollowinglanguagelinesareusedtoswapattributeplace-holders|withsomethingmorereaderfriendlysuchasE-MailAddressinstead|of'email'.Thissimplyhelpsusmakemessagesalittlecleaner.| */    'attributes' => [        'name' => '名称',        'username' => '用户名',        'email' => '邮箱',        'first_name' => '名',        'last_name' => '姓',        'password' => '密码',        'password_confirmation' => '确认密码',        'city' => '城市',        'country' => '国家',        'address' => '地址',        'phone' => '电话',        'mobile' => '手机',        'age' => '年龄',        'sex' => '性别',        'gender' => '性别',        'day' => '天',        'month' => '月',        'year' => '年',        'hour' => '时',        'minute' => '分',        'second' => '秒',        'title' => '标题',        'content' => '内容',        'description' => '描述',        'excerpt' => '摘要',        'date' => '日期',        'time' => '时间',        'available' => '可用的',        'size' => '大小',        'role_id' => '用户组',        'sort' => '排序',        'captcha' => '验证码',    ],];
 |