X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/9bed57e40eccf6a0b0ae325007d4cb365a7893fb..refs/pull/2511/head:/resources/lang/zh_CN/validation.php diff --git a/resources/lang/zh_CN/validation.php b/resources/lang/zh_CN/validation.php index 9755413fc..8bb8a207a 100644 --- a/resources/lang/zh_CN/validation.php +++ b/resources/lang/zh_CN/validation.php @@ -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。',