Files
panel-pelican-dev/lang/zh_TW/validation.php
github-actions[bot] 9e0f7cee35 New Crowdin Translations (#2421)
Co-authored-by: notAreYouScared <1757840+notAreYouScared@users.noreply.github.com>
2026-07-02 08:24:53 -04:00

102 lines
4.2 KiB
PHP

<?php
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator class. Some of these rules have multiple versions such
| as the size rules. Feel free to tweak each of these messages here.
|
*/
'accepted' => '必須接受 :attribute。',
'active_url' => ':attribute 不是有效的網址。',
'after' => ':attribute 必須是 :date 之後的日期。',
'after_or_equal' => ':attribute 必須是等於或晚於 :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 必須介於 :min 與 :max KB 之間。',
'string' => ':attribute 必須介於 :min 與 :max 個字元之間。',
'array' => ':attribute 必須有 :min 到 :max 個項目。',
],
'confirmed' => ':attribute 的確認欄位不相符。',
'date' => ':attribute 不是有效的日期。',
'date_format' => ':attribute 不符合 :format 的格式。',
'different' => ':attribute 與 :other 必須不同。',
'digits' => ':attribute 必須是 :digits 位數字。',
'digits_between' => ':attribute 必須介於 :min 與 :max 位數字之間。',
'dimensions' => ':attribute 的圖片尺寸無效。',
'email' => ':attribute 必須是有效的電子郵件位址。',
'file' => ':attribute 必須是一個檔案。',
'filled' => ':attribute 欄位是必填的。',
'image' => ':attribute 必須是一張圖片。',
'in_array' => ':attribute 欄位不存在於 :other 中。',
'integer' => ':attribute 必須是一個整數。',
'ip' => ':attribute 必須是有效的 IP 位址。',
'json' => ':attribute 必須是有效的 JSON 字串。',
'max' => [
'numeric' => ':attribute 不能大於 :max。',
'file' => ':attribute 不能大於 :max KB。',
'string' => ':attribute 不能大於 :max 個字元。',
'array' => ':attribute 最多只能有 :max 個項目。',
],
'mimes' => ':attribute 必須是 :values 類型的檔案。',
'mimetypes' => ':attribute 必須是 :values 類型的檔案。',
'min' => [
'numeric' => ':attribute 必須至少為 :min。',
'file' => ':attribute 必須至少為 :min KB。',
'string' => ':attribute 必須至少有 :min 個字元。',
'array' => ':attribute 必須至少有 :min 個項目。',
],
'numeric' => ':attribute 必須是一個數字。',
'regex' => ':attribute 的格式無效。',
'required_with_all' => '當 :values 存在時,:attribute 欄位是必填的。',
'same' => ':attribute 與 :other 必須相符。',
'size' => [
'numeric' => ':attribute 必須是 :size。',
'file' => ':attribute 必須是 :size KB。',
'string' => ':attribute 必須是 :size 個字元。',
'array' => ':attribute 必須包含 :size 個項目。',
],
'string' => ':attribute 必須是一個字串。',
'timezone' => ':attribute 必須是有效的時區。',
'url' => ':attribute 的格式無效。',
/*
|--------------------------------------------------------------------------
| Custom Validation Attributes
|--------------------------------------------------------------------------
|
| The following language lines are used to swap attribute place-holders
| with something more reader friendly such as E-Mail Address instead
| of "email". This simply helps us make messages a little cleaner.
|
*/
'attributes' => [],
// Internal validation logic for Panel
'internal' => [
'variable_value' => ':env 變數',
'invalid_password' => '提供的密碼對此帳號無效。',
],
];