Skip to content

Commit 5d8f8dc

Browse files
authored
fix(translations): update traditional chinese (zh-TW) localization (#13370)
A comprehensive revision has been made to correct the majority of localization translation errors. Previous versions were often grammatically incorrect and awkward. This update includes a one-time overhaul to improve grammar, vocabulary, and fix a few terms that were written in Simplified Chinese. Since a large number of translated terms have been corrected, it is recommended to use GitHub's Files changed feature to review the diffs directly. This Pull Request only modifies translation content; no other code changes have been made. <!-- Thank you for the PR! Please go through the checklist below and make sure you've completed all the steps. Please review the [CONTRIBUTING.md](https://github.com/payloadcms/payload/blob/main/CONTRIBUTING.md) document in this repository if you haven't already. The following items will ensure that your PR is handled as smoothly as possible: - PR Title must follow conventional commits format. For example, `feat: my new feature`, `fix(plugin-seo): my fix`. - Minimal description explained as if explained to someone not immediately familiar with the code. - Provide before/after screenshots or code diffs if applicable. - Link any related issues/discussions from GitHub or Discord. - Add review comments if necessary to explain to the reviewer the logic behind a change ### What? ### Why? ### How? Fixes # -->
1 parent 7344d64 commit 5d8f8dc

File tree

4 files changed

+410
-410
lines changed
  • packages
    • plugin-import-export/src/translations/languages
    • plugin-multi-tenant/src/translations/languages
    • plugin-seo/src/translations
    • translations/src/languages

4 files changed

+410
-410
lines changed

packages/plugin-import-export/src/translations/languages/zhTw.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@ import type { PluginDefaultTranslationsObject, PluginLanguage } from '../types.j
22

33
export const zhTwTranslations: PluginDefaultTranslationsObject = {
44
'plugin-import-export': {
5-
allLocales: '所有地區',
5+
allLocales: '所有語言地區',
66
exportDocumentLabel: '匯出 {{label}}',
77
exportOptions: '匯出選項',
8-
'field-depth-label': '深度',
8+
'field-depth-label': '層級深度',
99
'field-drafts-label': '包含草稿',
1010
'field-fields-label': '欄位',
1111
'field-format-label': '匯出格式',
12-
'field-limit-label': '筆數限制',
13-
'field-locale-label': '語言/地區',
12+
'field-limit-label': '筆數上限',
13+
'field-locale-label': '語言地區',
1414
'field-name-label': '檔案名稱',
15-
'field-selectionToUse-label': '選擇範圍',
15+
'field-selectionToUse-label': '使用的選取範圍',
1616
'field-sort-label': '排序方式',
1717
'selectionToUse-allDocuments': '使用所有文件',
1818
'selectionToUse-currentFilters': '使用目前篩選條件',
19-
'selectionToUse-currentSelection': '使用目前選擇',
19+
'selectionToUse-currentSelection': '使用目前選取內容',
2020
totalDocumentsCount: '共 {{count}} 筆文件',
2121
},
2222
}

packages/plugin-multi-tenant/src/translations/languages/zhTw.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import type { PluginDefaultTranslationsObject, PluginLanguage } from '../types.j
33
export const zhTwTranslations: PluginDefaultTranslationsObject = {
44
'plugin-multi-tenant': {
55
'confirm-tenant-switch--body':
6-
'您即將將所有權從 <0>{{fromTenant}}</0> 轉移至 <0>{{toTenant}}</0>',
7-
'confirm-tenant-switch--heading': '確認{{tenantLabel}}更改',
8-
'field-assignedTentant-label': '指定的租戶',
6+
'您即將變更擁有者,從 <0>{{fromTenant}}</0> 切換為 <0>{{toTenant}}</0>',
7+
'confirm-tenant-switch--heading': '確認變更 {{tenantLabel}}',
8+
'field-assignedTentant-label': '指派的租用戶',
99
},
1010
}
1111

packages/plugin-seo/src/translations/zhTw.ts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,24 @@ export const zhTw: GenericTranslationsObject = {
44
$schema: './translation-schema.json',
55
'plugin-seo': {
66
almostThere: '快完成了',
7-
autoGenerate: '自動生成',
8-
bestPractices: '最佳實踐',
9-
characterCount: '{{current}}/{{minLength}}-{{maxLength}} 字符, ',
10-
charactersLeftOver: '{{characters}} 字符剩餘',
11-
charactersToGo: '{{characters}} 字符待輸入',
12-
charactersTooMany: '{{characters}} 字符太多',
13-
checksPassing: '{{current}}/{{max}} 檢查通過',
14-
good: '',
15-
imageAutoGenerationTip: '自動生成將獲取選定的主圖像。',
7+
autoGenerate: '自動產生',
8+
bestPractices: '最佳做法',
9+
characterCount: '{{current}}/{{minLength}}-{{maxLength}} 字元,',
10+
charactersLeftOver: '多出 {{characters}} 個字元',
11+
charactersToGo: '還差 {{characters}} 個字元',
12+
charactersTooMany: '超出 {{characters}} 個字元',
13+
checksPassing: '{{current}} 項檢查通過,共 {{max}} ',
14+
good: '良好',
15+
imageAutoGenerationTip: '系統會自動擷取選取的主圖。',
1616
lengthTipDescription:
17-
'此文本應介於 {{minLength}} {{maxLength}} 個字符之間。如需有關編寫高質量 meta 描述的幫助,請參見 ',
17+
'長度應介於 {{minLength}} {{maxLength}} 個字元。若需撰寫高品質後設資料描述的協助,請參閱',
1818
lengthTipTitle:
19-
'此文本應介於 {{minLength}} {{maxLength}} 個字符之間。如需有關編寫高質量 meta 標題的幫助,請參見 ',
20-
missing: '缺失',
19+
'長度應介於 {{minLength}} {{maxLength}} 個字元。若需撰寫高品質後設資料標題的協助,請參閱',
20+
missing: '尚未設定',
2121
noImage: '沒有圖片',
2222
preview: '預覽',
23-
previewDescription: '實際搜尋結果可能會根據內容和搜尋相關性有所不同。',
24-
tooLong: '太長',
25-
tooShort: '太短',
23+
previewDescription: '實際搜尋結果可能會因內容與關聯性而有所不同。',
24+
tooLong: '過長',
25+
tooShort: '過短',
2626
},
2727
}

0 commit comments

Comments
 (0)