瀏覽代碼

将recources/lang/cn/validation中的英文错误提示翻成中文

haozi 5 年之前
父節點
當前提交
c81895a161
共有 1 個文件被更改,包括 70 次插入70 次删除
  1. 70 70
      resources/lang/cn/validation.php

+ 70 - 70
resources/lang/cn/validation.php

@@ -17,105 +17,105 @@ return [
     'active_url' => ':attribute 不是有效URL',
     'after' => ':attribute 必须是在 :date 之后',
     'after_or_equal' => ':attribute 必须是等于或在 :date 之后',
-    'alpha' => ':attribute may only contain letters.',
-    'alpha_dash' => ':attribute may only contain letters, numbers, dashes and underscores.',
-    'alpha_num' => ':attribute may only contain letters and numbers.',
-    'array' => ':attribute must be an array.',
-    'before' => ':attribute must be a date before :date.',
-    'before_or_equal' => ':attribute must be a date before or equal to :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 must be between :min and :max kilobytes.',
-        'string' => ':attribute must be between :min and :max characters.',
-        'array' => ':attribute must have between :min and :max items.',
+        'file' => ':attribute 必须介于 :min 与 :max KB 之间',
+        'string' => ':attribute 必须介于 :min 与 :max 字符 之间.',
+        'array' => ':attribute 必须介于 :min 与 :max 之间',
     ],
     'boolean' => ':attribute 请选是或否,必须是布尔值',
-    'confirmed' => ':attribute confirmation does not match.',
+    'confirmed' => ':attribute 确认不匹配',
     'date' => ':attribute 不是有效日期',
-    'date_equals' => ':attribute must be a date equal to :date.',
-    'date_format' => ':attribute does not match the format :format.',
-    'different' => ':attribute and :other must be different.',
+    'date_equals' => ':attribute 日期必须等于 :date.',
+    'date_format' => ':attribute 不匹配格式 :format.',
+    'different' => ':attribute 和 :other 必须不同',
     'digits' => ':attribute 必须是 :digits 位数.',
     'digits_between' => ':attribute 必须介于 :min 与 :max 位之间.',
-    'dimensions' => ':attribute has invalid image dimensions.',
-    'distinct' => ':attribute field has a duplicate value.',
-    'email' => ':attribute must be a valid email address.',
-    'ends_with' => ':attribute must end with one of the following: :values',
+    'dimensions' => ':attribute 图像尺寸无效',
+    'distinct' => ':attribute 字段有重复的值',
+    'email' => ':attribute 必须是有效的电子邮件地址',
+    'ends_with' => ':attribute 必须以下列之一结束: :values',
     'exists' => ':attribute 选择的相关值不存在',
-    'file' => ':attribute must be a file.',
-    'filled' => ':attribute field must have a value.',
+    'file' => ':attribute 必须是文件',
+    'filled' => ':attribute 字段必须有值',
     'gt' => [
-        'numeric' => ':attribute must be greater than :value.',
-        'file' => ':attribute must be greater than :value kilobytes.',
-        'string' => ':attribute must be greater than :value characters.',
-        'array' => ':attribute must have more than :value items.',
+        'numeric' => ':attribute 必须大于 :value',
+        'file' => ':attribute 必须大于 :value KB',
+        'string' => ':attribute 必须大于 :value 字符',
+        'array' => ':attribute 必须有更多 :value',
     ],
     'gte' => [
-        'numeric' => ':attribute must be greater than or equal :value.',
-        'file' => ':attribute must be greater than or equal :value kilobytes.',
-        'string' => ':attribute must be greater than or equal :value characters.',
-        'array' => ':attribute must have :value items or more.',
+        'numeric' => ':attribute 必须大于或等于 :value.',
+        'file' => ':attribute 必须大于或等于 :value KB.',
+        'string' => ':attribute 必须大于或等于 :value 字符.',
+        'array' => ':attribute 必须有 :value 或更多',
     ],
-    'image' => ':attribute must be an image.',
-    'in' => ' :attribute 不在合法值内.',
-    'in_array' => ':attribute field does not exist in :other.',
-    'integer' => ':attribute must be an integer.',
-    'ip' => ':attribute must be a valid IP address.',
-    'ipv4' => ':attribute must be a valid IPv4 address.',
-    'ipv6' => ':attribute must be a valid IPv6 address.',
-    'jsonData' => ':attribute must be a valid JSON string.',
+    'image' => ':attribute 必须是图像',
+    'in' => ' :attribute 不在合法值内',
+    'in_array' => ':attribute 字段不存在 :other.',
+    'integer' => ':attribute 必须为整数',
+    'ip' => ':attribute 必须是有效 IP 地址',
+    'ipv4' => ':attribute 必须是有效 IPv4 地址',
+    'ipv6' => ':attribute 必须是有效 IPv6 地址',
+    'jsonData' => ':attribute 必须是有效json字符串',
     'lt' => [
-        'numeric' => ':attribute must be less than :value.',
-        'file' => ':attribute must be less than :value kilobytes.',
-        'string' => ':attribute must be less than :value characters.',
-        'array' => ':attribute must have less than :value items.',
+        'numeric' => ':attribute 必须小于 :value',
+        'file' => ':attribute 必须小于 :value KB',
+        'string' => ':attribute 必须小于 :value 字符',
+        'array' => ':attribute 必须小于 :value ',
     ],
     'lte' => [
-        'numeric' => ':attribute must be less than or equal :value.',
-        'file' => ':attribute must be less than or equal :value kilobytes.',
-        'string' => ':attribute must be less than or equal :value characters.',
-        'array' => ':attribute must not have more than :value items.',
+        'numeric' => ':attribute 必须小于或等于 :value',
+        'file' => ':attribute 必须小于或等于 :value KB',
+        'string' => ':attribute 必须小于或等于 :value 字符',
+        'array' => ':attribute 不能超过 :value ',
     ],
     'max' => [
-        'numeric' => ':attribute may not be greater than :max.',
-        'file' => ':attribute may not be greater than :max kilobytes.',
+        'numeric' => ':attribute 不能大于 :max',
+        'file' => ':attribute 不能大于 :max KB',
         'string' => ':attribute 不能大于 :max 个字符',
-        'array' => ':attribute may not have more than :max items.',
+        'array' => ':attribute 不能超过 :max ',
     ],
-    'mimes' => ':attribute must be a file of type: :values.',
-    'mimetypes' => ':attribute must be a file of type: :values.',
+    'mimes' => ':attribute 必须是一个类型的文件: :values.',
+    'mimetypes' => ':attribute 必须是一个类型的文件: :values.',
     'min' => [
-        'numeric' => ':attribute must be at least :min.',
-        'file' => ':attribute must be at least :min kilobytes.',
-        'string' => ':attribute must be at least :min characters.',
-        'array' => ':attribute must have at least :min items.',
+        'numeric' => ':attribute 至少 :min',
+        'file' => ':attribute 至少 :min KB',
+        'string' => ':attribute 至少 :min 字符',
+        'array' => ':attribute 必须至少有 :min ',
     ],
-    'not_in' => 'selected :attribute is invalid.',
-    'not_regex' => ':attribute format is invalid.',
+    'not_in' => '挑选 :attribute 是无效的',
+    'not_regex' => ':attribute 格式是无效的',
     'numeric' => ':attribute 必须是数字',
-    'present' => ':attribute field must be present.',
-    'regex' => ':attribute format is invalid.',
+    'present' => ':attribute 字段必须存在',
+    'regex' => ':attribute 格式是无效',
     'required' => ':attribute 字段不能为空',
-    'required_if' => ':attribute field is required when :other is :value.',
-    'required_unless' => ':attribute field is required unless :other is in :values.',
-    'required_with' => ':attribute field is required when :values is present.',
-    'required_with_all' => ':attribute field is required when :values are present.',
+    'required_if' => ':attribute 字段必须存在 当:other 是 :value',
+    'required_unless' => ':attribute 字段是必需的 除非 :other 介于 :values.',
+    'required_with' => '当 :values 存在:attribute 字段是必需的',
+    'required_with_all' => '当 :values 存在 :attribute 字段是必需的',
     'required_without' => ':values 与 :attribute 至少填写一项',
-    'required_without_all' => ':attribute field is required when none of :values are present.',
+    'required_without_all' => '当 :values 不存在 :attribute 字段是必需的',
     'same' => ':attribute 与 :other 必须一致',
     'size' => [
-        'numeric' => ':attribute must be :size.',
-        'file' => ':attribute must be :size kilobytes.',
-        'string' => ':attribute must be :size characters.',
-        'array' => ':attribute must contain :size items.',
+        'numeric' => ':attribute 必须是 :size.',
+        'file' => ':attribute 必须是 :size KB',
+        'string' => ':attribute 必须是 :size 字符',
+        'array' => ':attribute 必须包含 :size ',
     ],
-    'starts_with' => ':attribute must start with one of the following: :values',
+    'starts_with' => ':attribute 必须以下列之一开头: :values',
     'string' => ':attribute 必须是字符串',
-    'timezone' => ':attribute must be a valid zone.',
+    'timezone' => ':attribute 必须是一个有效的区域',
     'unique' => ':attribute 已经存在,不能重复!',
-    'uploaded' => ':attribute failed to upload.',
-    'url' => ':attribute format is invalid.',
-    'uuid' => ':attribute must be a valid UUID.',
+    'uploaded' => ':attribute 未能上传',
+    'url' => ':attribute 格式是无效',
+    'uuid' => ':attribute 必须是有效的UUID',
     'identity_cards' => ':attribute 身份证号错误',
 
     /*