From 97138f545eb0ef29e8022a517173988ff031950d Mon Sep 17 00:00:00 2001 From: wangyuting Date: Tue, 9 Sep 2025 08:58:24 +0800 Subject: [PATCH] * [task#149141,done,0.2h,0h] Adjust case stage lang. --- module/ai/lang/zh-cn.php | 2 +- module/bi/config/dataviews.php | 2 +- module/custom/lang/zh-cn.php | 2 +- module/testcase/lang/zh-cn.php | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/module/ai/lang/zh-cn.php b/module/ai/lang/zh-cn.php index 1342c2ea25..0689758362 100644 --- a/module/ai/lang/zh-cn.php +++ b/module/ai/lang/zh-cn.php @@ -843,7 +843,7 @@ $lang->ai->formSchema['testcase']['create']->properties->type->type $lang->ai->formSchema['testcase']['create']->properties->type->description = '用例的类型'; $lang->ai->formSchema['testcase']['create']->properties->type->enum = array('feature', 'performance', 'config', 'install', 'security', 'interface', 'unit', 'other'); $lang->ai->formSchema['testcase']['create']->properties->stage->type = 'string'; -$lang->ai->formSchema['testcase']['create']->properties->stage->description = '用例适用阶段'; +$lang->ai->formSchema['testcase']['create']->properties->stage->description = '用例适用环节'; $lang->ai->formSchema['testcase']['create']->properties->stage->enum = array('unittest', 'feature', 'intergrate', 'system', 'smoke', 'bvt'); $lang->ai->formSchema['testcase']['create']->properties->title->type = 'string'; $lang->ai->formSchema['testcase']['create']->properties->title->description = '用例的标题'; diff --git a/module/bi/config/dataviews.php b/module/bi/config/dataviews.php index 084df13f52..b479cd01b7 100644 --- a/module/bi/config/dataviews.php +++ b/module/bi/config/dataviews.php @@ -247,7 +247,7 @@ $testcasefields['id'] = array('name' => '用例编号', 'field' => $testcasefields['title'] = array('name' => '用例标题', 'field' => 'title', 'object' => 'testcase', 'type' => 'string'); $testcasefields['pri'] = array('name' => '优先级', 'field' => 'pri', 'object' => 'testcase', 'type' => 'option'); $testcasefields['type'] = array('name' => '用例类型', 'field' => 'type', 'object' => 'testcase', 'type' => 'option'); -$testcasefields['stage'] = array('name' => '适用阶段', 'field' => 'stage', 'object' => 'testcase', 'type' => 'option'); +$testcasefields['stage'] = array('name' => '适用环节', 'field' => 'stage', 'object' => 'testcase', 'type' => 'option'); $testcasefields['status'] = array('name' => '用例状态', 'field' => 'status', 'object' => 'testcase', 'type' => 'option'); $testcasefields['version'] = array('name' => '用例版本', 'field' => 'version', 'object' => 'testcase', 'type' => 'number'); $testcasefields['product_id'] = array('name' => '编号', 'field' => 'id', 'object' => 'product', 'type' => 'object'); diff --git a/module/custom/lang/zh-cn.php b/module/custom/lang/zh-cn.php index 51c63b7a3d..2773e16a69 100644 --- a/module/custom/lang/zh-cn.php +++ b/module/custom/lang/zh-cn.php @@ -162,7 +162,7 @@ $lang->custom->testcase = new stdClass(); $lang->custom->testcase->fields['required'] = $lang->custom->required; $lang->custom->testcase->fields['priList'] = '优先级'; $lang->custom->testcase->fields['typeList'] = '类型'; -$lang->custom->testcase->fields['stageList'] = '阶段'; +$lang->custom->testcase->fields['stageList'] = '环节'; $lang->custom->testcase->fields['resultList'] = '执行结果'; $lang->custom->testcase->fields['statusList'] = '状态'; $lang->custom->testcase->fields['review'] = '评审流程'; diff --git a/module/testcase/lang/zh-cn.php b/module/testcase/lang/zh-cn.php index 1cbbb4f3d2..39015fd0a7 100644 --- a/module/testcase/lang/zh-cn.php +++ b/module/testcase/lang/zh-cn.php @@ -50,7 +50,7 @@ $lang->testcase->unlinkCase = '移除相关用例'; $lang->testcase->linkBug = '相关Bug'; $lang->testcase->linkBugs = '关联相关Bug'; $lang->testcase->unlinkBug = '移除相关Bug'; -$lang->testcase->stage = '适用阶段'; +$lang->testcase->stage = '适用环节'; $lang->testcase->script = '自动化脚本'; $lang->testcase->scriptedBy = '脚本由谁创建'; $lang->testcase->scriptedDate = '脚本创建日期'; @@ -190,7 +190,7 @@ $lang->testcase->unexecuted = '未执行'; $lang->testcase->lblStory = "相关{$lang->SRCommon}"; $lang->testcase->lblLastEdited = '最后编辑'; $lang->testcase->lblTypeValue = '类型可选值列表'; -$lang->testcase->lblStageValue = '阶段可选值列表'; +$lang->testcase->lblStageValue = '环节可选值列表'; $lang->testcase->lblStatusValue = '状态可选值列表'; $lang->testcase->legendBasicInfo = '基本信息';