diff --git a/backend/framework/sdk/src/main/resources/i18n/plan.properties b/backend/framework/sdk/src/main/resources/i18n/plan.properties index a1ce8ef57c..3e3925c709 100644 --- a/backend/framework/sdk/src/main/resources/i18n/plan.properties +++ b/backend/framework/sdk/src/main/resources/i18n/plan.properties @@ -1,4 +1,5 @@ test_plan.test_plan=测试计划 +unplanned.plan=未规划计划 test_plan.test_plan_group=测试计划组 test_plan.id.not_blank=测试计划id不能为空 test_plan.project_id.length_range=测试计划所属项目id长度过长 diff --git a/backend/framework/sdk/src/main/resources/i18n/plan_en_US.properties b/backend/framework/sdk/src/main/resources/i18n/plan_en_US.properties index 0106877723..04e12d8f2a 100644 --- a/backend/framework/sdk/src/main/resources/i18n/plan_en_US.properties +++ b/backend/framework/sdk/src/main/resources/i18n/plan_en_US.properties @@ -1,4 +1,5 @@ test_plan.test_plan=Test plan +unplanned.plan=未规划计划 test_plan.test_plan_group=Test plan group test_plan.id.not_blank=Test plan id cannot be empty test_plan.project_id.length_range=Test plan project id length too long diff --git a/backend/framework/sdk/src/main/resources/i18n/plan_zh_CN.properties b/backend/framework/sdk/src/main/resources/i18n/plan_zh_CN.properties index f836a4cdc6..1129075122 100644 --- a/backend/framework/sdk/src/main/resources/i18n/plan_zh_CN.properties +++ b/backend/framework/sdk/src/main/resources/i18n/plan_zh_CN.properties @@ -1,4 +1,5 @@ test_plan.test_plan=测试计划 +unplanned.plan=Unplanned plan test_plan.test_plan_group=测试计划组 test_plan.id.not_blank=测试计划id不能为空 test_plan.project_id.length_range=测试计划所属项目id长度过长 diff --git a/backend/framework/sdk/src/main/resources/i18n/plan_zh_TW.properties b/backend/framework/sdk/src/main/resources/i18n/plan_zh_TW.properties index 4bee61c2a5..370b78f820 100644 --- a/backend/framework/sdk/src/main/resources/i18n/plan_zh_TW.properties +++ b/backend/framework/sdk/src/main/resources/i18n/plan_zh_TW.properties @@ -1,4 +1,5 @@ test_plan.test_plan=測試計劃 +unplanned.plan=未規劃計劃 test_plan.test_plan_group=測試計劃組 test_plan.id.not_blank=測試計劃id不能為空 test_plan.project_id.length_range=測試計劃所屬項目id長度過長 diff --git a/backend/services/test-plan/src/main/java/io/metersphere/plan/service/TestPlanModuleService.java b/backend/services/test-plan/src/main/java/io/metersphere/plan/service/TestPlanModuleService.java index 532adb29f1..2d06040af3 100644 --- a/backend/services/test-plan/src/main/java/io/metersphere/plan/service/TestPlanModuleService.java +++ b/backend/services/test-plan/src/main/java/io/metersphere/plan/service/TestPlanModuleService.java @@ -47,7 +47,7 @@ public class TestPlanModuleService extends ModuleTreeService { public List getTree(String projectId) { List fileModuleList = extTestPlanModuleMapper.selectBaseByProjectId(projectId); - return super.buildTreeAndCountResource(fileModuleList, true, Translator.get("default.module")); + return super.buildTreeAndCountResource(fileModuleList, true, Translator.get("unplanned.plan")); } public List getTreeOnlyIdsAndResourceCount(String projectId, List moduleCountDTOList) {