From bc9260ac52f8e2217395e767e0e650beef15b255 Mon Sep 17 00:00:00 2001 From: chenos Date: Mon, 4 Mar 2024 23:33:19 +0800 Subject: [PATCH] chore: improve translation --- packages/core/client/src/locale/en_US.json | 5 ++++- packages/core/client/src/locale/zh-CN.json | 5 ++++- .../plugins/@nocobase/plugin-api-keys/docs/en-US/index.md | 2 +- .../src/client/components/CustomRequestActionDesigner.tsx | 2 +- .../@nocobase/plugin-custom-request/src/locale/ko_KR.json | 2 +- .../@nocobase/plugin-custom-request/src/locale/zh-CN.json | 2 +- 6 files changed, 12 insertions(+), 6 deletions(-) diff --git a/packages/core/client/src/locale/en_US.json b/packages/core/client/src/locale/en_US.json index a014e6435..f9e39fb4f 100644 --- a/packages/core/client/src/locale/en_US.json +++ b/packages/core/client/src/locale/en_US.json @@ -803,5 +803,8 @@ "Main department": "Main department", "Department name": "Department name", "Superior department": "Superior department", - "Owners": "Owners" + "Owners": "Owners", + "Plugin settings": "Plugin settings", + "Menu": "Menu", + "Drag and drop sorting field": "Drag and drop sorting field" } diff --git a/packages/core/client/src/locale/zh-CN.json b/packages/core/client/src/locale/zh-CN.json index 298d75b3c..0c7bb8cba 100644 --- a/packages/core/client/src/locale/zh-CN.json +++ b/packages/core/client/src/locale/zh-CN.json @@ -888,5 +888,8 @@ "Main department": "主属部门", "Department name": "部门名称", "Superior department": "上级部门", - "Owners": "负责人" + "Owners": "负责人", + "Plugin settings": "插件设置", + "Menu": "菜单", + "Drag and drop sorting field": "拖拽排序字段" } diff --git a/packages/plugins/@nocobase/plugin-api-keys/docs/en-US/index.md b/packages/plugins/@nocobase/plugin-api-keys/docs/en-US/index.md index c2df98d0c..cfdea1e40 100644 --- a/packages/plugins/@nocobase/plugin-api-keys/docs/en-US/index.md +++ b/packages/plugins/@nocobase/plugin-api-keys/docs/en-US/index.md @@ -4,6 +4,6 @@ This plugin allows you to create and manage API keys. The generated API key can be used to access all `NocoBase` APIs. -## Access Control +## Access control When creating an API key, you can bind it to a role, and the role's permissions will be the same as the Key's permissions. diff --git a/packages/plugins/@nocobase/plugin-custom-request/src/client/components/CustomRequestActionDesigner.tsx b/packages/plugins/@nocobase/plugin-custom-request/src/client/components/CustomRequestActionDesigner.tsx index e0c487b92..c0d24954b 100644 --- a/packages/plugins/@nocobase/plugin-custom-request/src/client/components/CustomRequestActionDesigner.tsx +++ b/packages/plugins/@nocobase/plugin-custom-request/src/client/components/CustomRequestActionDesigner.tsx @@ -76,7 +76,7 @@ export function CustomRequestACL() { return ( <>