diff --git a/module/custom/control.php b/module/custom/control.php index 88af46aca5..e057255657 100644 --- a/module/custom/control.php +++ b/module/custom/control.php @@ -124,6 +124,7 @@ class custom extends control { foreach($postArray->data->keys as $key) { + if($module == 'testtask' and $field == 'typeList' and empty($key)) continue; if(in_array($key, $keys)) return $this->send(array('result' => 'fail', 'message' => sprintf($this->lang->custom->notice->repeatKey, $key)));; $keys[] = $key; } diff --git a/module/custom/lang/fr.php b/module/custom/lang/fr.php index 21b9ca8e22..511446f33d 100644 --- a/module/custom/lang/fr.php +++ b/module/custom/lang/fr.php @@ -166,7 +166,7 @@ $lang->custom->testcase->fields['review'] = 'Validation Requise'; $lang->custom->testtask = new stdClass(); $lang->custom->testtask->fields['statusList'] = 'Statut'; -$lang->custom->testtask->fields['typeList'] = 'Type'; +$lang->custom->testtask->fields['typeList'] = 'Type de test'; $lang->custom->testtask->fields['priList'] = 'Priorité'; $lang->custom->todo = new stdClass(); diff --git a/module/testtask/lang/de.php b/module/testtask/lang/de.php index 54d304cf8b..fe7c4de915 100644 --- a/module/testtask/lang/de.php +++ b/module/testtask/lang/de.php @@ -206,6 +206,7 @@ $lang->testtask->unitTag['lastWeek'] = 'Last week'; $lang->testtask->unitTag['thisMonth'] = 'This month'; $lang->testtask->unitTag['lastMonth'] = 'Last month'; +$lang->testtask->typeList[''] = ''; $lang->testtask->typeList['integrate'] = 'Integrate'; $lang->testtask->typeList['system'] = 'System'; $lang->testtask->typeList['acceptance'] = 'Acceptance'; diff --git a/module/testtask/lang/en.php b/module/testtask/lang/en.php index 155b847a7e..930ddc8082 100644 --- a/module/testtask/lang/en.php +++ b/module/testtask/lang/en.php @@ -206,6 +206,7 @@ $lang->testtask->unitTag['lastWeek'] = 'Last week'; $lang->testtask->unitTag['thisMonth'] = 'This month'; $lang->testtask->unitTag['lastMonth'] = 'Last month'; +$lang->testtask->typeList[''] = ''; $lang->testtask->typeList['integrate'] = 'Integration'; $lang->testtask->typeList['system'] = 'System'; $lang->testtask->typeList['acceptance'] = 'Acceptance'; diff --git a/module/testtask/lang/fr.php b/module/testtask/lang/fr.php index 4d45d59966..278d63031d 100644 --- a/module/testtask/lang/fr.php +++ b/module/testtask/lang/fr.php @@ -206,6 +206,7 @@ $lang->testtask->unitTag['lastWeek'] = 'Last week'; $lang->testtask->unitTag['thisMonth'] = 'This month'; $lang->testtask->unitTag['lastMonth'] = 'Last month'; +$lang->testtask->typeList[''] = ''; $lang->testtask->typeList['integrate'] = 'Integrate'; $lang->testtask->typeList['system'] = 'System'; $lang->testtask->typeList['acceptance'] = 'Acceptance'; diff --git a/module/testtask/lang/zh-cn.php b/module/testtask/lang/zh-cn.php index 4739aa7e43..190fbe6846 100644 --- a/module/testtask/lang/zh-cn.php +++ b/module/testtask/lang/zh-cn.php @@ -206,6 +206,7 @@ $lang->testtask->unitTag['lastWeek'] = '上周'; $lang->testtask->unitTag['thisMonth'] = '本月'; $lang->testtask->unitTag['lastMonth'] = '上月'; +$lang->testtask->typeList[''] = ''; $lang->testtask->typeList['integrate'] = '集成测试'; $lang->testtask->typeList['system'] = '系统测试'; $lang->testtask->typeList['acceptance'] = '验收测试';