diff --git a/module/execution/lang/de.php b/module/execution/lang/de.php index bd82bb3ddc..5dc2bca421 100644 --- a/module/execution/lang/de.php +++ b/module/execution/lang/de.php @@ -400,6 +400,7 @@ $lang->execution->errorLetterParent = 'The begin cannot be less than $lang->execution->errorGreaterParent = 'The end cannot be greater than the end of the parent stage to which it belongs:%s.'; $lang->execution->errorNameRepeat = 'Child stages of the same parent stage cannot have the same name.'; $lang->execution->errorAttrMatch = "Parent stage's attribute is [%s], the attribute needs to be consistent with the parent stage."; +$lang->execution->errorLetterPlan = "『%s』cannot be less than the plan start time『%s』。"; $lang->execution->accessDenied = "Zugriff zu {$lang->executionCommon} verweigert!"; $lang->execution->tips = 'Hinweis'; $lang->execution->afterInfo = "{$lang->executionCommon} wurde erstellt. Als nächstes können Sie "; diff --git a/module/execution/lang/en.php b/module/execution/lang/en.php index 2327a58fd0..cf490b0dad 100644 --- a/module/execution/lang/en.php +++ b/module/execution/lang/en.php @@ -400,6 +400,7 @@ $lang->execution->errorLetterParent = 'The begin cannot be less than $lang->execution->errorGreaterParent = 'The end cannot be greater than the end of the parent stage to which it belongs:%s.'; $lang->execution->errorNameRepeat = 'Child stages of the same parent stage cannot have the same name.'; $lang->execution->errorAttrMatch = "Parent stage's attribute is [%s], the attribute needs to be consistent with the parent stage."; +$lang->execution->errorLetterPlan = "『%s』cannot be less than the plan start time『%s』。"; $lang->execution->accessDenied = "Your access to {$lang->executionCommon} is denied!"; $lang->execution->tips = 'Note'; $lang->execution->afterInfo = "{$lang->executionCommon} is created. Next you can "; diff --git a/module/execution/lang/fr.php b/module/execution/lang/fr.php index 0ea5357ac4..d6292d3b82 100644 --- a/module/execution/lang/fr.php +++ b/module/execution/lang/fr.php @@ -400,6 +400,7 @@ $lang->execution->errorLetterParent = 'The begin cannot be less than $lang->execution->errorGreaterParent = 'The end cannot be greater than the end of the parent stage to which it belongs:%s.'; $lang->execution->errorNameRepeat = 'Child stages of the same parent stage cannot have the same name.'; $lang->execution->errorAttrMatch = "Parent stage's attribute is [%s], the attribute needs to be consistent with the parent stage."; +$lang->execution->errorLetterPlan = "『%s』cannot be less than the plan start time『%s』。"; $lang->execution->accessDenied = "Votre accès au {$lang->executionCommon} est refusé ! Désolé."; $lang->execution->tips = 'Note'; $lang->execution->afterInfo = "Le {$lang->executionCommon} a été créé avec succès ! Ensuite vous pouvez "; diff --git a/module/execution/lang/zh-cn.php b/module/execution/lang/zh-cn.php index 1e57527c1c..1096af7cc8 100644 --- a/module/execution/lang/zh-cn.php +++ b/module/execution/lang/zh-cn.php @@ -400,6 +400,7 @@ $lang->execution->errorLetterParent = '计划开始时间不能小于 $lang->execution->errorGreaterParent = '计划完成时间不能大于所属父阶段的计划完成时间:%s。'; $lang->execution->errorNameRepeat = '相同父阶段的子阶段名称不能相同'; $lang->execution->errorAttrMatch = "父阶段类型为[%s],阶段类型需与父阶段一致"; +$lang->execution->errorLetterPlan = "『%s』应当不小于计划开始时间『%s』。"; $lang->execution->accessDenied = "您无权访问该{$lang->executionCommon}!"; $lang->execution->tips = '提示'; $lang->execution->afterInfo = "{$lang->executionCommon}添加成功,您现在可以进行以下操作:"; diff --git a/module/execution/model.php b/module/execution/model.php index 31307505c7..d156eafa60 100755 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -881,7 +881,7 @@ class executionModel extends model { if($executions[$executionID]->begin > $executions[$executionID]->end) { - dao::$errors["ends{$executionID}"][] = sprintf($this->lang->execution->ge, $executions[$executionID]->end, $executions[$executionID]->begin); + dao::$errors["ends{$executionID}"][] = sprintf($this->lang->execution->errorLetterPlan, $executions[$executionID]->end, $executions[$executionID]->begin); } if($project and $executions[$executionID]->begin < $project->begin) diff --git a/module/execution/view/taskkanban.html.php b/module/execution/view/taskkanban.html.php index 2c87281cd1..222751e4da 100644 --- a/module/execution/view/taskkanban.html.php +++ b/module/execution/view/taskkanban.html.php @@ -103,7 +103,7 @@