From c9d1bba66281babdd95df440c83efd9d33ecf753 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Fri, 15 Mar 2024 14:46:48 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=B3=BB=E7=BB=9F=E8=AE=BE=E7=BD=AE):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9D=83=E9=99=90=E4=B8=8E=E9=9C=80=E6=B1=82?= =?UTF-8?q?=E4=B8=8D=E4=B8=80=E8=87=B4=E7=9A=84=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sdk/src/main/resources/i18n/commons.properties | 3 ++- .../sdk/src/main/resources/i18n/commons_en_US.properties | 3 ++- .../sdk/src/main/resources/i18n/commons_zh_CN.properties | 5 +++-- .../sdk/src/main/resources/i18n/commons_zh_TW.properties | 5 +++-- .../system-setting/src/main/resources/permission.json | 6 ++---- 5 files changed, 12 insertions(+), 10 deletions(-) diff --git a/backend/framework/sdk/src/main/resources/i18n/commons.properties b/backend/framework/sdk/src/main/resources/i18n/commons.properties index 2267888471..a37eaf623e 100644 --- a/backend/framework/sdk/src/main/resources/i18n/commons.properties +++ b/backend/framework/sdk/src/main/resources/i18n/commons.properties @@ -447,7 +447,7 @@ permission.org.name=组织 permission.project.name=项目 permission.read=查询 permission.add=创建 -permission.edit=修改 +permission.edit=编辑 permission.delete=删除 permission.import=导入 permission.recover=恢复 @@ -455,6 +455,7 @@ permission.export=导出 permission.execute=执行 permission.debug=调试 permission.api_definition.delete_and_recover=删除/恢复 +permission.service_integration.reset=重置 file_name_illegal_error=文件名不合法 plugin_enable_error=插件未启用 diff --git a/backend/framework/sdk/src/main/resources/i18n/commons_en_US.properties b/backend/framework/sdk/src/main/resources/i18n/commons_en_US.properties index 77e7aff155..9eff5581a4 100644 --- a/backend/framework/sdk/src/main/resources/i18n/commons_en_US.properties +++ b/backend/framework/sdk/src/main/resources/i18n/commons_en_US.properties @@ -559,4 +559,5 @@ api_import_schedule=API import schedule project.description.length_range=The description must be between {min} and {max} characters api_test_environment_datasource_connect_failed=Data source connection failed -permission.api_definition.delete_and_recover=Delete/Recover \ No newline at end of file +permission.api_definition.delete_and_recover=Delete/Recover +permission.service_integration.reset=Reset \ No newline at end of file diff --git a/backend/framework/sdk/src/main/resources/i18n/commons_zh_CN.properties b/backend/framework/sdk/src/main/resources/i18n/commons_zh_CN.properties index ca08383c4e..414bb22dd7 100644 --- a/backend/framework/sdk/src/main/resources/i18n/commons_zh_CN.properties +++ b/backend/framework/sdk/src/main/resources/i18n/commons_zh_CN.properties @@ -453,7 +453,7 @@ permission.org.name=组织 permission.project.name=项目 permission.read=查询 permission.add=创建 -permission.edit=修改 +permission.edit=编辑 permission.delete=删除 permission.import=导入 permission.recover=恢复 @@ -556,4 +556,5 @@ api_import_schedule=接口定义-定时导入任务 project.description.length_range=项目描述长度必须在{min}和{max}之间 api_test_environment_datasource_connect_failed=数据源连接失败 -permission.api_definition.delete_and_recover=删除/恢复 \ No newline at end of file +permission.api_definition.delete_and_recover=删除/恢复 +permission.service_integration.reset=重置 \ No newline at end of file diff --git a/backend/framework/sdk/src/main/resources/i18n/commons_zh_TW.properties b/backend/framework/sdk/src/main/resources/i18n/commons_zh_TW.properties index c7436406e0..6b78acf90a 100644 --- a/backend/framework/sdk/src/main/resources/i18n/commons_zh_TW.properties +++ b/backend/framework/sdk/src/main/resources/i18n/commons_zh_TW.properties @@ -451,7 +451,7 @@ permission.org.name=組織 permission.project.name=項目 permission.read=查詢 permission.add=創建 -permission.edit=修改 +permission.edit=编辑 permission.delete=刪除 permission.import=導入 permission.recover=恢復 @@ -556,4 +556,5 @@ api_import_schedule=接口導入定時任務 project.description.length_range=項目描述長度必須在{min}和{max}之間 -permission.api_definition.delete_and_recover=刪除/恢復 \ No newline at end of file +permission.api_definition.delete_and_recover=刪除/恢復 +permission.service_integration.reset=重置 \ No newline at end of file diff --git a/backend/services/system-setting/src/main/resources/permission.json b/backend/services/system-setting/src/main/resources/permission.json index b219d63ed5..dce63cc440 100644 --- a/backend/services/system-setting/src/main/resources/permission.json +++ b/backend/services/system-setting/src/main/resources/permission.json @@ -241,14 +241,12 @@ { "id": "SYSTEM_SERVICE_INTEGRATION:READ" }, - { - "id": "SYSTEM_SERVICE_INTEGRATION:READ+ADD" - }, { "id": "SYSTEM_SERVICE_INTEGRATION:READ+UPDATE" }, { - "id": "SYSTEM_SERVICE_INTEGRATION:READ+DELETE" + "id": "SYSTEM_SERVICE_INTEGRATION:READ+DELETE", + "name": "permission.service_integration.reset" } ] },