Optimize plugins translation in Traditional Chinese. (#7557)

* Optimize plugin 'content-type-builder' translations in zh.json.

Signed-off-by: Dominic Lee <dominiclee0512@gmail.com>

* Optimize plugin 'documentation' translations in zh.json.

Signed-off-by: Dominic Lee <dominiclee0512@gmail.com>

* Optimize plugin 'upload' translations in zh.json and filter button
missing translation wording.

Signed-off-by: Dominic Lee <dominiclee0512@gmail.com>

* refactor: move filter translation config from plugin to admin core.

Signed-off-by: Dominic Lee <dominiclee0512@gmail.com>
This commit is contained in:
Dominic 2020-09-14 15:28:11 +08:00 committed by GitHub
parent 49f992359f
commit bbb8b421b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 239 additions and 24 deletions

View File

@ -97,6 +97,7 @@
"app.utils.SelectOption.defaultMessage": " ",
"app.utils.defaultMessage": " ",
"app.utils.delete": "刪除",
"app.utils.filters": "過濾條件",
"app.utils.placeholder.defaultMessage": " ",
"components.AutoReloadBlocker.header": "這個擴充功能需要自動重新整理功能才能載入",
"components.ErrorBoundary.title": "有錯誤發生...",

View File

@ -1,20 +1,76 @@
{
"attribute.boolean": "布林值",
"attribute.boolean.description": "好或不好, 1或0, 是或否",
"attribute.component": "元件",
"attribute.component.description": "組合欄位值以便重複使用",
"attribute.date": "日期",
"attribute.date.description": "時間選擇器,可選擇日期及時間",
"attribute.datetime": "日期和時間",
"attribute.dynamiczone": "動態配置",
"attribute.dynamiczone.description": "動態選擇元件及編輯其內容",
"attribute.email": "電子郵件地址",
"attribute.email.description": "驗證格式過的電子郵件欄位",
"attribute.enumeration": "列舉",
"attribute.enumeration.description": "列舉設定值並可擇一為值",
"attribute.json": "JSON",
"attribute.json.description": "JSON 資料格式",
"attribute.media": "媒體",
"attribute.media.description": "圖片,影片 ...... 等檔案",
"attribute.number": "數字",
"attribute.number.description": "數字 (正整數, 浮點數, 小數)",
"attribute.password": "密碼",
"attribute.password.description": "加密過得密碼欄位",
"attribute.relation": "關聯",
"attribute.relation.description": "指向其他集合類型",
"attribute.richtext": "多文本格式",
"attribute.richtext.description": "多文本格式編輯器",
"attribute.text": "文字",
"attribute.text.description": "短的標題或長的描述文字",
"attribute.time": "時間",
"attribute.timestamp": "時間戳記",
"attribute.uid": "UID",
"attribute.uid.description": "唯一識別碼",
"button.attributes.add.another": "新增欄位",
"button.component.add": "新增元件",
"button.component.create": "建立新元件",
"button.model.create": "建立新的集合類型",
"button.single-types.create": "建立新的單一類型",
"component.repeatable": "(可重複的)",
"components.componentSelect.no-component-available": "你已經加入了所有可以加入的元件",
"components.componentSelect.no-component-available.with-search": "搜尋不到符合的元件",
"components.componentSelect.value-component": "{number} 個元件被選取 (輸入搜尋元件)",
"components.componentSelect.value-components": "{number} 個元件被選取",
"configurations": "配置設定",
"contentType.UID.description": "UID 被使用於建立API路由及資料庫的資料表或資料集",
"contentType.collectionName.description": "使用於當內容集合名稱與資料集合名稱不同時",
"contentType.collectionName.label": "集合名稱",
"contentType.displayName.label": "顯示名稱",
"contentType.kind.change.warning": "你變更了內容類型: API 將會被重置 (路由器, 控制器, 和服務將會被覆寫).",
"error.attributeName.reserved-name": "這個欄位名稱不可以在此內容類型內被使用,有可能會破壞其他功能",
"error.contentTypeName.reserved-name": "這個內容類型名稱不可以在此專案內被使用,有可能會破壞其他功能",
"error.validation.enum-duplicate": "不允取重複的值",
"error.validation.minSupMax": "Can't be superior",
"error.validation.regex": "不合法的正規式",
"error.validation.relation.targetAttribute-taken": "該欄位名稱已被使用",
"form.attribute.component.option.add": "新增元件",
"form.attribute.component.option.create": "建立新元件",
"form.attribute.component.option.create.description": "一個可以跨元件及類型引用的元件, 可以在任何地方被引用",
"form.attribute.component.option.repeatable": "可重複的元件",
"form.attribute.component.option.repeatable.description": "適用於陣列,清單,標籤類型元件",
"form.attribute.component.option.reuse-existing": "使用一個已建立的元件",
"form.attribute.component.option.reuse-existing.description": "可複用元件已建立,可以協助你在不同的內容型別間保持資料一致性",
"form.attribute.component.option.single": "單一元件",
"form.attribute.component.option.single.description": "適用於組合型欄位群,如:完整地址,基本完整資訊 ......等",
"form.attribute.item.customColumnName": "自訂欄位名稱",
"form.attribute.item.customColumnName.description": "將資料庫欄位名稱以更易懂的格式重新命名,對 API 回應很有用。",
"form.attribute.item.date.type.date": "日期",
"form.attribute.item.date.type.datetime": "日期及時間",
"form.attribute.item.date.type.time": "時間",
"form.attribute.item.defineRelation.fieldName": "欄位名稱",
"form.attribute.item.enumeration.graphql": "GraphQL 名稱覆寫",
"form.attribute.item.enumeration.graphql.description": "可以讓您覆寫 GraphQL 的預設名稱",
"form.attribute.item.enumeration.placeholder": "例:\nmorning\nnoon\nevening",
"form.attribute.item.enumeration.rules": "Values (one line per value)",
"form.attribute.item.enumeration.placeholder": "例:\n早上\n中午\n晚上",
"form.attribute.item.enumeration.rules": "值 (格式為一行一個值)",
"form.attribute.item.maximum": "最大數值",
"form.attribute.item.maximumLength": "最大長度",
"form.attribute.item.minimum": "最小數值",
@ -23,29 +79,100 @@
"form.attribute.item.number.type.decimal": "浮點數(decimal) (例: 2.22)",
"form.attribute.item.number.type.float": "浮點數(float) (例: 3.33333333)",
"form.attribute.item.number.type.integer": "整數 (例: 10)",
"form.attribute.item.privateField": "隱密欄位",
"form.attribute.item.privateField.description": "該欄位不會被顯示在API的回傳資料中",
"form.attribute.item.requiredField": "必填欄位",
"form.attribute.item.requiredField.description": "如果這個欄位留空,您將不能建立項目。",
"form.attribute.item.settings.name": "設定",
"form.attribute.item.text.regex": "正規式",
"form.attribute.item.text.regex.description": "文本正規表達式",
"form.attribute.item.uniqueField": "唯一欄位",
"form.attribute.item.uniqueField.description": "如果已存在的項目有一模一樣的內容,您將不能建立項目。",
"form.attribute.media.allowed-types": "選擇合法的多媒體類型",
"form.attribute.media.allowed-types.none": "None",
"form.attribute.media.allowed-types.option-files": "檔案",
"form.attribute.media.allowed-types.option-images": "圖片",
"form.attribute.media.allowed-types.option-videos": "影片",
"form.attribute.media.option.multiple": "複數多媒體",
"form.attribute.media.option.multiple.description": "適用於輪撥模組或多檔案下載",
"form.attribute.media.option.single": "單一多媒體",
"form.attribute.media.option.single.description": "適用於大頭貼或背景圖",
"form.attribute.settings.default": "預設值",
"form.attribute.text.option.long-text": "長文字",
"form.attribute.text.option.long-text.description": "適用於描述及自傳內容,但無法被精準搜尋",
"form.attribute.text.option.short-text": "短文字",
"form.attribute.text.option.short-text.description": "適用於標題,名稱,連結且可以被精準搜尋",
"form.button.add-components-to-dynamiczone": "新增元件至動態配置",
"form.button.add-field": "新增欄位",
"form.button.add-first-field-to-created-component": "新增元件的第一個欄位",
"form.button.add.field.to.collectionType": "新增其他欄位於此集合類型",
"form.button.add.field.to.component": "新增其他欄位於此元件",
"form.button.add.field.to.contentType ": "新增其他欄位於此內容類型",
"form.button.add.field.to.singleType": "新增其他欄位於此單一類型",
"form.button.cancel": "取消",
"form.button.collection-type.description": "適用於複數實例,如議題文章,產品,貼文......等",
"form.button.configure-component": "配置元件",
"form.button.configure-view": "配置畫面",
"form.button.continue": "繼續",
"form.button.delete": "刪除",
"form.button.finish": "完成",
"form.button.save": "儲存",
"form.button.select-component": "選擇一個元件",
"form.button.single-type.description": "適用於單一實例,如首頁,關於 ...... 等",
"from": "從",
"injected-components.content-manager.edit-settings-view.link.components": "編輯元件",
"injected-components.content-manager.edit-settings-view.link.content-types": "編輯內容型別",
"menu.section.components.name.plural": "複數元件",
"menu.section.components.name.singular": "元件",
"menu.section.models.name.plural": "資料結構",
"menu.section.models.name.singular": "資料結構",
"menu.section.single-types.name.plural": "複數單一型別",
"menu.section.single-types.name.singular": "單一型別",
"modalForm.attribute.form.base.name": "名稱",
"modalForm.attribute.form.base.name.description": "欄位名稱不允許空白",
"modalForm.attribute.form.base.name.placeholder": "e.g. Slug, SEO URL, Canonical URL",
"modalForm.attribute.target-field": "關聯目標欄位",
"modalForm.attribute.text.type-selection": "型別選擇",
"modalForm.attributes.select-component": "選擇一個元件",
"modalForm.attributes.select-components": "選擇多個元件",
"modalForm.component.header-create": "建立元件",
"modalForm.components.create-component.category.label": "選擇或新增一個分類",
"modalForm.components.icon.label": "圖示",
"modalForm.contentType.header-create": "建立集合型別",
"modalForm.editCategory.base.name.description": "分類名稱不允許空白",
"modalForm.header-edit": "編輯 {name}",
"modalForm.header.categories": "複數分類",
"modalForm.singleType.header-create": "建立單一型別",
"modalForm.sub-header.addComponentToDynamicZone": "在動態配置區新增一個元件",
"modalForm.sub-header.attribute.create": "新增 {type} 欄位",
"modalForm.sub-header.attribute.create.step": "新增元件 ({step}/2)",
"modalForm.sub-header.attribute.edit": "編輯 {name}",
"modalForm.sub-header.chooseAttribute.collectionType": "選擇集合型別的一個欄位",
"modalForm.sub-header.chooseAttribute.component": "選擇元件的一個欄位",
"modalForm.sub-header.chooseAttribute.singleType": "選擇單一型別的一個欄位",
"modelPage.attribute.relation-polymorphic": "關聯 (多對多多型)",
"modelPage.attribute.relationWith": "關聯到",
"modelPage.contentHeader.emptyDescription.description": "這個資料結構沒有任何說明",
"none": "None",
"notification.info.autoreaload-disable": "啟用這個擴充模組需要重新啟動,使用 `strapi develop` 指令重新啟動",
"notification.info.creating.notSaved": "在建立新的集合型別或元件前請記得儲存",
"plugin.description.long": "為您的 API 定義資料結構,使您輕鬆新增欄位和關聯結構,您所做的修改會自動更新專案。",
"plugin.description.short": "為您的 API 定義資料結構",
"plugin.name": "內容型別建造器",
"popUpForm.navContainer.advanced": "進階設定",
"popUpForm.navContainer.base": "基本設定",
"popUpWarning.bodyMessage.cancel-modifications": "你確定要取消你的修改嗎?",
"popUpWarning.bodyMessage.cancel-modifications.with-components": "你確定要取消你的修改嗎? 部份元件已被新增或修改...",
"popUpWarning.bodyMessage.category.delete": "你確定要刪除此分類嗎? 所有此分類內的元件都會被刪除.",
"popUpWarning.bodyMessage.component.delete": "你確定要刪除此元件嗎?",
"popUpWarning.bodyMessage.contentType.delete": "您確定要刪除這個資料結構嗎?",
"prompt.unsaved": "你確定要離開嗎? 所有你的修改都會失效",
"relation.attributeName.placeholder": "Ex: 作者, 類別, tag...",
"relation.manyToMany": "有而且屬於許多",
"relation.manyToOne": "有許多",
"relation.oneToMany": "屬於許多",
"relation.oneToOne": "一對一到",
"relation.oneWay": "有一個"
"relation.oneWay": "有一個",
"table.attributes.title.plural": "{number} 個欄位",
"table.attributes.title.singular": "{number} 個欄位"
}

View File

@ -1,23 +1,27 @@
{
"components.Row.generatedDate": "Last generation",
"components.Row.open": "Open",
"components.Row.regenerate": "Regenerate",
"containers.HomePage.Block.title": "Versions",
"containers.HomePage.Button.open": "Open the documentation",
"containers.HomePage.Button.update": "Update",
"containers.HomePage.PluginHeader.description": "Configure the documentation plugin",
"containers.HomePage.PluginHeader.title": "Documentation - Settings",
"containers.HomePage.PopUpWarning.confirm": "I understand",
"containers.HomePage.PopUpWarning.message": "Are you sure you want to delete this version?",
"containers.HomePage.form.password": "Password",
"containers.HomePage.form.password.inputDescription": "Set the password to access the documentation",
"containers.HomePage.form.restrictedAccess": "Restricted access",
"containers.HomePage.form.restrictedAccess.inputDescription": "Make the documentation endpoint private. By default, the access is public",
"containers.HomePage.form.showGeneratedFiles": "Show generated files",
"containers.HomePage.form.showGeneratedFiles.inputDescription": "Useful when you want to override the generated documentation. \nThe plugin will generate files split by model and plugin. \nBy enabling this option it will be easier to customize your documentation",
"error.deleteDoc.versionMissing": "The version you are trying to delete does not exist.",
"error.noVersion": "A version is required",
"error.regenerateDoc": "An error occurred while regenerating the doc",
"error.regenerateDoc.versionMissing": "The version you are trying to generate doesn't exist",
"notification.update.success": "Settings updated successfully"
"components.Row.generatedDate": "最後產生的時間",
"components.Row.open": "開啟",
"components.Row.regenerate": "重新產生",
"containers.HomePage.Block.title": "版本",
"containers.HomePage.Button.open": "打開文件資料",
"containers.HomePage.Button.update": "更新",
"containers.HomePage.PluginHeader.description": "配置文件資料擴充套件設定",
"containers.HomePage.PluginHeader.title": "文件資料 - 設定",
"containers.HomePage.PopUpWarning.confirm": "我了解了",
"containers.HomePage.PopUpWarning.message": "你確定要刪除這個版本嗎?",
"containers.HomePage.copied": "Token 已經複製到剪貼簿",
"containers.HomePage.form.jwtToken": "存取你的 jwt token",
"containers.HomePage.form.jwtToken.description": "複製這個token並於swagger中使用於發出請求",
"containers.HomePage.form.password": "密碼",
"containers.HomePage.form.password.inputDescription": "設定密碼存取權限",
"containers.HomePage.form.restrictedAccess": "存取受到限制",
"containers.HomePage.form.restrictedAccess.inputDescription": "將endpoints設定為私密的. 預設是對外公開的",
"containers.HomePage.form.showGeneratedFiles": "顯示產生的檔案",
"containers.HomePage.form.showGeneratedFiles.inputDescription": "用於覆寫產生的文件檔案時. \n擴充套件會依照model及plugin分別產生檔案. \n啟用這個選項將會方便你客製化文件資料",
"error.deleteDoc.versionMissing": "你想刪除的版本不存在",
"error.noVersion": "版本是必填欄位",
"error.regenerateDoc": "重新產生文件資料時發生了錯誤",
"error.regenerateDoc.versionMissing": "你想產生的版本不存在",
"notification.update.success": "更新設定成功",
"plugin.name": "文件資料"
}

View File

@ -5,6 +5,7 @@ import ru from './ru.json';
import uk from './uk.json';
import ptBR from './pt-BR.json';
import sk from './sk.json';
import zh from './zh.json';
const trads = {
en,
@ -14,6 +15,7 @@ const trads = {
uk,
'pt-BR': ptBR,
sk,
zh,
};
export default trads;

View File

@ -0,0 +1,81 @@
{
"button.next": "繼續",
"checkControl.crop-duplicate": "複製及裁切素材",
"checkControl.crop-original": "裁切原始素材",
"control-card.add": "增加",
"control-card.cancel": "取消",
"control-card.copy-link": "複製連結",
"control-card.crop": "裁切",
"control-card.delete": "刪除",
"control-card.download": "下載",
"control-card.edit": "編輯",
"control-card.replace-media": "取代原本的媒體檔",
"control-card.save": "儲存",
"filter.add": "增加過濾條件",
"form.button.replace-media": "取代原本的媒體檔",
"form.input.decription.file-alt": "當素材找不到時此文字會被顯示",
"form.input.label.file-alt": "預設顯示文字",
"form.input.label.file-caption": "標題",
"form.input.label.file-name": "檔案名稱",
"form.upload-url.error.url.invalid": "連結不合法",
"form.upload-url.error.url.invalids": "{number} 個連結不合法",
"header.actions.upload-assets": "上傳素材",
"header.content.assets-empty": "無素材",
"header.content.assets-multiple": "{number} 個素材",
"header.content.assets-single": "1 個素材",
"input.button.label": "瀏覽檔案",
"input.label-bold": "拖曳",
"input.label-normal": "並上傳",
"input.placeholder": "選取一個素材或拖曳檔案到此區塊",
"input.url.description": "以跳行符號分隔連結",
"input.url.label": "連結",
"list.assets-empty.subtitle": "從開頭新增",
"list.assets-empty.title": "尚無任何素材",
"list.assets-empty.title-withSearch": "無素材符合此過濾條件",
"list.assets.selected.plural": "{number} 個素材被選取",
"list.assets.selected.singular": "{number} 個素材被選取",
"list.assets.type-not-allowed": "此檔案類型不合法",
"modal.file-details.date": "日期",
"modal.file-details.dimensions": "尺寸",
"modal.file-details.extension": "副檔名",
"modal.file-details.size": "大小",
"modal.header.browse": "上傳素材",
"modal.header.file-detail": "詳細資訊",
"modal.header.pending-assets": "素材上傳中",
"modal.header.select-files": "選取的檔案",
"modal.nav.browse": "瀏覽",
"modal.nav.computer": "從本機",
"modal.nav.selected": "已選取",
"modal.nav.url": "從連結",
"modal.selected-list.sub-header-subtitle": "於此欄位拖曳檔案排序清單",
"modal.upload-list.footer.button.plural": "上傳 {number} 個素材到媒體庫",
"modal.upload-list.footer.button.singular": "上傳 {number} 個素材到媒體庫",
"modal.upload-list.sub-header-subtitle": "上傳到媒體庫前管理你的素材",
"modal.upload-list.sub-header-title.plural": "{number} 個素材被選取",
"modal.upload-list.sub-header-title.singular": "{number} 個素材被選取",
"modal.upload-list.sub-header.button": "新增更多素材",
"plugin.description.long": "媒體檔案管理",
"plugin.description.short": "媒體檔案管理",
"plugin.name": "媒體庫",
"search.placeholder": "搜尋素材",
"settings.form.responsiveDimensions.description": "上傳的素材將會自動生成大,中,小三個響應式尺寸",
"settings.form.responsiveDimensions.label": "啟動上傳響應式圖片",
"settings.form.sizeOptimization.label": "啟動不失真圖片大小優化",
"settings.form.autoOrientation.label": "啟動自動旋轉功能",
"settings.form.autoOrientation.description": "根據 EXIF orientation 標籤自動旋轉圖片",
"settings.form.videoPreview.description": "自動生成六秒影片預覽(GIF)",
"settings.form.videoPreview.label": "預覽",
"settings.header.label": "媒體庫 - 設定",
"settings.section.image.label": "圖片",
"settings.section.video.label": "影片",
"settings.sub-header.label": "配置媒體庫設定",
"sort.created_at_asc": "最早的上傳",
"sort.created_at_desc": "最近的上傳",
"sort.label": "排序",
"sort.name_asc": "依字母排序 (A to Z)",
"sort.name_desc": "依字母倒序 (Z to A)",
"sort.updated_at_asc": "最早的更新",
"sort.updated_at_desc": "最近的更新",
"window.confirm.close-modal.file": "你確定嗎?所有的變更將會遺失",
"window.confirm.close-modal.files": "你確定嗎?仍有部份檔案尚未上傳"
}