diff --git a/extension/lite/block/ext/lang/zh-cn/lite.php b/extension/lite/block/ext/lang/zh-cn/lite.php index f2befadf5c..2c514510c0 100644 --- a/extension/lite/block/ext/lang/zh-cn/lite.php +++ b/extension/lite/block/ext/lang/zh-cn/lite.php @@ -3,3 +3,6 @@ $lang->block->flowchart = array(); $lang->block->flowchart['admin'] = array('管理员', '维护公司', '添加用户', '维护权限'); $lang->block->flowchart['project'] = array('项目负责人', '创建项目', '维护团队', "维护目标", '创建看板'); $lang->block->flowchart['dev'] = array('执行人员', '创建任务', '认领任务', '执行任务'); + +$lang->block->titleList['scrumlist'] = '看板列表'; +$lang->block->titleList['sprint'] = '看板总览'; diff --git a/extension/lite/common/ext/lang/zh-cn/lite.php b/extension/lite/common/ext/lang/zh-cn/lite.php index afa22bddc1..a53455b6b7 100644 --- a/extension/lite/common/ext/lang/zh-cn/lite.php +++ b/extension/lite/common/ext/lang/zh-cn/lite.php @@ -1,4 +1,7 @@ execution->common = '看板'; +$lang->executionCommon = '看板'; + /* Main Navigation. */ $lang->mainNav = new stdclass(); $lang->mainNav->my = "{$lang->navIcons['my']} {$lang->my->shortCommon}|my|index|"; diff --git a/extension/lite/execution/ext/lang/zh-cn/lite.php b/extension/lite/execution/ext/lang/zh-cn/lite.php index 76e130315a..2d883fb668 100644 --- a/extension/lite/execution/ext/lang/zh-cn/lite.php +++ b/extension/lite/execution/ext/lang/zh-cn/lite.php @@ -3,7 +3,6 @@ unset($lang->execution->featureBar['all']['undone']); unset($lang->execution->featureBar['all']['wait']); unset($lang->execution->featureBar['all']['suspended']); -$lang->execution->common = '看板'; $lang->execution->createKanban = '创建看板'; $lang->execution->noExecution = "暂时没有看板。"; diff --git a/module/execution/model.php b/module/execution/model.php index dc4c9f2781..46a1c0cfd8 100644 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -3548,7 +3548,6 @@ class executionModel extends model public function fillTasksInTree($node, $executionID) { $node = (object)$node; - a($node); static $storyGroups, $taskGroups; if(empty($storyGroups)) { @@ -3624,7 +3623,6 @@ class executionModel extends model $node->type = 'module'; $stories = isset($storyGroups[$node->root][$node->id]) ? $storyGroups[$node->root][$node->id] : array(); - a($stories); foreach($stories as $story) { $storyItem = new stdclass();