From 6a481b5af2bddf8d2028d1524b50adc331eafe32 Mon Sep 17 00:00:00 2001 From: WangXu10 Date: Fri, 29 Mar 2024 13:38:16 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E4=B8=AA=E4=BA=BA=E4=B8=AD=E5=BF=83):=20AP?= =?UTF-8?q?IKEY=E5=AD=97=E4=BD=93=E5=92=8C=E7=94=A8=E6=88=B7=E7=BB=84?= =?UTF-8?q?=E9=87=8C=E9=9D=A2=E7=9A=84Api=20Keys=E4=B8=8D=E4=B8=80?= =?UTF-8?q?=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1037349 --user=王旭 【个人中心】APIKEY 字体和用户组里面的Api Keys 不一致 https://www.tapd.cn/55049933/s/1483681 --- .../framework/sdk/src/main/resources/i18n/system.properties | 2 +- .../sdk/src/main/resources/i18n/system_en_US.properties | 2 +- .../sdk/src/main/resources/i18n/system_zh_CN.properties | 2 +- .../sdk/src/main/resources/i18n/system_zh_TW.properties | 2 +- .../system-setting/src/main/resources/permission.json | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/backend/framework/sdk/src/main/resources/i18n/system.properties b/backend/framework/sdk/src/main/resources/i18n/system.properties index dffd202b41..c9c01253d7 100644 --- a/backend/framework/sdk/src/main/resources/i18n/system.properties +++ b/backend/framework/sdk/src/main/resources/i18n/system.properties @@ -258,7 +258,7 @@ permission.organization_task_center.stop=停止 permission.personal_settings=个人设置 permission.my_settings_personal_info=个人信息 permission.my_settings=我的设置 -permission.api_keys=Api Keys +permission.api_key=APIKEY permission.organization_project.recover=撤销删除 permission.organization_member.add=添加 permission.organization_member.update=编辑 diff --git a/backend/framework/sdk/src/main/resources/i18n/system_en_US.properties b/backend/framework/sdk/src/main/resources/i18n/system_en_US.properties index a948d83710..16895b38b1 100644 --- a/backend/framework/sdk/src/main/resources/i18n/system_en_US.properties +++ b/backend/framework/sdk/src/main/resources/i18n/system_en_US.properties @@ -272,7 +272,7 @@ permission.system_organization_template.enable=Enable project templates permission.personal_settings=Personal settings permission.my_settings=My settings permission.my_settings_personal_info=Personal information -permission.api_keys=Api Keys +permission.api_key=APIKEY permission.organization_project.recover=Recover permission.organization_member.add=Add permission.organization_member.update=Update diff --git a/backend/framework/sdk/src/main/resources/i18n/system_zh_CN.properties b/backend/framework/sdk/src/main/resources/i18n/system_zh_CN.properties index 9fae99787a..fa424adde4 100644 --- a/backend/framework/sdk/src/main/resources/i18n/system_zh_CN.properties +++ b/backend/framework/sdk/src/main/resources/i18n/system_zh_CN.properties @@ -259,7 +259,7 @@ permission.system_operation_log.name=日志 permission.organization_operation_log.name=日志 permission.personal_settings=个人设置 permission.my_settings=我的设置 -permission.api_keys=Api Keys +permission.api_key=APIKEY permission.my_settings_personal_info=个人信息 permission.organization_project.recover=撤销删除 permission.organization_member.add=添加 diff --git a/backend/framework/sdk/src/main/resources/i18n/system_zh_TW.properties b/backend/framework/sdk/src/main/resources/i18n/system_zh_TW.properties index 2d22eafac5..a26599afbd 100644 --- a/backend/framework/sdk/src/main/resources/i18n/system_zh_TW.properties +++ b/backend/framework/sdk/src/main/resources/i18n/system_zh_TW.properties @@ -258,7 +258,7 @@ permission.system_operation_log.name=日志 permission.organization_operation_log.name=日志 permission.personal_settings=個人設置 permission.my_settings=我的設置 -permission.api_keys=Api Keys +permission.api_key=APIKEY permission.my_settings_personal_info=個人信息 permission.organization_project.recover=撤銷刪除 permission.organization_member.add=添加 diff --git a/backend/services/system-setting/src/main/resources/permission.json b/backend/services/system-setting/src/main/resources/permission.json index dce63cc440..4548d2c1ca 100644 --- a/backend/services/system-setting/src/main/resources/permission.json +++ b/backend/services/system-setting/src/main/resources/permission.json @@ -332,8 +332,8 @@ "type": "SYSTEM", "children": [ { - "id": "API_KEYS", - "name": "permission.api_keys", + "id": "API_KEY", + "name": "permission.api_key", "permissions": [ { "id": "SYSTEM_PERSONAL_API_KEY:READ"