X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/f3a7d5881671d401101032bee76a4196b11f4bf6..refs/pull/2515/head:/resources/lang/zh_TW/validation.php diff --git a/resources/lang/zh_TW/validation.php b/resources/lang/zh_TW/validation.php index 33a3c7119..7a46288ad 100644 --- a/resources/lang/zh_TW/validation.php +++ b/resources/lang/zh_TW/validation.php @@ -30,40 +30,40 @@ return [ 'digits' => ':attribute 必須為:digits位數。', 'digits_between' => ':attribute 必須為:min到:max位數。', 'email' => ':attribute 必須是有效的電子郵件位址。', - 'ends_with' => 'The :attribute must end with one of the following: :values', + 'ends_with' => ':attribute必須以下列之一結尾::values', 'filled' => ':attribute 字段是必需的。', 'gt' => [ - 'numeric' => 'The :attribute must be greater than :value.', - 'file' => 'The :attribute must be greater than :value kilobytes.', - 'string' => 'The :attribute must be greater than :value characters.', - 'array' => 'The :attribute must have more than :value items.', + 'numeric' => ':attribute必須大於:value。', + 'file' => ':attribute必須大於:value千字節。', + 'string' => ':attribute必須多於:value個字符。', + 'array' => ':attribute必須包含比:value多的項目。', ], 'gte' => [ - 'numeric' => 'The :attribute must be greater than or equal :value.', - 'file' => 'The :attribute must be greater than or equal :value kilobytes.', - 'string' => 'The :attribute must be greater than or equal :value characters.', - 'array' => 'The :attribute must have :value items or more.', + 'numeric' => 'The :attribute必須大於或等於:value。', + 'file' => 'The :attribute必須大於或等於:value千字節。', + 'string' => 'The :attribute必須多於或等於:value個字符。', + 'array' => ':attribute必須具有:value或更多項。', ], 'exists' => '選中的 :attribute 無效。', 'image' => ':attribute 必須是一個圖片。', - 'image_extension' => 'The :attribute must have a valid & supported image extension.', + 'image_extension' => 'The :attribute必須具有有效且受支持的圖像擴展名.', 'in' => '選中的 :attribute 無效。', 'integer' => ':attribute 必須是一個整數。', 'ip' => ':attribute 必須是一個有效的IP位址。', - 'ipv4' => 'The :attribute must be a valid IPv4 address.', - 'ipv6' => 'The :attribute must be a valid IPv6 address.', - 'json' => 'The :attribute must be a valid JSON string.', + 'ipv4' => 'The :attribute必須是有效的IPv4地址。', + 'ipv6' => 'The :attribute必須是有效的IPv6地址。', + 'json' => 'The :attribute必須是有效的JSON字符串。', 'lt' => [ - 'numeric' => 'The :attribute must be less than :value.', - 'file' => 'The :attribute must be less than :value kilobytes.', - 'string' => 'The :attribute must be less than :value characters.', - 'array' => 'The :attribute must have less than :value items.', + 'numeric' => ':attribute必須小於:value。', + 'file' => 'The :attribute必須小於:value千字節。', + 'string' => ':attribute必須少於:value個字符。', + 'array' => ':attribute必須少於:value個項目。', ], 'lte' => [ - 'numeric' => 'The :attribute must be less than or equal :value.', - 'file' => 'The :attribute must be less than or equal :value kilobytes.', - 'string' => 'The :attribute must be less than or equal :value characters.', - 'array' => 'The :attribute must not have more than :value items.', + 'numeric' => ':attribute必須小於或等於:value。', + 'file' => ':attribute必須小於或等於:value KB。', + 'string' => ':attribute必須少於或等於:value個字符。', + 'array' => ':attribute不得多過:value個項目。', ], 'max' => [ 'numeric' => ':attribute 不能超過:max。', @@ -74,13 +74,13 @@ return [ 'mimes' => ':attribute 必須是 :values 類型的檔案。', 'min' => [ 'numeric' => ':attribute 至少為:min。', - 'file' => ':attribute 至少為:min KB。', + 'file' => ':attribute 必須至少為:min KB。', 'string' => ':attribute 至少為:min個字元。', 'array' => ':attribute 至少有:min項。', ], - 'no_double_extension' => 'The :attribute must only have a single file extension.', + 'no_double_extension' => 'The :attribute必須僅具有一個文件擴展名。', 'not_in' => '選中的 :attribute 無效。', - 'not_regex' => 'The :attribute format is invalid.', + 'not_regex' => 'The :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' => 'The provided link may not be safe.', 'size' => [ 'numeric' => ':attribute 必須為:size。', 'file' => ':attribute 必須為:size KB。', @@ -100,7 +101,7 @@ return [ 'timezone' => ':attribute 必須是有效的區域。', 'unique' => ':attribute 已經被使用。', 'url' => ':attribute 格式無效。', - 'uploaded' => 'The file could not be uploaded. The server may not accept files of this size.', + 'uploaded' => '無法上傳文件, 服務器可能不接受此大小的文件。', // Custom validation lines 'custom' => [