Skip to content

Commit

Permalink
Translate Yii2 Unique Validation Error Message to zh-TW
Browse files Browse the repository at this point in the history
  • Loading branch information
harusakura924 committed Sep 23, 2024
1 parent 62f7f12 commit 64af4fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framework/messages/zh-TW/yii.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
' and ' => '',
' and ' => '',

Check warning on line 27 in framework/messages/zh-TW/yii.php

View check run for this annotation

Codecov / codecov/patch

framework/messages/zh-TW/yii.php#L27

Added line #L27 was not covered by tests
'"{attribute}" does not support operator "{operator}".' => '',
'(not set)' => '(未設定)',
'Action not found.' => '',
Expand All @@ -51,7 +51,7 @@
'Please fix the following errors:' => '請修正以下錯誤:',
'Please upload a file.' => '請上傳一個檔案。',
'Showing <b>{begin, number}-{end, number}</b> of <b>{totalCount, number}</b> {totalCount, plural, one{item} other{items}}.' => '第 <b>{begin, number}-{end, number}</b> 項,共 <b>{totalCount, number}</b> 項資料.',
'The combination {values} of {attributes} has already been taken.' => '',
'The combination {values} of {attributes} has already been taken.' => '{attribute} 的值 "{value}" 已經被佔用了。',

Check warning on line 54 in framework/messages/zh-TW/yii.php

View check run for this annotation

Codecov / codecov/patch

framework/messages/zh-TW/yii.php#L54

Added line #L54 was not covered by tests
'The file "{file}" is not an image.' => '檔案 "{file}" 不是一個圖片檔案。',
'The file "{file}" is too big. Its size cannot exceed {formattedLimit}.' => '檔案"{file}"太大了。它的大小不可以超過{formattedLimit}。',
'The file "{file}" is too small. Its size cannot be smaller than {formattedLimit}.' => '文件"{file}"太小了。它的大小不可以小於{formattedLimit}。',
Expand Down

0 comments on commit 64af4fd

Please sign in to comment.