From 6183f6ca05831af9b84db604e5dcf4e4b5d423ea Mon Sep 17 00:00:00 2001 From: sunguangming Date: Tue, 6 May 2025 08:12:17 +0000 Subject: [PATCH] * [misc] modify lang. --- module/programplan/lang/de.php | 2 -- module/programplan/lang/en.php | 2 -- module/programplan/lang/fr.php | 2 -- module/programplan/lang/zh-cn.php | 2 -- module/programplan/ui/create.html.php | 4 ++-- 5 files changed, 2 insertions(+), 10 deletions(-) diff --git a/module/programplan/lang/de.php b/module/programplan/lang/de.php index de5cb4a411..464c22e7a0 100644 --- a/module/programplan/lang/de.php +++ b/module/programplan/lang/de.php @@ -116,8 +116,6 @@ $lang->programplan->confirmDelete = 'Do you want to delete the current plan? $lang->programplan->confirmChangeAttr = 'The type of the sub-stage will be adjusted to "%s" synchronously according to the type of the parent stage after modification. Do you want to save?'; $lang->programplan->noticeChangeAttr = 'The type of the sub-stage will be adjusted to "%s" synchronously according to the type of the parent stage after modification'; $lang->programplan->workloadTips = 'The proportion of the sub stage workload is divided by 100%.'; -$lang->programplan->attributeTip = 'Except for the comprehensive type, the sub-stage type is consistent with the parent stage type.'; -$lang->programplan->addSubTip = 'Kanban/Iteration cannot be split.'; $lang->programplan->stageCustom['date'] = 'Show Date'; $lang->programplan->stageCustom['task'] = 'Show Task'; diff --git a/module/programplan/lang/en.php b/module/programplan/lang/en.php index 185f8d4701..09ef59d4fe 100644 --- a/module/programplan/lang/en.php +++ b/module/programplan/lang/en.php @@ -116,8 +116,6 @@ $lang->programplan->confirmDelete = 'Do you want to delete the current plan? $lang->programplan->confirmChangeAttr = 'The type of the sub-stage will be adjusted to "%s" synchronously according to the type of the parent stage after modification. Do you want to save?'; $lang->programplan->noticeChangeAttr = 'The type of the sub-stage will be adjusted to "%s" synchronously according to the type of the parent stage after modification.'; $lang->programplan->workloadTips = 'The workload of the sub stage is divided by 100%.'; -$lang->programplan->attributeTip = 'Except for the comprehensive type, the sub-stage type is consistent with the parent stage type.'; -$lang->programplan->addSubTip = 'Kanban/Iteration cannot be split.'; $lang->programplan->stageCustom['date'] = 'Show Date'; $lang->programplan->stageCustom['task'] = 'Show Task'; diff --git a/module/programplan/lang/fr.php b/module/programplan/lang/fr.php index de40fd2ed2..9ce00e7591 100644 --- a/module/programplan/lang/fr.php +++ b/module/programplan/lang/fr.php @@ -116,8 +116,6 @@ $lang->programplan->confirmDelete = 'Do you want to delete the current plan? $lang->programplan->confirmChangeAttr = 'The type of the sub-stage will be adjusted to "%s" synchronously according to the type of the parent stage after modification. Do you want to save?'; $lang->programplan->noticeChangeAttr = 'The type of the sub-stage will be adjusted to "%s" synchronously according to the type of the parent stage after modification.'; $lang->programplan->workloadTips = 'The proportion of the sub stage workload is divided by 100%.'; -$lang->programplan->attributeTip = 'Except for the comprehensive type, the sub-stage type is consistent with the parent stage type.'; -$lang->programplan->addSubTip = 'Kanban/Iteration cannot be split.'; $lang->programplan->stageCustom['date'] = 'Show Date'; $lang->programplan->stageCustom['task'] = 'Show Task'; diff --git a/module/programplan/lang/zh-cn.php b/module/programplan/lang/zh-cn.php index 3c68544cb8..db29dcdfdf 100644 --- a/module/programplan/lang/zh-cn.php +++ b/module/programplan/lang/zh-cn.php @@ -116,8 +116,6 @@ $lang->programplan->confirmDelete = '确定要删除当前计划吗?'; $lang->programplan->confirmChangeAttr = '修改后子阶段的类型将根据父阶段类型同步调整为“%s”,是否保存?'; $lang->programplan->noticeChangeAttr = '修改后子阶段的类型将根据父阶段类型同步调整为“%s”'; $lang->programplan->workloadTips = '子阶段工作量占比按百分百的比例进行拆分'; -$lang->programplan->attributeTip = '除综合类型外,子阶段与父阶段类型保持一致'; -$lang->programplan->addSubTip = '迭代/看板下不能细分'; $lang->programplan->stageCustom['date'] = '显示日期'; $lang->programplan->stageCustom['task'] = '显示任务'; diff --git a/module/programplan/ui/create.html.php b/module/programplan/ui/create.html.php index c20b3555c8..4980e51d19 100644 --- a/module/programplan/ui/create.html.php +++ b/module/programplan/ui/create.html.php @@ -141,7 +141,7 @@ $fnGenerateFields = function() use ($lang, $requiredFields, $showFields, $fields if($name == 'attribute' && in_array($project->model, array('waterfall', 'waterfallplus'))) { $field['tipIcon'] = 'help'; - $field['tip'] = $lang->programplan->attributeTip; + $field['tip'] = $lang->execution->typeTip; $field['tipProps'] = array ( 'id' => 'tooltipHover', @@ -261,7 +261,7 @@ jsVar('ipdStagePoint', $project->model == 'ipd' ? $config->review->ipdReviewP jsVar('attributeList', $project->model == 'ipd' ? $lang->stage->ipdTypeList : $lang->stage->typeList); jsVar('reviewedPoints', $project->model == 'ipd' ? $reviewedPoints : array()); jsVar('reviewedPointTip', $project->model == 'ipd' ? $lang->programplan->reviewedPointTip : ''); -jsVar('addSubTip', $lang->programplan->addSubTip); +jsVar('addSubTip', $lang->programplan->error->notStage); jsVar('addSiblingTip', $lang->programplan->addSiblingTip); jsVar('sortableTip', $lang->programplan->sortableTip);