* Fix bug#3531.

This commit is contained in:
qiyu-xie
2020-09-28 11:47:09 +08:00
parent da36997ef6
commit a0e1e77cd6
6 changed files with 6 additions and 1 deletions
+1
View File
@@ -228,6 +228,7 @@ $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->storyCommon}";
$lang->story->moveChildrenTips = "Its Child {$lang->storyCommon} will be moved to the selected product when editing the linked product of Parent {$lang->storyCommon}.";
$lang->story->changeBranchTips = "Its Child {$lang->storyCommon} will be moved to the selected branch when editing the linked branch of Parent {$lang->storyCommon}.";
$lang->story->form = new stdclass();
$lang->story->form->area = 'Story Bereich';
+1
View File
@@ -228,6 +228,7 @@ $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->storyCommon}";
$lang->story->moveChildrenTips = "Its Child {$lang->storyCommon} will be moved to the selected product when editing the linked product of Parent {$lang->storyCommon}.";
$lang->story->changeBranchTips = "Its Child {$lang->storyCommon} will be moved to the selected branch when editing the linked branch of Parent {$lang->storyCommon}.";
$lang->story->form = new stdclass();
$lang->story->form->area = 'Scope';
+1
View File
@@ -228,6 +228,7 @@ $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->storyCommon} parent";
$lang->story->moveChildrenTips = "Its Child {$lang->storyCommon} will be moved to the selected product when editing the linked product of Parent {$lang->storyCommon}.";
$lang->story->changeBranchTips = "Its Child {$lang->storyCommon} will be moved to the selected branch when editing the linked branch of Parent {$lang->storyCommon}.";
$lang->story->form = new stdclass();
$lang->story->form->area = 'Périmètre';
+1
View File
@@ -228,6 +228,7 @@ $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->storyCommon} mẹ";
$lang->story->moveChildrenTips = "Its Child {$lang->storyCommon} will be moved to the selected product when editing the linked product of Parent {$lang->storyCommon}.";
$lang->story->changeBranchTips = "Its Child {$lang->storyCommon} will be moved to the selected branch when editing the linked branch of Parent {$lang->storyCommon}.";
$lang->story->form = new stdclass();
$lang->story->form->area = 'Phạm vi';
+1
View File
@@ -228,6 +228,7 @@ $lang->story->noStory = "暫時沒有{$lang->storyCommon}。";
$lang->story->ignoreChangeStage = "{$lang->storyCommon} %s 為草稿狀態或已關閉狀態,沒有修改其階段。";
$lang->story->cannotDeleteParent = "不能刪除父{$lang->storyCommon}";
$lang->story->moveChildrenTips = "修改父{$lang->storyCommon}的所屬產品會將其下的子{$lang->storyCommon}也移動到所選產品下。";
$lang->story->changeBranchTips = "修改父{$lang->storyCommon}的所屬分支會將其下的子{$lang->storyCommon}也移動到所選分支下。";
$lang->story->form = new stdclass();
$lang->story->form->area = "該{$lang->storyCommon}所屬範圍";
+1 -1
View File
@@ -567,7 +567,7 @@ class storyModel extends model
->remove('files,labels,comment,contactListMenu,stages')
->get();
if(isset($story->plan) and is_array($story->plan)) $story->plan = trim(join(',', $story->plan), ',');
if(empty($_POST['product']) or !isset($_POST['branch'])) $story->branch = $oldStory->branch;
if(empty($_POST['product'])) $story->branch = $oldStory->branch;
if(isset($_POST['branch']) and $_POST['branch'] == 0) $story->branch = 0;
if(!empty($_POST['stages']))
{