From edd66c028d0742305d2b06a017d75b64bd9f0fb8 Mon Sep 17 00:00:00 2001 From: zhouxudong Date: Wed, 8 Jun 2022 06:25:06 +0000 Subject: [PATCH] * Fix bug #23026. --- module/execution/js/kanban.js | 2 +- module/execution/js/taskkanban.js | 2 +- module/execution/lang/en.php | 2 +- module/execution/lang/zh-cn.php | 2 +- module/execution/view/kanban.html.php | 2 +- module/execution/view/taskkanban.html.php | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/module/execution/js/kanban.js b/module/execution/js/kanban.js index 5d7394485d..50ecbc28f4 100644 --- a/module/execution/js/kanban.js +++ b/module/execution/js/kanban.js @@ -699,7 +699,7 @@ function renderCount($count, count, column) */ function tips() { - bootbox.alert(linkProducts); + bootbox.alert(needLinkProducts); } /** diff --git a/module/execution/js/taskkanban.js b/module/execution/js/taskkanban.js index 8997ce129e..849864b4bd 100644 --- a/module/execution/js/taskkanban.js +++ b/module/execution/js/taskkanban.js @@ -305,7 +305,7 @@ function renderColumnCount($count, count, col) */ function tips() { - bootbox.alert(linkProducts); + bootbox.alert(needLinkProducts); } /** diff --git a/module/execution/lang/en.php b/module/execution/lang/en.php index 0db05c8802..a04a589090 100644 --- a/module/execution/lang/en.php +++ b/module/execution/lang/en.php @@ -271,7 +271,7 @@ $lang->execution->treeOnlyStory = 'Show Story Only'; $lang->execution->storyKanban = 'Story Kanban'; $lang->execution->storySort = 'Rank Story'; $lang->execution->importPlanStory = $lang->executionCommon . ' is created!\nDo you want to import stories that have been linked to the plan?'; -$lang->execution->linkProducts = 'The execution has not been linked with any product, and the related functions cannot be used. Please link the product first and try again.'; +$lang->execution->needLinkProducts = 'The execution has not been linked with any product, and the related functions cannot be used. Please link the product first and try again.'; $lang->execution->iteration = 'Iterations'; $lang->execution->iterationInfo = '%s Iterations'; $lang->execution->viewAll = 'View All'; diff --git a/module/execution/lang/zh-cn.php b/module/execution/lang/zh-cn.php index 04c4783953..44c790cbe3 100644 --- a/module/execution/lang/zh-cn.php +++ b/module/execution/lang/zh-cn.php @@ -271,7 +271,7 @@ $lang->execution->treeOnlyStory = "树状图只看{$lang->SRCommon}"; $lang->execution->storyKanban = "{$lang->SRCommon}看板"; $lang->execution->storySort = "{$lang->SRCommon}排序"; $lang->execution->importPlanStory = '创建' . $lang->executionCommon . '成功!\n是否导入计划关联的相关' . $lang->SRCommon . '?'; -$lang->execution->linkProducts = '该执行还未关联任何产品,相关功能无法使用,请先关联产品后再试。'; +$lang->execution->needLinkProducts = '该执行还未关联任何产品,相关功能无法使用,请先关联产品后再试。'; $lang->execution->iteration = '版本迭代'; $lang->execution->iterationInfo = '迭代%s次'; $lang->execution->viewAll = '查看所有'; diff --git a/module/execution/view/kanban.html.php b/module/execution/view/kanban.html.php index c1a6d06bce..989f89af83 100644 --- a/module/execution/view/kanban.html.php +++ b/module/execution/view/kanban.html.php @@ -52,7 +52,7 @@ js::set('vision', $this->config->vision); js::set('productCount', count($productNames)); js::set('executionID', $execution->id); js::set('reviewStoryParis', $reviewStoryParis); -js::set('linkProducts', $lang->execution->linkProducts); +js::set('needLinkProducts', $lang->execution->needLinkProducts); $canSortRegion = commonModel::hasPriv('kanban', 'sortRegion') && count($regions) > 1; $canEditRegion = commonModel::hasPriv('kanban', 'editRegion'); diff --git a/module/execution/view/taskkanban.html.php b/module/execution/view/taskkanban.html.php index 4f22ed3eb5..8f3d175b1e 100644 --- a/module/execution/view/taskkanban.html.php +++ b/module/execution/view/taskkanban.html.php @@ -213,5 +213,5 @@ js::set('priv', fluidBoard);?> displayCards);?> -execution->linkProducts);?> +execution->needLinkProducts);?>