总任务 %s : project->wbs = "分解任务";
$lang->project->batchWBS = "批量分解";
$lang->project->howToUpdateBurn = "帮助 ";
-$lang->project->whyNoStories = "看起来没有{$lang->productSRCommon}可以关联。请检查下{$lang->projectCommon}关联的{$lang->productCommon}中有没有{$lang->productSRCommon},而且要确保它们已经审核通过。";
-$lang->project->productStories = "{$lang->projectCommon}关联的{$lang->productSRCommon}是{$lang->productCommon}{$lang->productSRCommon}的子集,并且只有评审通过的{$lang->productSRCommon}才能关联。请关联{$lang->productSRCommon}。";
-$lang->project->haveDraft = "有%s条草稿状态的{$lang->productSRCommon}无法关联到该{$lang->projectCommon}";
+$lang->project->whyNoStories = "看起来没有{$lang->projectSRCommon}可以关联。请检查下{$lang->projectCommon}关联的{$lang->productCommon}中有没有{$lang->projectSRCommon},而且要确保它们已经审核通过。";
+$lang->project->productStories = "{$lang->projectCommon}关联的{$lang->projectSRCommon}是{$lang->productCommon}{$lang->projectSRCommon}的子集,并且只有评审通过的{$lang->projectSRCommon}才能关联。请关联{$lang->projectSRCommon}。";
+$lang->project->haveDraft = "有%s条草稿状态的{$lang->projectSRCommon}无法关联到该{$lang->projectCommon}";
$lang->project->doneProjects = '已结束';
$lang->project->selectDept = '选择部门';
$lang->project->selectDeptTitle = '选择一个部门的成员';
@@ -264,14 +264,14 @@ $lang->project->noMembers = '暂时没有团队成员。';
/* 交互提示。*/
$lang->project->confirmDelete = "您确定删除{$lang->projectCommon}[%s]吗?";
$lang->project->confirmUnlinkMember = "您确定从该{$lang->projectCommon}中移除该用户吗?";
-$lang->project->confirmUnlinkStory = "您确定从该{$lang->projectCommon}中移除该{$lang->productSRCommon}吗?";
+$lang->project->confirmUnlinkStory = "您确定从该{$lang->projectCommon}中移除该{$lang->projectSRCommon}吗?";
$lang->project->errorNoLinkedProducts = "该{$lang->projectCommon}没有关联的{$lang->productCommon},系统将转到{$lang->productCommon}关联页面";
$lang->project->errorSameProducts = "{$lang->projectCommon}不能关联多个相同的{$lang->productCommon}。";
$lang->project->accessDenied = "您无权访问该{$lang->projectCommon}!";
$lang->project->tips = '提示';
$lang->project->afterInfo = "{$lang->projectCommon}添加成功,您现在可以进行以下操作:";
$lang->project->setTeam = '设置团队';
-$lang->project->linkStory = "关联{$lang->productSRCommon}";
+$lang->project->linkStory = "关联{$lang->projectSRCommon}";
$lang->project->createTask = '创建任务';
$lang->project->goback = "返回任务列表";
$lang->project->noweekend = '去除周末';
@@ -310,12 +310,12 @@ $lang->project->placeholder->totalLeft = "{$lang->projectCommon}开始时的总
$lang->project->selectGroup = new stdclass();
$lang->project->selectGroup->done = '(已结束)';
-$lang->project->orderList['order_asc'] = "{$lang->productSRCommon}排序正序";
-$lang->project->orderList['order_desc'] = "{$lang->productSRCommon}排序倒序";
-$lang->project->orderList['pri_asc'] = "{$lang->productSRCommon}优先级正序";
-$lang->project->orderList['pri_desc'] = "{$lang->productSRCommon}优先级倒序";
-$lang->project->orderList['stage_asc'] = "{$lang->productSRCommon}阶段正序";
-$lang->project->orderList['stage_desc'] = "{$lang->productSRCommon}阶段倒序";
+$lang->project->orderList['order_asc'] = "{$lang->projectSRCommon}排序正序";
+$lang->project->orderList['order_desc'] = "{$lang->projectSRCommon}排序倒序";
+$lang->project->orderList['pri_asc'] = "{$lang->projectSRCommon}优先级正序";
+$lang->project->orderList['pri_desc'] = "{$lang->projectSRCommon}优先级倒序";
+$lang->project->orderList['stage_asc'] = "{$lang->projectSRCommon}阶段正序";
+$lang->project->orderList['stage_desc'] = "{$lang->projectSRCommon}阶段倒序";
$lang->project->kanban = "看板";
$lang->project->kanbanSetting = "看板设置";
@@ -352,7 +352,7 @@ $lang->project->featureBar['task']['unclosed'] = $lang->project->unclosed;
$lang->project->featureBar['task']['assignedtome'] = $lang->project->assignedToMe;
$lang->project->featureBar['task']['myinvolved'] = $lang->project->myInvolved;
$lang->project->featureBar['task']['delayed'] = '已延期';
-$lang->project->featureBar['task']['needconfirm'] = "{$lang->productSRCommon}变更";
+$lang->project->featureBar['task']['needconfirm'] = "{$lang->projectSRCommon}变更";
$lang->project->featureBar['task']['status'] = $lang->project->statusSelects[''];
$lang->project->featureBar['all']['all'] = $lang->project->all;
@@ -366,4 +366,4 @@ $lang->project->treeLevel = array();
$lang->project->treeLevel['all'] = '全部展开';
$lang->project->treeLevel['root'] = '全部折叠';
$lang->project->treeLevel['task'] = '全部显示';
-$lang->project->treeLevel['story'] = "只看{$lang->productSRCommon}";
+$lang->project->treeLevel['story'] = "只看{$lang->projectSRCommon}";
diff --git a/module/project/model.php b/module/project/model.php
index 53640269e7..f5e2cc408c 100644
--- a/module/project/model.php
+++ b/module/project/model.php
@@ -1556,7 +1556,12 @@ class projectModel extends model
}
/* Build search form. */
- if($type == 'projectStory') $this->config->product->search['module'] = 'projectStory';
+ if($type == 'projectStory')
+ {
+ $this->config->product->search['module'] = 'projectStory';
+ }
+
+ $this->config->product->search['fields']['title'] = str_replace($this->lang->productSRCommon, $this->lang->projectSRCommon, $this->lang->story->title);
$this->config->product->search['actionURL'] = $actionURL;
$this->config->product->search['queryID'] = $queryID;
$this->config->product->search['params']['product']['values'] = $productPairs + array('all' => $this->lang->product->allProductsOfProject);
diff --git a/module/story/lang/de.php b/module/story/lang/de.php
index 0f38ab7907..7fe637b735 100644
--- a/module/story/lang/de.php
+++ b/module/story/lang/de.php
@@ -81,7 +81,7 @@ $lang->story->convertRelations = 'Convert Relations';
$lang->story->skipStory = '%s is a parent story. It cannot be closed.';
$lang->story->closedStory = 'Story %s is closed and will not be closed.';
-$lang->story->batchToTaskTips = "This action will create a task with the same name as the selected {$lang->productSRCommon} and link {$lang->productSRCommon} to the task. The closed {$lang->productSRCommon} will not be converted into tasks.";
+$lang->story->batchToTaskTips = "This action will create a task with the same name as the selected {$lang->projectSRCommon} and link {$lang->projectSRCommon} to the task. The closed {$lang->projectSRCommon} will not be converted into tasks.";
$lang->story->successToTask = "Converted to task.";
$lang->story->common = 'Story';
@@ -128,7 +128,7 @@ $lang->story->version = 'Version';
$lang->story->plan = 'Plan';
$lang->story->planAB = 'Plan';
$lang->story->comment = 'Kommentar';
-$lang->story->children = "Child {$lang->productSRCommon}";
+$lang->story->children = "Child {$lang->projectSRCommon}";
$lang->story->childrenAB = "C";
$lang->story->linkStories = 'Story verknüpfen';
$lang->story->childStories = 'Story aufteilen';
@@ -262,8 +262,8 @@ $lang->story->mustChooseResult = 'Ergebnis wählen';
$lang->story->mustChoosePreVersion = 'Version wählen um es umzukhren.';
$lang->story->noStory = 'Keine Storys. ';
$lang->story->ignoreChangeStage = 'Story %s is in Draft or Closed status. Please review it..';
-$lang->story->cannotDeleteParent = "Can not delete parent {$lang->productSRCommon}";
-$lang->story->moveChildrenTips = "Its Child {$lang->productSRCommon} will be moved to the selected product when editing the linked product of Parent {$lang->productSRCommon}.";
+$lang->story->cannotDeleteParent = "Can not delete parent {$lang->projectSRCommon}";
+$lang->story->moveChildrenTips = "Its Child {$lang->projectSRCommon} will be moved to the selected product when editing the linked product of Parent {$lang->projectSRCommon}.";
$lang->story->changeTips = 'The story associated with the requirements to change, click "Cancel" ignore this change, click "Confirm" to change the story.';
$lang->story->form = new stdclass();
diff --git a/module/story/lang/en.php b/module/story/lang/en.php
index 6e48397a9b..2b541c1bdc 100644
--- a/module/story/lang/en.php
+++ b/module/story/lang/en.php
@@ -81,7 +81,7 @@ $lang->story->convertRelations = 'Convert Relations';
$lang->story->skipStory = '%s is a parent story. It cannot be closed.';
$lang->story->closedStory = 'Story %s is closed and will not be closed.';
-$lang->story->batchToTaskTips = "This action will create a task with the same name as the selected {$lang->productSRCommon} and link {$lang->productSRCommon} to the task. The closed {$lang->productSRCommon} will not be converted into tasks.";
+$lang->story->batchToTaskTips = "This action will create a task with the same name as the selected {$lang->projectSRCommon} and link {$lang->projectSRCommon} to the task. The closed {$lang->projectSRCommon} will not be converted into tasks.";
$lang->story->successToTask = "Converted to task.";
$lang->story->common = 'Story';
@@ -128,7 +128,7 @@ $lang->story->version = 'Version';
$lang->story->plan = 'Linked Plan';
$lang->story->planAB = 'Plan';
$lang->story->comment = 'Comment';
-$lang->story->children = "Child {$lang->productSRCommon}";
+$lang->story->children = "Child {$lang->projectSRCommon}";
$lang->story->childrenAB = "C";
$lang->story->linkStories = 'Linked Stories';
$lang->story->childStories = 'Decomposed Stories';
@@ -262,8 +262,8 @@ $lang->story->mustChooseResult = 'Select Result';
$lang->story->mustChoosePreVersion = 'Select a version to revert to.';
$lang->story->noStory = 'No stories yet. ';
$lang->story->ignoreChangeStage = 'Story %s is in Draft or Closed status. Please review it..';
-$lang->story->cannotDeleteParent = "Can not delete parent {$lang->productSRCommon}";
-$lang->story->moveChildrenTips = "Its Child {$lang->productSRCommon} will be moved to the selected product when editing the linked product of Parent {$lang->productSRCommon}.";
+$lang->story->cannotDeleteParent = "Can not delete parent {$lang->projectSRCommon}";
+$lang->story->moveChildrenTips = "Its Child {$lang->projectSRCommon} will be moved to the selected product when editing the linked product of Parent {$lang->projectSRCommon}.";
$lang->story->changeTips = 'The story associated with the requirements to change, click "Cancel" ignore this change, click "Confirm" to change the story.';
$lang->story->form = new stdclass();
diff --git a/module/story/lang/fr.php b/module/story/lang/fr.php
index 4669cf9aab..9b1175359a 100644
--- a/module/story/lang/fr.php
+++ b/module/story/lang/fr.php
@@ -81,7 +81,7 @@ $lang->story->convertRelations = 'Convert Relations';
$lang->story->skipStory = '%s is a parent story. It cannot be closed.';
$lang->story->closedStory = 'Story %s is closed and will not be closed.';
-$lang->story->batchToTaskTips = "This action will create a task with the same name as the selected {$lang->productSRCommon} and link {$lang->productSRCommon} to the task. The closed {$lang->productSRCommon} will not be converted into tasks.";
+$lang->story->batchToTaskTips = "This action will create a task with the same name as the selected {$lang->projectSRCommon} and link {$lang->projectSRCommon} to the task. The closed {$lang->projectSRCommon} will not be converted into tasks.";
$lang->story->successToTask = "Converted to task.";
$lang->story->common = 'Story';
@@ -128,7 +128,7 @@ $lang->story->version = 'Version';
$lang->story->plan = 'Intégrée Plans';
$lang->story->planAB = 'Plan';
$lang->story->comment = 'Commentaire';
-$lang->story->children = "Enfant {$lang->productSRCommon}";
+$lang->story->children = "Enfant {$lang->projectSRCommon}";
$lang->story->childrenAB = "C";
$lang->story->linkStories = 'Stories Liées';
$lang->story->childStories = 'Stories Décomposées';
@@ -262,8 +262,8 @@ $lang->story->mustChooseResult = 'Sélect Résultat';
$lang->story->mustChoosePreVersion = 'Sélect une version pour revenir en arrière.';
$lang->story->noStory = "Aucune story pour l'instant. ";
$lang->story->ignoreChangeStage = 'Story %s is in Draft or Closed status. Please review it..';
-$lang->story->cannotDeleteParent = "Impossible de supprimer {$lang->productSRCommon} parent";
-$lang->story->moveChildrenTips = "Its Child {$lang->productSRCommon} will be moved to the selected product when editing the linked product of Parent {$lang->productSRCommon}.";
+$lang->story->cannotDeleteParent = "Impossible de supprimer {$lang->projectSRCommon} parent";
+$lang->story->moveChildrenTips = "Its Child {$lang->projectSRCommon} will be moved to the selected product when editing the linked product of Parent {$lang->projectSRCommon}.";
$lang->story->changeTips = 'The story associated with the requirements to change, click "Cancel" ignore this change, click "Confirm" to change the story.';
$lang->story->form = new stdclass();
diff --git a/module/story/lang/vi.php b/module/story/lang/vi.php
index c98798cdc4..e637e6dc02 100644
--- a/module/story/lang/vi.php
+++ b/module/story/lang/vi.php
@@ -81,7 +81,7 @@ $lang->story->convertRelations = 'Convert Relations';
$lang->story->skipStory = '%s is a parent story. It cannot be closed.';
$lang->story->closedStory = 'Story %s is closed and will not be closed.';
-$lang->story->batchToTaskTips = "This action will create a task with the same name as the selected {$lang->productSRCommon} and link {$lang->productSRCommon} to the task. The closed {$lang->productSRCommon} will not be converted into tasks.";
+$lang->story->batchToTaskTips = "This action will create a task with the same name as the selected {$lang->projectSRCommon} and link {$lang->projectSRCommon} to the task. The closed {$lang->projectSRCommon} will not be converted into tasks.";
$lang->story->successToTask = "Converted to task.";
$lang->story->common = 'Câu chuyện';
@@ -128,7 +128,7 @@ $lang->story->version = 'Phiên bản';
$lang->story->plan = 'Kế hoạch liên kết';
$lang->story->planAB = 'Kế hoạch';
$lang->story->comment = 'Nhận xét';
-$lang->story->children = "$lang->productSRCommon} con";
+$lang->story->children = "$lang->projectSRCommon} con";
$lang->story->childrenAB = "C";
$lang->story->linkStories = 'Câu chuyện liên kết';
$lang->story->childStories = 'Câu chuyện được phân rã';
@@ -262,8 +262,8 @@ $lang->story->mustChooseResult = 'Chọn kết quả';
$lang->story->mustChoosePreVersion = 'Chọn một phiên bản để chuyển thành.';
$lang->story->noStory = 'Không có câu chuyện nào';
$lang->story->ignoreChangeStage = 'Story %s is in Draft or Closed status. Please review it..';
-$lang->story->cannotDeleteParent = "Không thể xóa {$lang->productSRCommon} mẹ";
-$lang->story->moveChildrenTips = "Its Child {$lang->productSRCommon} will be moved to the selected product when editing the linked product of Parent {$lang->productSRCommon}.";
+$lang->story->cannotDeleteParent = "Không thể xóa {$lang->projectSRCommon} mẹ";
+$lang->story->moveChildrenTips = "Its Child {$lang->projectSRCommon} will be moved to the selected product when editing the linked product of Parent {$lang->projectSRCommon}.";
$lang->story->changeTips = 'The story associated with the requirements to change, click "Cancel" ignore this change, click "Confirm" to change the story.';
$lang->story->form = new stdclass();
diff --git a/module/testcase/view/create.html.php b/module/testcase/view/create.html.php
index a714c02517..274279476f 100644
--- a/module/testcase/view/create.html.php
+++ b/module/testcase/view/create.html.php
@@ -118,44 +118,44 @@