From afbdf3da7607598e63db9353b5d3b09e509ebdf9 Mon Sep 17 00:00:00 2001 From: "sonny.you" Date: Tue, 10 Jun 2025 02:37:21 +0800 Subject: [PATCH] fix(plugin-import-export): revise zhTw translations (#12685) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ### What? Updated the zh-TW localisation for **`@payloadcms/plugin-import-export`** to improve wording and consistency: | Key | Old Value | New Value | | --- | --------- | --------- | | `exportOptions` | 出口選項 | **匯出選項** | | `field-fields-label` | 田野 | **欄位** | | `field-format-label` | 出口格式 | **匯出格式** | | `field-limit-label` | 限制 | **筆數限制** | | `field-locale-label` | 地區設定 | **語言/地區** | | `field-selectionToUse-label` | 使用選擇 | **選擇範圍** | | `field-sort-label` | 按照排序 | **排序方式** | | `selectionToUse-currentFilters` | 使用當前過濾器 | **使用目前過濾條件** | | `selectionToUse-currentSelection` | 使用當前選擇 | **使用目前選擇** | | `totalDocumentsCount` | {{count}} 總文件數 | **共 {{count}} 筆文件** | Changes located in `packages/plugin-import-export/src/translations/languages/zhTw.ts`. ### Why? * Aligns wording with common CMS terminology in Taiwan. * Improves readability for end-users. ### How? 1. Set your **browser locale** to **`zh-TW`**. 2. Reload the Payload Admin UI. 3. Open any Collection → **Export** dialog and verify that all labels match the **“New Value”** column above. * Before: ![image](https://github.com/user-attachments/assets/5e3ac116-e3df-438e-b5f5-f89a6c29ad67) * After: ![image](https://github.com/user-attachments/assets/176dea2d-d36a-4e7c-8470-824eae18a6f3) --- .../src/translations/languages/zhTw.ts | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/plugin-import-export/src/translations/languages/zhTw.ts b/packages/plugin-import-export/src/translations/languages/zhTw.ts index ab3821015..08fd24e28 100644 --- a/packages/plugin-import-export/src/translations/languages/zhTw.ts +++ b/packages/plugin-import-export/src/translations/languages/zhTw.ts @@ -4,20 +4,20 @@ export const zhTwTranslations: PluginDefaultTranslationsObject = { 'plugin-import-export': { allLocales: '所有地區', exportDocumentLabel: '匯出 {{label}}', - exportOptions: '出口選項', + exportOptions: '匯出選項', 'field-depth-label': '深度', 'field-drafts-label': '包含草稿', - 'field-fields-label': '田野', - 'field-format-label': '出口格式', - 'field-limit-label': '限制', - 'field-locale-label': '地區設定', + 'field-fields-label': '欄位', + 'field-format-label': '匯出格式', + 'field-limit-label': '筆數限制', + 'field-locale-label': '語言/地區', 'field-name-label': '檔案名稱', - 'field-selectionToUse-label': '使用選擇', - 'field-sort-label': '按照排序', + 'field-selectionToUse-label': '選擇範圍', + 'field-sort-label': '排序方式', 'selectionToUse-allDocuments': '使用所有文件', - 'selectionToUse-currentFilters': '使用當前過濾器', - 'selectionToUse-currentSelection': '使用當前選擇', - totalDocumentsCount: '{{count}} 總文件數', + 'selectionToUse-currentFilters': '使用目前篩選條件', + 'selectionToUse-currentSelection': '使用目前選擇', + totalDocumentsCount: '共 {{count}} 筆文件', }, }