From 900ab83a94b7e87107704ef075e4d20a4955fb3d Mon Sep 17 00:00:00 2001 From: liugang Date: Tue, 13 Jun 2023 17:10:18 +0800 Subject: [PATCH] * testcaseLang: change showAutoCase to automated. --- module/testcase/lang/de.php | 2 +- module/testcase/lang/en.php | 2 +- module/testcase/lang/fr.php | 2 +- module/testcase/lang/vi.php | 2 +- module/testcase/lang/zh-cn.php | 2 +- module/testcase/lang/zh-tw.php | 2 +- module/testcase/ui/create.html.php | 4 ++-- module/testcase/view/caseheader.html.php | 2 +- module/testcase/view/create.html.php | 2 +- module/testcase/view/edit.html.php | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/module/testcase/lang/de.php b/module/testcase/lang/de.php index 72d77a02d6..3af89f0c4a 100644 --- a/module/testcase/lang/de.php +++ b/module/testcase/lang/de.php @@ -100,7 +100,7 @@ $lang->testcase->suite = 'Test Suite'; $lang->testcase->executionStatus = 'executionStatus'; $lang->testcase->caseType = 'Case Type'; $lang->testcase->allType = 'All Types'; -$lang->testcase->showAutoCase = 'Automated'; +$lang->testcase->automated = 'Automated'; $lang->testcase->automation = 'Automation Test'; $lang->case = $lang->testcase; // For dao checking using. Because 'case' is a php keywords, so the module name is testcase, table name is still case. diff --git a/module/testcase/lang/en.php b/module/testcase/lang/en.php index 4ff75aa9a9..00ea45a00d 100644 --- a/module/testcase/lang/en.php +++ b/module/testcase/lang/en.php @@ -100,7 +100,7 @@ $lang->testcase->suite = 'Test Suite'; $lang->testcase->executionStatus = 'executionStatus'; $lang->testcase->caseType = 'Case Type'; $lang->testcase->allType = 'All Types'; -$lang->testcase->showAutoCase = 'Automated'; +$lang->testcase->automated = 'Automated'; $lang->testcase->automation = 'Automation Test'; $lang->case = $lang->testcase; // For dao checking using. Because 'case' is a php keywords, so the module name is testcase, table name is still case. diff --git a/module/testcase/lang/fr.php b/module/testcase/lang/fr.php index 9863bd4aa8..37142cc5e3 100644 --- a/module/testcase/lang/fr.php +++ b/module/testcase/lang/fr.php @@ -100,7 +100,7 @@ $lang->testcase->suite = 'Test Suite'; $lang->testcase->executionStatus = 'executionStatus'; $lang->testcase->caseType = 'Case Type'; $lang->testcase->allType = 'All Types'; -$lang->testcase->showAutoCase = 'Automated'; +$lang->testcase->automated = 'Automated'; $lang->testcase->automation = 'Automation Test'; $lang->case = $lang->testcase; // For dao checking using. Because 'case' is a php keywords, so the module name is testcase, table name is still case. diff --git a/module/testcase/lang/vi.php b/module/testcase/lang/vi.php index ede3151909..ca9d2bcb7e 100644 --- a/module/testcase/lang/vi.php +++ b/module/testcase/lang/vi.php @@ -100,7 +100,7 @@ $lang->testcase->suite = 'Test Suite'; $lang->testcase->executionStatus = 'executionStatus'; $lang->testcase->caseType = 'Case Type'; $lang->testcase->allType = 'All Types'; -$lang->testcase->showAutoCase = 'Automated'; +$lang->testcase->automated = 'Automated'; $lang->testcase->automation = 'Automation Test'; $lang->case = $lang->testcase; // For dao checking using. Because 'case' is a php keywords, so the module name is testcase, table name is still case. diff --git a/module/testcase/lang/zh-cn.php b/module/testcase/lang/zh-cn.php index 8c6cc52727..6b9bce2d4d 100644 --- a/module/testcase/lang/zh-cn.php +++ b/module/testcase/lang/zh-cn.php @@ -100,7 +100,7 @@ $lang->testcase->suite = '套件'; $lang->testcase->executionStatus = '执行状态'; $lang->testcase->caseType = '用例类型'; $lang->testcase->allType = '所有类型'; -$lang->testcase->showAutoCase = '自动化'; +$lang->testcase->automated = '自动化'; $lang->testcase->automation = '自动化设置'; $lang->case = $lang->testcase; // 用于DAO检查时使用。因为case是系统关键字,所以无法定义该模块为case,只能使用testcase,但表还是使用的case。 diff --git a/module/testcase/lang/zh-tw.php b/module/testcase/lang/zh-tw.php index 12af06af92..75b9619a0b 100644 --- a/module/testcase/lang/zh-tw.php +++ b/module/testcase/lang/zh-tw.php @@ -100,7 +100,7 @@ $lang->testcase->suite = '套件'; $lang->testcase->executionStatus = '执行状态'; $lang->testcase->caseType = '用例类型'; $lang->testcase->allType = '所有类型'; -$lang->testcase->showAutoCase = '自动化'; +$lang->testcase->automated = '自动化'; $lang->testcase->automation = '自动化设置'; $lang->case = $lang->testcase; // 用於DAO檢查時使用。因為case是系統關鍵字,所以無法定義該模組為case,只能使用testcase,但表還是使用的case。 diff --git a/module/testcase/ui/create.html.php b/module/testcase/ui/create.html.php index a57f6dd8db..44a556b503 100644 --- a/module/testcase/ui/create.html.php +++ b/module/testcase/ui/create.html.php @@ -118,7 +118,7 @@ formPanel checkbox ( set::name('auto'), - set::text($lang->testcase->showAutoCase), + set::text($lang->testcase->automated), ) ) ) @@ -270,7 +270,7 @@ function printStepsTable() checkbox ( set::name("stepType[$i]"), - set::text($lang->testcase->showAutoCase), + set::text($lang->testcase->automated), ) ) ) diff --git a/module/testcase/view/caseheader.html.php b/module/testcase/view/caseheader.html.php index 4a7d8525c9..fbb03543c1 100644 --- a/module/testcase/view/caseheader.html.php +++ b/module/testcase/view/caseheader.html.php @@ -142,7 +142,7 @@ if($this->moduleName == 'story' and $this->methodName == 'zerocase') continue; if($browseType == 'bysuite' or $browseType == 'bysearch') continue; - echo html::checkbox('showAutoCase', array('1' => $lang->testcase->showAutoCase), '', $this->cookie->showAutoCase ? 'checked=checked' : ''); + echo html::checkbox('showAutoCase', array('1' => $lang->testcase->automated), '', $this->cookie->showAutoCase ? 'checked=checked' : ''); } elseif($hasBrowsePriv and ($menuType == 'all' or $menuType == 'needconfirm' or $menuType == 'wait')) { diff --git a/module/testcase/view/create.html.php b/module/testcase/view/create.html.php index 6db5f14614..4a61a00ecc 100644 --- a/module/testcase/view/create.html.php +++ b/module/testcase/view/create.html.php @@ -73,7 +73,7 @@ foreach(explode(',', $config->testcase->create->requiredFields) as $field) testcase->typeList, $type, "class='form-control chosen'");?>
- $lang->testcase->showAutoCase), $auto, "id='autocase' title='{$lang->testcase->showAutoCase}'");?> + $lang->testcase->automated), $auto, "id='autocase' title='{$lang->testcase->automated}'");?>
diff --git a/module/testcase/view/edit.html.php b/module/testcase/view/edit.html.php index 842f257a06..227b86cacd 100644 --- a/module/testcase/view/edit.html.php +++ b/module/testcase/view/edit.html.php @@ -225,7 +225,7 @@ testcase->typeList, $case->type, "class='form-control chosen'");?>
- $lang->testcase->showAutoCase), $case->auto, "id='autocase' title='{$lang->testcase->showAutoCase}'");?> + $lang->testcase->automated), $case->auto, "id='autocase' title='{$lang->testcase->automated}'");?>