From 61c0f945385f149bb4fd373277fc858f953dcaa0 Mon Sep 17 00:00:00 2001
From: maggieyyy <61950669+maggieyyy@users.noreply.github.com>
Date: Fri, 23 Aug 2024 18:16:48 +0800
Subject: [PATCH] fix: i18n bugs
---
.../src/components/aoplatform/BasicLayout.tsx | 2 +-
.../src/components/aoplatform/InsidePage.tsx | 2 +-
.../src/components/aoplatform/PageList.tsx | 6 +-
.../SubscribeApprovalModalContent.tsx | 2 +-
.../aoplatform/TableBtnWithPermission.tsx | 2 +-
.../aoplatform/UnUsedWordForTranslate.tsx | 14 +-
.../IntelligentPluginList.tsx | 8 +-
frontend/packages/common/src/const/const.tsx | 2 +-
.../common/src/locales/scan/en-GB.json | 603 ++++++++++++++++-
.../src/locales/scan/newJson/en-GB.json | 612 +-----------------
.../src/locales/scan/newJson/zh-CN.json | 612 +-----------------
.../packages/core/src/const/member/const.tsx | 16 +-
.../core/src/const/partitions/const.tsx | 52 +-
.../packages/core/src/const/role/const.tsx | 3 +-
.../packages/core/src/const/system/const.tsx | 297 ++++-----
.../packages/core/src/const/team/const.tsx | 43 +-
.../packages/core/src/const/user/const.tsx | 10 +-
frontend/packages/core/src/pages/Login.tsx | 2 +-
.../core/src/pages/approval/ApprovalList.tsx | 6 +-
.../core/src/pages/approval/ApprovalPage.tsx | 19 +-
.../packages/core/src/pages/guide/Guide.tsx | 3 +-
.../src/pages/logsettings/LogSettings.tsx | 34 +-
.../core/src/pages/member/MemberList.tsx | 10 +-
.../core/src/pages/member/MemberPage.tsx | 2 +-
.../pages/partitions/PartitionInsideCert.tsx | 7 +-
.../resourcesettings/ResourceSettings.tsx | 35 +-
.../packages/core/src/pages/role/RoleList.tsx | 10 +-
.../src/pages/system/SystemInsidePage.tsx | 34 +-
.../pages/system/SystemInsideSubscriber.tsx | 6 +-
.../core/src/pages/system/SystemList.tsx | 6 +-
.../pages/system/api/SystemInsideApiList.tsx | 6 +-
.../approval/SystemInsideApprovalList.tsx | 6 +-
.../publish/SystemInsidePublishList.tsx | 6 +-
.../core/src/pages/team/TeamInsideMember.tsx | 9 +-
.../core/src/pages/team/TeamInsidePage.tsx | 15 +-
.../packages/core/src/pages/team/TeamList.tsx | 6 +-
.../src/pages/userProfile/UserProfile.tsx | 8 +-
.../src/component/MonitorLineGraph.tsx | 21 +-
.../src/component/MonitorPieGraph.tsx | 15 +-
.../src/component/MonitorTotalPage.tsx | 6 +-
.../packages/dashboard/src/const/const.tsx | 3 +-
.../market/src/const/serviceHub/const.tsx | 20 +-
.../serviceHub/ServiceHubApiDocument.tsx | 2 +-
.../management/ApprovalModalContent.tsx | 2 +-
.../management/ManagementAuthorityView.tsx | 3 +-
.../management/ManagementInsidePage.tsx | 10 +-
46 files changed, 1049 insertions(+), 1549 deletions(-)
diff --git a/frontend/packages/common/src/components/aoplatform/BasicLayout.tsx b/frontend/packages/common/src/components/aoplatform/BasicLayout.tsx
index 2e5ff29d..cf17e1f1 100644
--- a/frontend/packages/common/src/components/aoplatform/BasicLayout.tsx
+++ b/frontend/packages/common/src/components/aoplatform/BasicLayout.tsx
@@ -156,7 +156,7 @@ const themeToken = {
if(code === STATUS_CODE.SUCCESS){
dispatch({type:'LOGOUT'})
resetAccess()
- message.success(msg || RESPONSE_TIPS.logoutSuccess)
+ // message.success(msg || RESPONSE_TIPS.logoutSuccess)
navigate('/login')
}else{
message.error(msg ||RESPONSE_TIPS.error)
diff --git a/frontend/packages/common/src/components/aoplatform/InsidePage.tsx b/frontend/packages/common/src/components/aoplatform/InsidePage.tsx
index af44813e..d394f6d6 100644
--- a/frontend/packages/common/src/components/aoplatform/InsidePage.tsx
+++ b/frontend/packages/common/src/components/aoplatform/InsidePage.tsx
@@ -56,7 +56,7 @@ const InsidePage:FC