diff --git a/module/story/lang/de.php b/module/story/lang/de.php index 22c7b13666..7ade8b7ce6 100644 --- a/module/story/lang/de.php +++ b/module/story/lang/de.php @@ -139,11 +139,11 @@ $lang->story->needNotReviewList[1] = 'Need Not Review'; $lang->story->useList[0] = 'Ja'; $lang->story->useList[1] = 'Nein'; -$lang->story->statusList[''] = ''; -$lang->story->statusList['draft'] = 'Entwurf'; -$lang->story->statusList['active'] = 'Aktiv'; -$lang->story->statusList['closed'] = 'Geschlossen'; -$lang->story->statusList['changed'] = 'Geändert'; +$lang->story->statusList[''] = ''; +$lang->story->statusList['draft'] = 'Entwurf'; +$lang->story->statusList['active'] = 'Aktiv'; +$lang->story->statusList['closed'] = 'Geschlossen'; +$lang->story->statusList['changed'] = 'Geändert'; $lang->story->stageList[''] = ''; $lang->story->stageList['wait'] = 'Wartend'; @@ -213,35 +213,36 @@ $lang->story->legendSpec = 'Beschreibung'; $lang->story->legendVerify = 'Akzeptanz'; $lang->story->legendMisc = 'Sonstiges '; -$lang->story->lblChange = 'Ändern'; -$lang->story->lblReview = 'Prüfen'; -$lang->story->lblActivate = 'Aktivieren'; -$lang->story->lblClose = 'Close'; -$lang->story->lblTBC = 'Task/Bug/Case'; +$lang->story->lblChange = 'Ändern'; +$lang->story->lblReview = 'Prüfen'; +$lang->story->lblActivate = 'Aktivieren'; +$lang->story->lblClose = 'Close'; +$lang->story->lblTBC = 'Task/Bug/Case'; -$lang->story->checkAffection = 'Impact'; -$lang->story->affectedProjects = '' . $lang->projectCommon; -$lang->story->affectedBugs = 'Bug'; -$lang->story->affectedCases = 'Fall'; +$lang->story->checkAffection = 'Impact'; +$lang->story->affectedProjects = '' . $lang->projectCommon; +$lang->story->affectedBugs = 'Bug'; +$lang->story->affectedCases = 'Fall'; -$lang->story->specTemplate = "Als ein < type of user >, möchte ich < some goal > dass < some reason >."; -$lang->story->needNotReview = 'Keine Prüfung'; -$lang->story->successSaved = "Story wurde gespeichrt!"; -$lang->story->confirmDelete = "Möchten Sie diese Story löschen?"; -$lang->story->errorEmptyChildStory = '『Unterteilte Story』 darf nicht leer sein.'; -$lang->story->errorNotSubdivide = "If the status is not active, or the stage is not wait, or a sub story, it cannot be subdivided."; -$lang->story->mustChooseResult = 'Ergebnis wählen'; -$lang->story->mustChoosePreVersion = 'Version wählen um es umzukhren.'; -$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->specTemplate = "Als ein < type of user >, möchte ich < some goal > dass < some reason >."; +$lang->story->needNotReview = 'Keine Prüfung'; +$lang->story->successSaved = "Story wurde gespeichrt!"; +$lang->story->confirmDelete = "Möchten Sie diese Story löschen?"; +$lang->story->errorEmptyChildStory = '『Unterteilte Story』 darf nicht leer sein.'; +$lang->story->errorNotSubdivide = "If the status is not active, or the stage is not wait, or a sub story, it cannot be subdivided."; +$lang->story->mustChooseResult = 'Ergebnis wählen'; +$lang->story->mustChoosePreVersion = 'Version wählen um es umzukhren.'; +$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->errorEmptyReviewedBy = "Please select the reviewer."; $lang->story->form = new stdclass(); -$lang->story->form->area = 'Story Bereich'; -$lang->story->form->desc = 'Welche Story ist es? Was sind die Abnahmebedingungen?'; -$lang->story->form->resource = 'Wer plant die Resourcen? Wie lange wird das dauern?'; -$lang->story->form->file = 'Wenn Dateien zu dieser Story gehören, laden Sie diese bIttr hoch.'; +$lang->story->form->area = 'Story Bereich'; +$lang->story->form->desc = 'Welche Story ist es? Was sind die Abnahmebedingungen?'; +$lang->story->form->resource = 'Wer plant die Resourcen? Wie lange wird das dauern?'; +$lang->story->form->file = 'Wenn Dateien zu dieser Story gehören, laden Sie diese bIttr hoch.'; $lang->story->action = new stdclass(); $lang->story->action->reviewed = array('main' => '$date, geprüft von $actor. Das Ergebnis ist $extra.', 'extra' => 'reviewResultList'); @@ -266,24 +267,24 @@ $lang->story->report->select = 'Storys gruppieren nach'; $lang->story->report->create = 'Erzeugen'; $lang->story->report->value = 'Story Anzahl'; -$lang->story->report->charts['storysPerProduct'] = 'nach ' . $lang->productCommon; -$lang->story->report->charts['storysPerModule'] = 'nach Modul'; -$lang->story->report->charts['storysPerSource'] = 'nach Source'; -$lang->story->report->charts['storysPerPlan'] = 'nach Plan'; -$lang->story->report->charts['storysPerStatus'] = 'nach Status'; -$lang->story->report->charts['storysPerStage'] = 'nach Phase'; -$lang->story->report->charts['storysPerPri'] = 'nach Priorität'; -$lang->story->report->charts['storysPerEstimate'] = 'nach Stunden'; -$lang->story->report->charts['storysPerOpenedBy'] = 'nach Ersteller'; -$lang->story->report->charts['storysPerAssignedTo'] = 'nach Zuständiger'; -$lang->story->report->charts['storysPerClosedReason'] = 'nach Grund'; -$lang->story->report->charts['storysPerChange'] = 'nach Änderungszeit'; +$lang->story->report->charts['storysPerProduct'] = 'nach ' . $lang->productCommon; +$lang->story->report->charts['storysPerModule'] = 'nach Modul'; +$lang->story->report->charts['storysPerSource'] = 'nach Source'; +$lang->story->report->charts['storysPerPlan'] = 'nach Plan'; +$lang->story->report->charts['storysPerStatus'] = 'nach Status'; +$lang->story->report->charts['storysPerStage'] = 'nach Phase'; +$lang->story->report->charts['storysPerPri'] = 'nach Priorität'; +$lang->story->report->charts['storysPerEstimate'] = 'nach Stunden'; +$lang->story->report->charts['storysPerOpenedBy'] = 'nach Ersteller'; +$lang->story->report->charts['storysPerAssignedTo'] = 'nach Zuständiger'; +$lang->story->report->charts['storysPerClosedReason'] = 'nach Grund'; +$lang->story->report->charts['storysPerChange'] = 'nach Änderungszeit'; $lang->story->report->options = new stdclass(); -$lang->story->report->options->graph = new stdclass(); -$lang->story->report->options->type = 'pie'; -$lang->story->report->options->width = 500; -$lang->story->report->options->height = 140; +$lang->story->report->options->graph = new stdclass(); +$lang->story->report->options->type = 'pie'; +$lang->story->report->options->width = 500; +$lang->story->report->options->height = 140; $lang->story->report->storysPerProduct = new stdclass(); $lang->story->report->storysPerModule = new stdclass(); diff --git a/module/story/lang/en.php b/module/story/lang/en.php index 78eb8d33fe..f843b61019 100644 --- a/module/story/lang/en.php +++ b/module/story/lang/en.php @@ -139,11 +139,11 @@ $lang->story->needNotReviewList[1] = 'Need Not Review'; $lang->story->useList[0] = 'Yes'; $lang->story->useList[1] = 'No'; -$lang->story->statusList[''] = ''; -$lang->story->statusList['draft'] = 'Draft'; -$lang->story->statusList['active'] = 'Active'; -$lang->story->statusList['closed'] = 'Closed'; -$lang->story->statusList['changed'] = 'Changed'; +$lang->story->statusList[''] = ''; +$lang->story->statusList['draft'] = 'Draft'; +$lang->story->statusList['active'] = 'Active'; +$lang->story->statusList['closed'] = 'Closed'; +$lang->story->statusList['changed'] = 'Changed'; $lang->story->stageList[''] = ''; $lang->story->stageList['wait'] = 'Waiting'; @@ -213,35 +213,36 @@ $lang->story->legendSpec = 'Description'; $lang->story->legendVerify = 'Acceptance'; $lang->story->legendMisc = 'Misc.'; -$lang->story->lblChange = 'Change'; -$lang->story->lblReview = 'Review'; -$lang->story->lblActivate = 'Activate'; -$lang->story->lblClose = 'Close'; -$lang->story->lblTBC = 'Task/Bug/Case'; +$lang->story->lblChange = 'Change'; +$lang->story->lblReview = 'Review'; +$lang->story->lblActivate = 'Activate'; +$lang->story->lblClose = 'Close'; +$lang->story->lblTBC = 'Task/Bug/Case'; $lang->story->checkAffection = 'Influence'; $lang->story->affectedProjects = '' . $lang->projectCommon . 's'; $lang->story->affectedBugs = 'Bugs'; $lang->story->affectedCases = 'Cases'; -$lang->story->specTemplate = "As a < type of user >, I want < some goal > so that < some reason >."; -$lang->story->needNotReview = 'No Review Required'; -$lang->story->successSaved = "Story is saved!"; -$lang->story->confirmDelete = "Do you want to delete this story?"; -$lang->story->errorEmptyChildStory = '『Decomposed Stories』canot be blank.'; -$lang->story->errorNotSubdivide = "If the status is not active, or the stage is not wait, or a sub story, it cannot be subdivided."; -$lang->story->mustChooseResult = 'Select Result'; -$lang->story->mustChoosePreVersion = 'Select a version to revert to.'; -$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->specTemplate = "As a < type of user >, I want < some goal > so that < some reason >."; +$lang->story->needNotReview = 'No Review Required'; +$lang->story->successSaved = "Story is saved!"; +$lang->story->confirmDelete = "Do you want to delete this story?"; +$lang->story->errorEmptyChildStory = '『Decomposed Stories』canot be blank.'; +$lang->story->errorNotSubdivide = "If the status is not active, or the stage is not wait, or a sub story, it cannot be subdivided."; +$lang->story->mustChooseResult = 'Select Result'; +$lang->story->mustChoosePreVersion = 'Select a version to revert to.'; +$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->errorEmptyReviewedBy = "Please select the reviewer."; $lang->story->form = new stdclass(); -$lang->story->form->area = 'Scope'; -$lang->story->form->desc = 'What story is it? What is the acceptance?'; -$lang->story->form->resource = 'Who will allocate resources? How long does it take?'; -$lang->story->form->file = 'If any file that is linked to a story, please click Here to upload it.'; +$lang->story->form->area = 'Scope'; +$lang->story->form->desc = 'What story is it? What is the acceptance?'; +$lang->story->form->resource = 'Who will allocate resources? How long does it take?'; +$lang->story->form->file = 'If any file that is linked to a story, please click Here to upload it.'; $lang->story->action = new stdclass(); $lang->story->action->reviewed = array('main' => '$date, recorded by $actor. The result is $extra.', 'extra' => 'reviewResultList'); @@ -266,24 +267,24 @@ $lang->story->report->select = 'Select Report Type'; $lang->story->report->create = 'Create Report'; $lang->story->report->value = 'Reports'; -$lang->story->report->charts['storysPerProduct'] = 'Group by ' . $lang->productCommon . ' Story'; -$lang->story->report->charts['storysPerModule'] = 'Group by Module Story'; -$lang->story->report->charts['storysPerSource'] = 'Group by Story Source'; -$lang->story->report->charts['storysPerPlan'] = 'Group by Plan'; -$lang->story->report->charts['storysPerStatus'] = 'Group by Status'; -$lang->story->report->charts['storysPerStage'] = 'Group by Phase'; -$lang->story->report->charts['storysPerPri'] = 'Group by Priority'; -$lang->story->report->charts['storysPerEstimate'] = 'Group by Estimates'; -$lang->story->report->charts['storysPerOpenedBy'] = 'Group by CreatedBy'; -$lang->story->report->charts['storysPerAssignedTo'] = 'Group by AssignedTo'; -$lang->story->report->charts['storysPerClosedReason'] = 'Group by Closed Reason'; -$lang->story->report->charts['storysPerChange'] = 'Group by Changed Story'; +$lang->story->report->charts['storysPerProduct'] = 'Group by ' . $lang->productCommon . ' Story'; +$lang->story->report->charts['storysPerModule'] = 'Group by Module Story'; +$lang->story->report->charts['storysPerSource'] = 'Group by Story Source'; +$lang->story->report->charts['storysPerPlan'] = 'Group by Plan'; +$lang->story->report->charts['storysPerStatus'] = 'Group by Status'; +$lang->story->report->charts['storysPerStage'] = 'Group by Phase'; +$lang->story->report->charts['storysPerPri'] = 'Group by Priority'; +$lang->story->report->charts['storysPerEstimate'] = 'Group by Estimates'; +$lang->story->report->charts['storysPerOpenedBy'] = 'Group by CreatedBy'; +$lang->story->report->charts['storysPerAssignedTo'] = 'Group by AssignedTo'; +$lang->story->report->charts['storysPerClosedReason'] = 'Group by Closed Reason'; +$lang->story->report->charts['storysPerChange'] = 'Group by Changed Story'; $lang->story->report->options = new stdclass(); -$lang->story->report->options->graph = new stdclass(); -$lang->story->report->options->type = 'pie'; -$lang->story->report->options->width = 500; -$lang->story->report->options->height = 140; +$lang->story->report->options->graph = new stdclass(); +$lang->story->report->options->type = 'pie'; +$lang->story->report->options->width = 500; +$lang->story->report->options->height = 140; $lang->story->report->storysPerProduct = new stdclass(); $lang->story->report->storysPerModule = new stdclass(); diff --git a/module/story/lang/fr.php b/module/story/lang/fr.php index d5c3b08569..f316460bc7 100644 --- a/module/story/lang/fr.php +++ b/module/story/lang/fr.php @@ -139,11 +139,11 @@ $lang->story->needNotReviewList[1] = 'Need Not Review'; $lang->story->useList[0] = 'Oui'; $lang->story->useList[1] = 'Non'; -$lang->story->statusList[''] = ''; -$lang->story->statusList['draft'] = 'Brouillon'; -$lang->story->statusList['active'] = 'Active'; -$lang->story->statusList['closed'] = 'Fermée'; -$lang->story->statusList['changed'] = 'Changée'; +$lang->story->statusList[''] = ''; +$lang->story->statusList['draft'] = 'Brouillon'; +$lang->story->statusList['active'] = 'Active'; +$lang->story->statusList['closed'] = 'Fermée'; +$lang->story->statusList['changed'] = 'Changée'; $lang->story->stageList[''] = ''; $lang->story->stageList['wait'] = 'En Attente'; @@ -213,35 +213,36 @@ $lang->story->legendSpec = 'Description'; $lang->story->legendVerify = 'Acceptance'; $lang->story->legendMisc = 'Divers'; -$lang->story->lblChange = 'Changer'; -$lang->story->lblReview = 'Valider'; -$lang->story->lblActivate = 'Activer'; -$lang->story->lblClose = 'Fermer'; -$lang->story->lblTBC = 'Tâche/Bug/CasTest'; +$lang->story->lblChange = 'Changer'; +$lang->story->lblReview = 'Valider'; +$lang->story->lblActivate = 'Activer'; +$lang->story->lblClose = 'Fermer'; +$lang->story->lblTBC = 'Tâche/Bug/CasTest'; -$lang->story->checkAffection = 'Influence'; -$lang->story->affectedProjects = '' . $lang->projectCommon . 's'; -$lang->story->affectedBugs = 'Bugs'; -$lang->story->affectedCases = 'CasTests'; +$lang->story->checkAffection = 'Influence'; +$lang->story->affectedProjects = '' . $lang->projectCommon . 's'; +$lang->story->affectedBugs = 'Bugs'; +$lang->story->affectedCases = 'CasTests'; -$lang->story->specTemplate = "En tant que < type utilisateur >, je veux < différents objectifs > pour < différentes raisons >."; -$lang->story->needNotReview = 'Aucune Validation Requise'; -$lang->story->successSaved = "Story est sauvegardée !"; -$lang->story->confirmDelete = "Voulez-vous vraiment supprimer cette story ?"; -$lang->story->errorEmptyChildStory = '『Decomposed Stories』ne peuvent être vides.'; -$lang->story->errorNotSubdivide = "Si le statut n'est pas actif, ou l'étape n'est pas en attente, ou si c'est une sous-story, elle ne peut pas être subdivisée."; -$lang->story->mustChooseResult = 'Sélect Résultat'; -$lang->story->mustChoosePreVersion = 'Sélect une version pour revenir en arrière.'; -$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->specTemplate = "En tant que < type utilisateur >, je veux < différents objectifs > pour < différentes raisons >."; +$lang->story->needNotReview = 'Aucune Validation Requise'; +$lang->story->successSaved = "Story est sauvegardée !"; +$lang->story->confirmDelete = "Voulez-vous vraiment supprimer cette story ?"; +$lang->story->errorEmptyChildStory = '『Decomposed Stories』ne peuvent être vides.'; +$lang->story->errorNotSubdivide = "Si le statut n'est pas actif, ou l'étape n'est pas en attente, ou si c'est une sous-story, elle ne peut pas être subdivisée."; +$lang->story->mustChooseResult = 'Sélect Résultat'; +$lang->story->mustChoosePreVersion = 'Sélect une version pour revenir en arrière.'; +$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->errorEmptyReviewedBy = "Please select the reviewer."; $lang->story->form = new stdclass(); -$lang->story->form->area = 'Périmètre'; -$lang->story->form->desc = "Quelle story est-ce ? Quel est son état d'acceptance ?"; -$lang->story->form->resource = 'Qui va allouer des resources ? Combien de temps cela va-t-il prendre ?'; -$lang->story->form->file = 'Si certains fichiers sont associés à la story, cliquez ici pour les uploader.'; +$lang->story->form->area = 'Périmètre'; +$lang->story->form->desc = "Quelle story est-ce ? Quel est son état d'acceptance ?"; +$lang->story->form->resource = 'Qui va allouer des resources ? Combien de temps cela va-t-il prendre ?'; +$lang->story->form->file = 'Si certains fichiers sont associés à la story, cliquez ici pour les uploader.'; $lang->story->action = new stdclass(); $lang->story->action->reviewed = array('main' => '$date, validée par $actor. Le résultat est $extra.', 'extra' => 'reviewResultList'); @@ -266,24 +267,24 @@ $lang->story->report->select = 'Choix Type de Rapport'; $lang->story->report->create = 'Créer Rapport'; $lang->story->report->value = 'Rapports'; -$lang->story->report->charts['storysPerProduct'] = 'Regroupé par ' . $lang->productCommon . ' Story'; -$lang->story->report->charts['storysPerModule'] = 'Regroupé par Module Story'; -$lang->story->report->charts['storysPerSource'] = 'Regroupé par Source'; -$lang->story->report->charts['storysPerPlan'] = 'Regroupé par Plan'; -$lang->story->report->charts['storysPerStatus'] = 'Regroupé par Statut'; -$lang->story->report->charts['storysPerStage'] = 'Regroupé par Phase'; -$lang->story->report->charts['storysPerPri'] = 'Regroupé par Priorité'; -$lang->story->report->charts['storysPerEstimate'] = 'Regroupé par Estimés'; -$lang->story->report->charts['storysPerOpenedBy'] = 'Regroupé par Créateur'; -$lang->story->report->charts['storysPerAssignedTo'] = 'Regroupé par Détenteur'; -$lang->story->report->charts['storysPerClosedReason'] = 'Par Raison de Fermeture'; -$lang->story->report->charts['storysPerChange'] = 'Regroupé par Modif de Story'; +$lang->story->report->charts['storysPerProduct'] = 'Regroupé par ' . $lang->productCommon . ' Story'; +$lang->story->report->charts['storysPerModule'] = 'Regroupé par Module Story'; +$lang->story->report->charts['storysPerSource'] = 'Regroupé par Source'; +$lang->story->report->charts['storysPerPlan'] = 'Regroupé par Plan'; +$lang->story->report->charts['storysPerStatus'] = 'Regroupé par Statut'; +$lang->story->report->charts['storysPerStage'] = 'Regroupé par Phase'; +$lang->story->report->charts['storysPerPri'] = 'Regroupé par Priorité'; +$lang->story->report->charts['storysPerEstimate'] = 'Regroupé par Estimés'; +$lang->story->report->charts['storysPerOpenedBy'] = 'Regroupé par Créateur'; +$lang->story->report->charts['storysPerAssignedTo'] = 'Regroupé par Détenteur'; +$lang->story->report->charts['storysPerClosedReason'] = 'Par Raison de Fermeture'; +$lang->story->report->charts['storysPerChange'] = 'Regroupé par Modif de Story'; $lang->story->report->options = new stdclass(); -$lang->story->report->options->graph = new stdclass(); -$lang->story->report->options->type = 'pie'; -$lang->story->report->options->width = 500; -$lang->story->report->options->height = 140; +$lang->story->report->options->graph = new stdclass(); +$lang->story->report->options->type = 'pie'; +$lang->story->report->options->width = 500; +$lang->story->report->options->height = 140; $lang->story->report->storysPerProduct = new stdclass(); $lang->story->report->storysPerModule = new stdclass(); diff --git a/module/story/lang/vi.php b/module/story/lang/vi.php index ac607bdfb3..fa4f7b8524 100644 --- a/module/story/lang/vi.php +++ b/module/story/lang/vi.php @@ -235,7 +235,8 @@ $lang->story->mustChoosePreVersion = 'Chọn một phiên bản để chuyển t $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->moveChildrenTips = "Its Child {$lang->storyCommon} will be moved to the selected product when editing the linked product of Parent {$lang->storyCommon}."; +$lang->story->errorEmptyReviewedBy = "Please select the reviewer."; $lang->story->form = new stdclass(); $lang->story->form->area = 'Phạm vi'; diff --git a/module/story/lang/zh-cn.php b/module/story/lang/zh-cn.php index 84b2c0c129..f474e75877 100644 --- a/module/story/lang/zh-cn.php +++ b/module/story/lang/zh-cn.php @@ -139,11 +139,11 @@ $lang->story->needNotReviewList[1] = '不需要评审'; $lang->story->useList[0] = '不使用'; $lang->story->useList[1] = '使用'; -$lang->story->statusList[''] = ''; -$lang->story->statusList['draft'] = '草稿'; -$lang->story->statusList['active'] = '激活'; -$lang->story->statusList['closed'] = '已关闭'; -$lang->story->statusList['changed'] = '已变更'; +$lang->story->statusList[''] = ''; +$lang->story->statusList['draft'] = '草稿'; +$lang->story->statusList['active'] = '激活'; +$lang->story->statusList['closed'] = '已关闭'; +$lang->story->statusList['changed'] = '已变更'; $lang->story->stageList[''] = ''; $lang->story->stageList['wait'] = '未开始'; @@ -213,35 +213,36 @@ $lang->story->legendSpec = "{$lang->storyCommon}描述"; $lang->story->legendVerify = '验收标准'; $lang->story->legendMisc = '其他相关'; -$lang->story->lblChange = "变更{$lang->storyCommon}"; -$lang->story->lblReview = "评审{$lang->storyCommon}"; -$lang->story->lblActivate = "激活{$lang->storyCommon}"; -$lang->story->lblClose = "关闭{$lang->storyCommon}"; -$lang->story->lblTBC = '任务Bug用例'; +$lang->story->lblChange = "变更{$lang->storyCommon}"; +$lang->story->lblReview = "评审{$lang->storyCommon}"; +$lang->story->lblActivate = "激活{$lang->storyCommon}"; +$lang->story->lblClose = "关闭{$lang->storyCommon}"; +$lang->story->lblTBC = '任务Bug用例'; -$lang->story->checkAffection = '影响范围'; -$lang->story->affectedProjects = '影响的' . $lang->projectCommon; -$lang->story->affectedBugs = '影响的Bug'; -$lang->story->affectedCases = '影响的用例'; +$lang->story->checkAffection = '影响范围'; +$lang->story->affectedProjects = '影响的' . $lang->projectCommon; +$lang->story->affectedBugs = '影响的Bug'; +$lang->story->affectedCases = '影响的用例'; -$lang->story->specTemplate = "建议参考的模板:作为一名<某种类型的用户>,我希望<达成某些目的>,这样可以<开发的价值>。"; -$lang->story->needNotReview = '不需要评审'; -$lang->story->successSaved = "{$lang->storyCommon}成功添加,"; -$lang->story->confirmDelete = "您确认删除该{$lang->storyCommon}吗?"; -$lang->story->errorEmptyChildStory = "『细分{$lang->storyCommon}』不能为空。"; -$lang->story->errorNotSubdivide = "状态不是激活,或者阶段不是未开始的{$lang->storyCommon},或者是子需求,则不能细分。"; -$lang->story->mustChooseResult = '必须选择评审结果'; -$lang->story->mustChoosePreVersion = '必须选择回溯的版本'; -$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->specTemplate = "建议参考的模板:作为一名<某种类型的用户>,我希望<达成某些目的>,这样可以<开发的价值>。"; +$lang->story->needNotReview = '不需要评审'; +$lang->story->successSaved = "{$lang->storyCommon}成功添加,"; +$lang->story->confirmDelete = "您确认删除该{$lang->storyCommon}吗?"; +$lang->story->errorEmptyChildStory = "『细分{$lang->storyCommon}』不能为空。"; +$lang->story->errorNotSubdivide = "状态不是激活,或者阶段不是未开始的{$lang->storyCommon},或者是子需求,则不能细分。"; +$lang->story->mustChooseResult = '必须选择评审结果'; +$lang->story->mustChoosePreVersion = '必须选择回溯的版本'; +$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->errorEmptyReviewedBy = "请选择评审人。"; $lang->story->form = new stdclass(); -$lang->story->form->area = "该{$lang->storyCommon}所属范围"; -$lang->story->form->desc = "描述及标准,什么{$lang->storyCommon}?如何验收?"; -$lang->story->form->resource = '资源分配,有谁完成?需要多少时间?'; -$lang->story->form->file = "附件,如果该{$lang->storyCommon}有相关文件,请点此上传。"; +$lang->story->form->area = "该{$lang->storyCommon}所属范围"; +$lang->story->form->desc = "描述及标准,什么{$lang->storyCommon}?如何验收?"; +$lang->story->form->resource = '资源分配,有谁完成?需要多少时间?'; +$lang->story->form->file = "附件,如果该{$lang->storyCommon}有相关文件,请点此上传。"; $lang->story->action = new stdclass(); $lang->story->action->reviewed = array('main' => '$date, 由 $actor 记录评审结果,结果为 $extra。', 'extra' => 'reviewResultList'); @@ -266,24 +267,24 @@ $lang->story->report->select = '请选择报表类型'; $lang->story->report->create = '生成报表'; $lang->story->report->value = "{$lang->storyCommon}数"; -$lang->story->report->charts['storysPerProduct'] = $lang->productCommon . "{$lang->storyCommon}数量"; -$lang->story->report->charts['storysPerModule'] = "模块{$lang->storyCommon}数量"; -$lang->story->report->charts['storysPerSource'] = "按{$lang->storyCommon}来源统计"; -$lang->story->report->charts['storysPerPlan'] = '按计划进行统计'; -$lang->story->report->charts['storysPerStatus'] = '按状态进行统计'; -$lang->story->report->charts['storysPerStage'] = '按所处阶段进行统计'; -$lang->story->report->charts['storysPerPri'] = '按优先级进行统计'; -$lang->story->report->charts['storysPerEstimate'] = "按预计{$lang->hourCommon}进行统计"; -$lang->story->report->charts['storysPerOpenedBy'] = '按由谁创建来进行统计'; -$lang->story->report->charts['storysPerAssignedTo'] = '按当前指派来进行统计'; -$lang->story->report->charts['storysPerClosedReason'] = '按关闭原因来进行统计'; -$lang->story->report->charts['storysPerChange'] = '按变更次数来进行统计'; +$lang->story->report->charts['storysPerProduct'] = $lang->productCommon . "{$lang->storyCommon}数量"; +$lang->story->report->charts['storysPerModule'] = "模块{$lang->storyCommon}数量"; +$lang->story->report->charts['storysPerSource'] = "按{$lang->storyCommon}来源统计"; +$lang->story->report->charts['storysPerPlan'] = '按计划进行统计'; +$lang->story->report->charts['storysPerStatus'] = '按状态进行统计'; +$lang->story->report->charts['storysPerStage'] = '按所处阶段进行统计'; +$lang->story->report->charts['storysPerPri'] = '按优先级进行统计'; +$lang->story->report->charts['storysPerEstimate'] = "按预计{$lang->hourCommon}进行统计"; +$lang->story->report->charts['storysPerOpenedBy'] = '按由谁创建来进行统计'; +$lang->story->report->charts['storysPerAssignedTo'] = '按当前指派来进行统计'; +$lang->story->report->charts['storysPerClosedReason'] = '按关闭原因来进行统计'; +$lang->story->report->charts['storysPerChange'] = '按变更次数来进行统计'; $lang->story->report->options = new stdclass(); -$lang->story->report->options->graph = new stdclass(); -$lang->story->report->options->type = 'pie'; -$lang->story->report->options->width = 500; -$lang->story->report->options->height = 140; +$lang->story->report->options->graph = new stdclass(); +$lang->story->report->options->type = 'pie'; +$lang->story->report->options->width = 500; +$lang->story->report->options->height = 140; $lang->story->report->storysPerProduct = new stdclass(); $lang->story->report->storysPerModule = new stdclass(); diff --git a/module/story/lang/zh-tw.php b/module/story/lang/zh-tw.php index 5f06ca660f..2696a8cf00 100644 --- a/module/story/lang/zh-tw.php +++ b/module/story/lang/zh-tw.php @@ -139,11 +139,11 @@ $lang->story->needNotReviewList[1] = '不需要評審'; $lang->story->useList[0] = '不使用'; $lang->story->useList[1] = '使用'; -$lang->story->statusList[''] = ''; -$lang->story->statusList['draft'] = '草稿'; -$lang->story->statusList['active'] = '激活'; -$lang->story->statusList['closed'] = '已關閉'; -$lang->story->statusList['changed'] = '已變更'; +$lang->story->statusList[''] = ''; +$lang->story->statusList['draft'] = '草稿'; +$lang->story->statusList['active'] = '激活'; +$lang->story->statusList['closed'] = '已關閉'; +$lang->story->statusList['changed'] = '已變更'; $lang->story->stageList[''] = ''; $lang->story->stageList['wait'] = '未開始'; @@ -213,35 +213,36 @@ $lang->story->legendSpec = "{$lang->storyCommon}描述"; $lang->story->legendVerify = '驗收標準'; $lang->story->legendMisc = '其他相關'; -$lang->story->lblChange = "變更{$lang->storyCommon}"; -$lang->story->lblReview = "評審{$lang->storyCommon}"; -$lang->story->lblActivate = "激活{$lang->storyCommon}"; -$lang->story->lblClose = "關閉{$lang->storyCommon}"; -$lang->story->lblTBC = '任務Bug用例'; +$lang->story->lblChange = "變更{$lang->storyCommon}"; +$lang->story->lblReview = "評審{$lang->storyCommon}"; +$lang->story->lblActivate = "激活{$lang->storyCommon}"; +$lang->story->lblClose = "關閉{$lang->storyCommon}"; +$lang->story->lblTBC = '任務Bug用例'; -$lang->story->checkAffection = '影響範圍'; -$lang->story->affectedProjects = '影響的' . $lang->projectCommon; -$lang->story->affectedBugs = '影響的Bug'; -$lang->story->affectedCases = '影響的用例'; +$lang->story->checkAffection = '影響範圍'; +$lang->story->affectedProjects = '影響的' . $lang->projectCommon; +$lang->story->affectedBugs = '影響的Bug'; +$lang->story->affectedCases = '影響的用例'; -$lang->story->specTemplate = "建議參考的模板:作為一名<某種類型的用戶>,我希望<達成某些目的>,這樣可以<開發的價值>。"; -$lang->story->needNotReview = '不需要評審'; -$lang->story->successSaved = "{$lang->storyCommon}成功添加,"; -$lang->story->confirmDelete = "您確認刪除該{$lang->storyCommon}嗎?"; -$lang->story->errorEmptyChildStory = "『細分{$lang->storyCommon}』不能為空。"; -$lang->story->errorNotSubdivide = "狀態不是激活,或者階段不是未開始的{$lang->storyCommon},或者是子需求,則不能細分。"; -$lang->story->mustChooseResult = '必須選擇評審結果'; -$lang->story->mustChoosePreVersion = '必須選擇回溯的版本'; -$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->specTemplate = "建議參考的模板:作為一名<某種類型的用戶>,我希望<達成某些目的>,這樣可以<開發的價值>。"; +$lang->story->needNotReview = '不需要評審'; +$lang->story->successSaved = "{$lang->storyCommon}成功添加,"; +$lang->story->confirmDelete = "您確認刪除該{$lang->storyCommon}嗎?"; +$lang->story->errorEmptyChildStory = "『細分{$lang->storyCommon}』不能為空。"; +$lang->story->errorNotSubdivide = "狀態不是激活,或者階段不是未開始的{$lang->storyCommon},或者是子需求,則不能細分。"; +$lang->story->mustChooseResult = '必須選擇評審結果'; +$lang->story->mustChoosePreVersion = '必須選擇回溯的版本'; +$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->errorEmptyReviewedBy = "請選擇評審人。"; $lang->story->form = new stdclass(); -$lang->story->form->area = "該{$lang->storyCommon}所屬範圍"; -$lang->story->form->desc = "描述及標準,什麼{$lang->storyCommon}?如何驗收?"; -$lang->story->form->resource = '資源分配,有誰完成?需要多少時間?'; -$lang->story->form->file = "附件,如果該{$lang->storyCommon}有相關檔案,請點此上傳。"; +$lang->story->form->area = "該{$lang->storyCommon}所屬範圍"; +$lang->story->form->desc = "描述及標準,什麼{$lang->storyCommon}?如何驗收?"; +$lang->story->form->resource = '資源分配,有誰完成?需要多少時間?'; +$lang->story->form->file = "附件,如果該{$lang->storyCommon}有相關檔案,請點此上傳。"; $lang->story->action = new stdclass(); $lang->story->action->reviewed = array('main' => '$date, 由 $actor 記錄評審結果,結果為 $extra。', 'extra' => 'reviewResultList'); @@ -266,24 +267,24 @@ $lang->story->report->select = '請選擇報表類型'; $lang->story->report->create = '生成報表'; $lang->story->report->value = "{$lang->storyCommon}數"; -$lang->story->report->charts['storysPerProduct'] = $lang->productCommon . "{$lang->storyCommon}數量"; -$lang->story->report->charts['storysPerModule'] = "模組{$lang->storyCommon}數量"; -$lang->story->report->charts['storysPerSource'] = "按{$lang->storyCommon}來源統計"; -$lang->story->report->charts['storysPerPlan'] = '按計划進行統計'; -$lang->story->report->charts['storysPerStatus'] = '按狀態進行統計'; -$lang->story->report->charts['storysPerStage'] = '按所處階段進行統計'; -$lang->story->report->charts['storysPerPri'] = '按優先順序進行統計'; -$lang->story->report->charts['storysPerEstimate'] = "按預計{$lang->hourCommon}進行統計"; -$lang->story->report->charts['storysPerOpenedBy'] = '按由誰創建來進行統計'; -$lang->story->report->charts['storysPerAssignedTo'] = '按當前指派來進行統計'; -$lang->story->report->charts['storysPerClosedReason'] = '按關閉原因來進行統計'; -$lang->story->report->charts['storysPerChange'] = '按變更次數來進行統計'; +$lang->story->report->charts['storysPerProduct'] = $lang->productCommon . "{$lang->storyCommon}數量"; +$lang->story->report->charts['storysPerModule'] = "模組{$lang->storyCommon}數量"; +$lang->story->report->charts['storysPerSource'] = "按{$lang->storyCommon}來源統計"; +$lang->story->report->charts['storysPerPlan'] = '按計划進行統計'; +$lang->story->report->charts['storysPerStatus'] = '按狀態進行統計'; +$lang->story->report->charts['storysPerStage'] = '按所處階段進行統計'; +$lang->story->report->charts['storysPerPri'] = '按優先順序進行統計'; +$lang->story->report->charts['storysPerEstimate'] = "按預計{$lang->hourCommon}進行統計"; +$lang->story->report->charts['storysPerOpenedBy'] = '按由誰創建來進行統計'; +$lang->story->report->charts['storysPerAssignedTo'] = '按當前指派來進行統計'; +$lang->story->report->charts['storysPerClosedReason'] = '按關閉原因來進行統計'; +$lang->story->report->charts['storysPerChange'] = '按變更次數來進行統計'; $lang->story->report->options = new stdclass(); -$lang->story->report->options->graph = new stdclass(); -$lang->story->report->options->type = 'pie'; -$lang->story->report->options->width = 500; -$lang->story->report->options->height = 140; +$lang->story->report->options->graph = new stdclass(); +$lang->story->report->options->type = 'pie'; +$lang->story->report->options->width = 500; +$lang->story->report->options->height = 140; $lang->story->report->storysPerProduct = new stdclass(); $lang->story->report->storysPerModule = new stdclass(); diff --git a/module/story/model.php b/module/story/model.php index d3ba53c5fe..5abcf7f153 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -466,6 +466,12 @@ class storyModel extends model return false; } + if(!isset($_POST['needNotReview']) and empty($_POST['assignedTo'])) + { + dao::$errors[] = $this->lang->story->errorEmptyReviewedBy; + return false; + } + if(strpos($this->config->story->change->requiredFields, 'comment') !== false and !$this->post->comment) { dao::$errors[] = sprintf($this->lang->error->notempty, $this->lang->comment); diff --git a/module/story/view/change.html.php b/module/story/view/change.html.php index 774556a028..23a02d6a2a 100644 --- a/module/story/view/change.html.php +++ b/module/story/view/change.html.php @@ -26,7 +26,7 @@ story->reviewedBy;?>
- reviewedBy, 'class="form-control chosen"');?> + reviewedBy, 'class="form-control chosen"');?> story->checkForceReview()):?> story->needNotReview, '', "id='needNotReview' {$needReview}");?>