]> BookStack Code Mirror - bookstack/blobdiff - resources/lang/zh_CN/validation.php
Docker: Fix PHP tests
[bookstack] / resources / lang / zh_CN / validation.php
index 9755413fc8ff409c28826b5c36f6160ef885012a..8bb8a207a00099893bf52e37d37ab3ffc4da83b9 100644 (file)
@@ -80,7 +80,7 @@ return [
     ],
     'no_double_extension'  => ':attribute 必须具有一个扩展名。',
     'not_in'               => '选中的 :attribute 无效。',
-    'not_regex'            => 'The :attribute format is invalid.',
+    'not_regex'            => ':attribute 格式错误。',
     'numeric'              => ':attribute 必须是一个数。',
     'regex'                => ':attribute 格式无效。',
     'required'             => ':attribute 字段是必需的。',
@@ -90,6 +90,7 @@ return [
     'required_without'     => '当:values不存在时,:attribute 字段是必需的。',
     'required_without_all' => '当:values均不存在时,:attribute 字段是必需的。',
     'same'                 => ':attribute 与 :other 必须匹配。',
+    'safe_url'             => '提供的链接可能不安全。',
     'size'                 => [
         'numeric' => ':attribute 必须为:size。',
         'file'    => ':attribute 必须为:size KB。',