diff --git a/frontend/src/locale/en-US/index.ts b/frontend/src/locale/en-US/index.ts index 779d91fc2e..1c4b8bf89e 100644 --- a/frontend/src/locale/en-US/index.ts +++ b/frontend/src/locale/en-US/index.ts @@ -54,6 +54,7 @@ export default { 'menu.caseManagement.featureCaseEdit': 'Update Case', 'menu.caseManagement.featureCaseCreateSuccess': 'Create Success', 'menu.caseManagement.caseManagementReview': 'Feature Case Review', + 'menu.caseManagement.caseManagementReviewShort': 'Review', 'menu.caseManagement.caseManagementReviewCreate': 'Create Review', 'menu.caseManagement.caseManagementReviewDetail': 'Review Detail', 'menu.caseManagement.caseManagementReviewDetailCaseDetail': 'Review Case Detail', diff --git a/frontend/src/locale/zh-CN/index.ts b/frontend/src/locale/zh-CN/index.ts index 1ba1481fd1..77349fde68 100644 --- a/frontend/src/locale/zh-CN/index.ts +++ b/frontend/src/locale/zh-CN/index.ts @@ -62,6 +62,7 @@ export default { 'menu.caseManagement.featureCaseEdit': '更新用例', 'menu.caseManagement.featureCaseCreateSuccess': '创建用例成功', 'menu.caseManagement.caseManagementReview': '用例评审', + 'menu.caseManagement.caseManagementReviewShort': '评审', 'menu.caseManagement.caseManagementReviewCreate': '创建评审', 'menu.caseManagement.caseManagementReviewDetail': '评审详情', 'menu.caseManagement.caseManagementReviewDetailCaseDetail': '评审用例详情', diff --git a/frontend/src/router/routes/modules/caseManagement.ts b/frontend/src/router/routes/modules/caseManagement.ts index 78ee9de92e..408617ec1a 100644 --- a/frontend/src/router/routes/modules/caseManagement.ts +++ b/frontend/src/router/routes/modules/caseManagement.ts @@ -23,7 +23,7 @@ const CaseManagement: AppRouteRecordRaw = { name: CaseManagementRouteEnum.CASE_MANAGEMENT_CASE, component: () => import('@/views/case-management/caseManagementFeature/index.vue'), meta: { - locale: 'menu.caseManagement.featureCase', + locale: 'menu.caseManagementShort', roles: ['FUNCTIONAL_CASE:READ'], isTopMenu: true, }, @@ -86,7 +86,7 @@ const CaseManagement: AppRouteRecordRaw = { name: CaseManagementRouteEnum.CASE_MANAGEMENT_REVIEW, component: () => import('@/views/case-management/caseReview/index.vue'), meta: { - locale: 'menu.caseManagement.caseManagementReview', + locale: 'menu.caseManagement.caseManagementReviewShort', roles: ['CASE_REVIEW:READ'], isTopMenu: true, }, diff --git a/frontend/src/router/routes/modules/testPlan.ts b/frontend/src/router/routes/modules/testPlan.ts index f7bf089bc7..74815e6c3a 100644 --- a/frontend/src/router/routes/modules/testPlan.ts +++ b/frontend/src/router/routes/modules/testPlan.ts @@ -23,7 +23,7 @@ const TestPlan: AppRouteRecordRaw = { name: TestPlanRouteEnum.TEST_PLAN_INDEX, component: () => import('@/views/test-plan/testPlan/index.vue'), meta: { - locale: 'menu.testPlan', + locale: 'menu.testPlanShort', roles: ['PROJECT_TEST_PLAN:READ'], isTopMenu: true, },