|
12 | 12 | | |
13 | 13 | */ |
14 | 14 |
|
15 | | - 'accepted' => ' :attribute 被接受.', |
16 | | - 'active_url' => ' :attribute 不是一个有效的URL.', |
17 | | - 'after' => ' :attribute 必须是一个位于 :date 之后的日期.', |
18 | | - 'after_or_equal' => ' :attribute 必须是 :date 之后或同样的日期.', |
19 | | - 'alpha' => ' :attribute 只能含有字母.', |
20 | | - 'alpha_dash' => ':attribute 只能含有数字字母和分隔线.', |
21 | | - 'alpha_num' => ' :attribute 只能含有数字和字母.', |
22 | | - 'array' => ' :attribute 必须是个数组.', |
23 | | - 'before' => ' :attribute 必须是一个位于 :date 之前的日前.', |
24 | | - 'before_or_equal' => ' :attribute 必须是 :date 之前或同样的日期.', |
| 15 | + 'accepted' => 'The :attribute must be accepted.', |
| 16 | + 'active_url' => 'The :attribute is not a valid URL.', |
| 17 | + 'after' => 'The :attribute must be a date after :date.', |
| 18 | + 'after_or_equal' => 'The :attribute must be a date after or equal to :date.', |
| 19 | + 'alpha' => 'The :attribute may only contain letters.', |
| 20 | + 'alpha_dash' => 'The :attribute may only contain letters, numbers, and dashes.', |
| 21 | + 'alpha_num' => 'The :attribute may only contain letters and numbers.', |
| 22 | + 'array' => 'The :attribute must be an array.', |
| 23 | + 'before' => 'The :attribute must be a date before :date.', |
| 24 | + 'before_or_equal' => 'The :attribute must be a date before or equal to :date.', |
25 | 25 | 'between' => [ |
26 | | - 'numeric' => ' :attribute 必须在 :min 到 :max 之间.', |
27 | | - 'file' => ' :attribute 必须在 :min 到 :max KB 之间.', |
28 | | - 'string' => ' :attribute m必须在 :min 到 :max 个字符之间.', |
29 | | - 'array' => ' :attribute 必须在 :min 到 :max 个项目之间.', |
| 26 | + 'numeric' => 'The :attribute must be between :min and :max.', |
| 27 | + 'file' => 'The :attribute must be between :min and :max kilobytes.', |
| 28 | + 'string' => 'The :attribute must be between :min and :max characters.', |
| 29 | + 'array' => 'The :attribute must have between :min and :max items.', |
30 | 30 | ], |
31 | | - 'boolean' => ' :attribute 填入的必须为 true 或 false.', |
32 | | - 'confirmed' => ' :attribute 确认不匹配.', |
33 | | - 'date' => ' :attribute 不是一个合法的日期.', |
34 | | - 'date_format' => ' :attribute 不是正确的格式: :format.', |
35 | | - 'different' => ' :attribute 和 :other 必须不同.', |
36 | | - 'digits' => ' :attribute 必须为 :digits 个数字.', |
37 | | - 'digits_between' => ' :attribute 必须在 :min 到 :max 个数字间.', |
38 | | - 'dimensions' => ' :attribute 有一个非法的镜像大小.', |
39 | | - 'distinct' => ' :attribute 填入了一个重复的值.', |
40 | | - 'email' => ' :attribute 必须是一个合法的Email地址.', |
41 | | - 'exists' => '所选择的 :attribute 无效.', |
42 | | - 'file' => ' :attribute 必须为一个文件.', |
43 | | - 'filled' => ' :attribute 为必填项目.', |
44 | | - 'image' => ' :attribute 必须是一个镜像.', |
45 | | - 'in' => '所选择的 :attribute 无效.', |
46 | | - 'in_array' => ' :attribute 填入的信息在 :other 不存在.', |
47 | | - 'integer' => ' :attribute 必须是一个整数.', |
48 | | - 'ip' => ' :attribute 必须是一个合法的IP地址.', |
49 | | - 'json' => ' :attribute 必须是一个合法的JSON字符串.', |
| 31 | + 'boolean' => 'The :attribute field must be true or false.', |
| 32 | + 'confirmed' => 'The :attribute confirmation does not match.', |
| 33 | + 'date' => 'The :attribute is not a valid date.', |
| 34 | + 'date_format' => 'The :attribute does not match the format :format.', |
| 35 | + 'different' => 'The :attribute and :other must be different.', |
| 36 | + 'digits' => 'The :attribute must be :digits digits.', |
| 37 | + 'digits_between' => 'The :attribute must be between :min and :max digits.', |
| 38 | + 'dimensions' => 'The :attribute has invalid image dimensions.', |
| 39 | + 'distinct' => 'The :attribute field has a duplicate value.', |
| 40 | + 'email' => 'The :attribute must be a valid email address.', |
| 41 | + 'exists' => 'The selected :attribute is invalid.', |
| 42 | + 'file' => 'The :attribute must be a file.', |
| 43 | + 'filled' => 'The :attribute field is required.', |
| 44 | + 'image' => 'The :attribute must be an image.', |
| 45 | + 'in' => 'The selected :attribute is invalid.', |
| 46 | + 'in_array' => 'The :attribute field does not exist in :other.', |
| 47 | + 'integer' => 'The :attribute must be an integer.', |
| 48 | + 'ip' => 'The :attribute must be a valid IP address.', |
| 49 | + 'json' => 'The :attribute must be a valid JSON string.', |
50 | 50 | 'max' => [ |
51 | | - 'numeric' => ' :attribute 不能大于 :max.', |
52 | | - 'file' => ' :attribute 不能大于 :max KB.', |
53 | | - 'string' => ' :attribute 不能多于 :max 个字符.', |
54 | | - 'array' => ' :attribute 不能多于 :max 个项目.', |
| 51 | + 'numeric' => 'The :attribute may not be greater than :max.', |
| 52 | + 'file' => 'The :attribute may not be greater than :max kilobytes.', |
| 53 | + 'string' => 'The :attribute may not be greater than :max characters.', |
| 54 | + 'array' => 'The :attribute may not have more than :max items.', |
55 | 55 | ], |
56 | | - 'mimes' => ' :attribute 文件类型必须为: :values.', |
57 | | - 'mimetypes' => ' :attribute 文件类型必须为: :values.', |
| 56 | + 'mimes' => 'The :attribute must be a file of type: :values.', |
| 57 | + 'mimetypes' => 'The :attribute must be a file of type: :values.', |
58 | 58 | 'min' => [ |
59 | | - 'numeric' => ' :attribute 至少应在 :min.', |
60 | | - 'file' => ' :attribute 至少应在 :min KB.', |
61 | | - 'string' => ' :attribute 至少应在 :min 个字符.', |
62 | | - 'array' => ' :attribute 至少应有 :min 个项目.', |
| 59 | + 'numeric' => 'The :attribute must be at least :min.', |
| 60 | + 'file' => 'The :attribute must be at least :min kilobytes.', |
| 61 | + 'string' => 'The :attribute must be at least :min characters.', |
| 62 | + 'array' => 'The :attribute must have at least :min items.', |
63 | 63 | ], |
64 | | - 'not_in' => '所选择的 :attribute 不正确.', |
65 | | - 'numeric' => ' :attribute 必须是个数字.', |
66 | | - 'present' => ' :attribute 填入的必须存在.', |
67 | | - 'regex' => ' :attribute 格式不正确.', |
68 | | - 'required' => ' :attribute 为必填.', |
69 | | - 'required_if' => ' :attribute 被要求填入, 当 :other 为 :value 的时候.', |
70 | | - 'required_unless' => ' :attribute 被要求填入,除非 :other 为 :values.', |
71 | | - 'required_with' => ' :attribute 被要求填入,当 :values 存在的时候.', |
72 | | - 'required_with_all' => ' :attribute 被要求填入,当 :values 存在.', |
73 | | - 'required_without' => ' :attribute 被要求填入,当 :values 不存在.', |
74 | | - 'required_without_all' => ' :attribute 被要求填入,当 :values 都不存在.', |
75 | | - 'same' => ' :attribute 和 :other 必须相同.', |
| 64 | + 'not_in' => 'The selected :attribute is invalid.', |
| 65 | + 'numeric' => 'The :attribute must be a number.', |
| 66 | + 'present' => 'The :attribute field must be present.', |
| 67 | + 'regex' => 'The :attribute format is invalid.', |
| 68 | + 'required' => 'The :attribute field is required.', |
| 69 | + 'required_if' => 'The :attribute field is required when :other is :value.', |
| 70 | + 'required_unless' => 'The :attribute field is required unless :other is in :values.', |
| 71 | + 'required_with' => 'The :attribute field is required when :values is present.', |
| 72 | + 'required_with_all' => 'The :attribute field is required when :values is present.', |
| 73 | + 'required_without' => 'The :attribute field is required when :values is not present.', |
| 74 | + 'required_without_all' => 'The :attribute field is required when none of :values are present.', |
| 75 | + 'same' => 'The :attribute and :other must match.', |
76 | 76 | 'size' => [ |
77 | | - 'numeric' => ' :attribute 必须为 :size.', |
78 | | - 'file' => ' :attribute 必须为 :size KB.', |
79 | | - 'string' => ' :attribute 必须为 :size 个字符.', |
80 | | - 'array' => ' :attribute 必须包含 :size 个项目.', |
| 77 | + 'numeric' => 'The :attribute must be :size.', |
| 78 | + 'file' => 'The :attribute must be :size kilobytes.', |
| 79 | + 'string' => 'The :attribute must be :size characters.', |
| 80 | + 'array' => 'The :attribute must contain :size items.', |
81 | 81 | ], |
82 | | - 'string' => ' :attribute 必须为字符串.', |
83 | | - 'timezone' => ' :attribute 必须是一个有效的时区.', |
84 | | - 'unique' => ' :attribute 已经被使用.', |
85 | | - 'uploaded' => ' :attribute 上传失败.', |
86 | | - 'url' => ' :attribute 格式不合法.', |
| 82 | + 'string' => 'The :attribute must be a string.', |
| 83 | + 'timezone' => 'The :attribute must be a valid zone.', |
| 84 | + 'unique' => 'The :attribute has already been taken.', |
| 85 | + 'uploaded' => 'The :attribute failed to upload.', |
| 86 | + 'url' => 'The :attribute format is invalid.', |
87 | 87 |
|
88 | 88 | /* |
89 | 89 | |-------------------------------------------------------------------------- |
|
0 commit comments