diff --git a/module/bug/lang/zh-cn.php b/module/bug/lang/zh-cn.php index 3849b87d5d..f84aaa784f 100644 --- a/module/bug/lang/zh-cn.php +++ b/module/bug/lang/zh-cn.php @@ -157,7 +157,7 @@ $lang->bug->buttonCreateTestcase = '转用例'; /* 交互提示。*/ $lang->bug->confirmChangeProduct = '修改产品会导致相应的项目、需求和任务发生变化,确定吗?'; $lang->bug->confirmDelete = '您确认要删除该Bug吗?'; -$lang->bug->setTemplateTitle = '请输入bug模板标题(保存之前请先填写bug重现步骤):'; +$lang->bug->setTemplateTitle = '请输入bug模板标题'; $lang->bug->remindTask = '该Bug已经转化为任务,是否更新任务(编号:%s)状态 ?'; $lang->bug->skipClose = 'Bug %s 不是已解决状态,不能关闭。'; $lang->bug->applyTemplate = '应用模版'; diff --git a/module/testcase/control.php b/module/testcase/control.php index 59b77652d1..38abdbc71a 100644 --- a/module/testcase/control.php +++ b/module/testcase/control.php @@ -377,7 +377,7 @@ class testcase extends control $position[] = $this->lang->testcase->batchCreate; $story = $storyID ? $this->story->getByID($storyID) : ''; - $storyList = $storyID ? array($storyID => $story->id . ':' . $story->title . '(' . $this->lang->story->pri . ':' . $story->pri . ',' . $this->lang->story->estimate . ':' . $story->estimate . ')') : array(); + $storyList = $storyID ? array($storyID => $story->id . ':' . $story->title . '(' . $this->lang->story->pri . ':' . $story->pri . ',' . $this->lang->story->estimate . ':' . $story->estimate . ')') : array(''); $this->view->title = $title; $this->view->position = $position; diff --git a/module/testcase/view/batchcreate.html.php b/module/testcase/view/batchcreate.html.php index 827934f6c5..9a3ff63979 100644 --- a/module/testcase/view/batchcreate.html.php +++ b/module/testcase/view/batchcreate.html.php @@ -44,7 +44,7 @@ testcase->typeList, $type, "class=form-control");?> - id, 'class="form-control chosen"');?> + id : '', 'class="form-control chosen"');?>