<?php
$lang->maxName     = '旗艦版';
$lang->userCenter  = '個人中心';
$lang->importIcon  = "<i class='icon-import'> </i>";
$lang->dragAndSort = "拖動排序";
$lang->importToLib = "導入資產庫";

$lang->navIcons['assetlib'] = "<i class='icon icon-assets'></i>";

$lang->risk         = new stdclass();
$lang->issue        = new stdclass();
$lang->weekly       = new stdclass();
$lang->measrecord   = new stdclass();
$lang->opportunity  = new stdclass();
$lang->assetlib     = new stdclass();
$lang->meeting      = new stdclass();
$lang->approvalflow = new stdclass();

$lang->issue->common       = '問題';
$lang->risk->common        = '風險';
$lang->opportunity->common = '機會';
$lang->assetlib->common    = '資產庫';
$lang->meeting->common     = '會議';

$lang->mainNav->assetlib      = "{$lang->navIcons['assetlib']} {$lang->assetlib->common}|assetlib|storylib|";
$lang->mainNav->menuOrder[35] = 'assetlib';
$lang->mainNav->menuOrder[40] = 'doc';
$lang->mainNav->menuOrder[45] = 'report';
$lang->mainNav->menuOrder[50] = 'system';
$lang->mainNav->menuOrder[55] = 'oa';
$lang->mainNav->menuOrder[60] = 'ops';
$lang->mainNav->menuOrder[65] = 'feedback';
$lang->mainNav->menuOrder[70] = 'traincourse';
$lang->mainNav->menuOrder[75] = 'workflow';
$lang->mainNav->menuOrder[80] = 'admin';
$lang->dividerMenu            = ',kanban,oa,workflow,';

$lang->navGroup->storylib       = 'assetlib';
$lang->navGroup->caselib        = 'assetlib';
$lang->navGroup->issuelib       = 'assetlib';
$lang->navGroup->risklib        = 'assetlib';
$lang->navGroup->opportunitylib = 'assetlib';
$lang->navGroup->practicelib    = 'assetlib';
$lang->navGroup->componentlib   = 'assetlib';

$lang->navGroup->issue              = 'project';
$lang->navGroup->risk               = 'project';
$lang->navGroup->weekly             = 'project';
$lang->navGroup->budget             = 'project';
$lang->navGroup->workestimation     = 'project';
$lang->navGroup->durationestimation = 'project';
$lang->navGroup->opportunity        = 'project';
$lang->navGroup->trainplan          = 'project';
$lang->navGroup->gapanalysis        = 'project';
$lang->navGroup->researchplan       = 'project';
$lang->navGroup->researchreport     = 'project';
$lang->navGroup->meeting            = 'project';

$lang->navGroup->holiday       = 'admin';
$lang->navGroup->stage         = 'admin';
$lang->navGroup->measurement   = 'admin';
$lang->navGroup->sqlbuilder    = 'admin';
$lang->navGroup->auditcl       = 'admin';
$lang->navGroup->cmcl          = 'admin';
$lang->navGroup->process       = 'admin';
$lang->navGroup->activity      = 'admin';
$lang->navGroup->zoutput       = 'admin';
$lang->navGroup->classify      = 'admin';
$lang->navGroup->subject       = 'admin';
$lang->navGroup->baseline      = 'admin';
$lang->navGroup->auditcl       = 'admin';
$lang->navGroup->reviewcl      = 'admin';
$lang->navGroup->reviewsetting = 'admin';
$lang->navGroup->meetingroom   = 'admin';
$lang->navGroup->approvalflow  = 'admin';

$lang->my->icon['my']      = 'icon-menu-my';
$lang->my->icon['program'] = 'icon-menu-project';
$lang->my->icon['system']  = 'icon-cube';
$lang->my->icon['attend']  = 'icon-file';
$lang->my->icon['report']  = 'icon-menu-report';
$lang->my->icon['admin']   = 'icon-menu-backend';

$lang->my->menu->meeting = array('link' => "會議|my|meeting|", 'subModule' => 'meeting');

$lang->my->menuOrder[41] = 'meeting';

$lang->my->menu->work['subMenu']->issue     = '問題|my|work|mode=issue';
$lang->my->menu->work['subMenu']->risk      = '風險|my|work|mode=risk';
$lang->my->menu->work['subMenu']->audit     = array('link' => '評審|my|work|mode=audit&type=needreview', 'subModule' => 'review');
$lang->my->menu->work['subMenu']->nc        = 'QA|my|work|mode=nc&type=assignedToMe';
$lang->my->menu->work['subMenu']->myMeeting = '會議|my|work|mode=mymeeting&type=futureMeeting';

$lang->my->menu->work['menuOrder'][35] = 'issue';
$lang->my->menu->work['menuOrder'][40] = 'risk';
$lang->my->menu->work['menuOrder'][45] = 'audit';
$lang->my->menu->work['menuOrder'][50] = 'nc';
$lang->my->menu->work['menuOrder'][55] = 'myMeeting';

$lang->my->menu->contribute['subMenu']->issue  = '問題|my|contribute|mode=issue';
$lang->my->menu->contribute['subMenu']->risk   = '風險|my|contribute|mode=risk';
$lang->my->menu->contribute['subMenu']->audit  = array('link' => '評審|my|contribute|mode=audit&type=reviewedbyme', 'subModule' => 'review');
$lang->my->menu->contribute['subMenu']->nc     = 'QA|my|contribute|mode=nc&type=createdByMe';

$lang->my->menu->contribute['menuOrder'][40] = 'issue';
$lang->my->menu->contribute['menuOrder'][45] = 'risk';
$lang->my->menu->contribute['menuOrder'][50] = 'audit';
$lang->my->menu->contribute['menuOrder'][55] = 'nc';

$lang->report->projectMenu = new stdclass();
$lang->report->projectMenu->reports     = array('link' => '統計報表|report|projectsummary|project=%s', 'alias' => 'projectworkload,reportmodule,customeredreport,custom,show,viewreport');
$lang->report->projectMenu->measurement = array('link' => '度量列表|measrecord|browse|project=%s');

$lang->scrum->menu->other = array('link' => "$lang->other|issue|browse|project=%s", 'class' => 'dropdown dropdown-hover');
$lang->scrum->menuOrder[45] = 'other';

$lang->scrum->menu->other['dropMenu'] = new stdclass();
$lang->scrum->menu->other['dropMenu']->issue     = array('link' => '問題|issue|browse|projectID=%s', 'subModule' => 'issue');
$lang->scrum->menu->other['dropMenu']->risk      = array('link' => '風險|risk|browse|projectID=%s', 'subModule' => 'risk');
$lang->scrum->menu->other['dropMenu']->meeting   = array('link' => '會議|meeting|browse|projectID=%s', 'subModule' => 'meeting');
$lang->scrum->menu->other['dropMenu']->report    = array('link' => '度量|report|projectsummary|projectID=%s', 'subModule' => 'measrecord,report');

$lang->scrum->menu->report['subMenu'] = new stdclass();
$lang->scrum->menu->report['subMenu']->summary    = array('link' => '統計報表|report|projectsummary|projectID=%s', 'alias' => 'projectworkload,show,customeredreport,viewreport');
$lang->scrum->menu->report['subMenu']->measrecord = array('link' => '度量列表|measrecord|browse|projectID=%s');

/* Execution menu. */
$lang->execution->menu->other   = array('link' => "$lang->other|issue|browse|project=%s&from=execution", 'class' => 'dropdown dropdown-hover');
$lang->execution->menuOrder[65] = 'other';

$lang->execution->menu->other['dropMenu'] = new stdclass();
$lang->execution->menu->other['dropMenu']->issue       = array('link' => '問題|issue|browse|executionID=%s&from=execution', 'subModule' => 'issue');
$lang->execution->menu->other['dropMenu']->risk        = array('link' => '風險|risk|browse|executionID=%s&from=execution', 'subModule' => 'risk');
$lang->execution->menu->other['dropMenu']->opportunity = array('link' => "機會|opportunity|browse|executionID=%s&from=execution", 'subModule' => 'opportunity');
$lang->execution->menu->other['dropMenu']->pssp        = array('link' => '過程|pssp|browse|executionID=%s&from=execution', 'subModule' => 'pssp');
$lang->execution->menu->other['dropMenu']->auditplan   = array('link' => "{$lang->qa->shortCommon}|auditplan|browse|executionID=%s&from=execution", 'subModule' => 'auditplan,nc');
$lang->execution->menu->other['dropMenu']->meeting     = array('link' => '會議|meeting|browse|executionID=%s&from=execution', 'subModule' => 'meeting');

$lang->execution->menu->auditplan['subMenu'] = new stdclass();
$lang->execution->menu->auditplan['subMenu']->auditplan = array('link' => '質量保證計劃|auditplan|browse|project=%s&from=execution', 'alias' => 'create,batchcreate,edit,batchcheck');
$lang->execution->menu->auditplan['subMenu']->nc        = array('link' => '不符合項|nc|browse|project=%s&from=execution', 'alias' => 'create,edit,view');

/* Waterfall menu. */
$lang->waterfall->menu->track       = array('link' => "$lang->track|projectstory|track|project=%s", 'alias' => 'track');
$lang->waterfall->menu->review      = array('link' => '評審|review|browse|project=%s', 'subModule' => 'review,reviewissue');
$lang->waterfall->menu->cm          = array('link' => '配置|cm|browse|project=%s', 'subModule' => 'cm');
$lang->waterfall->menu->weekly      = array('link' => "{$lang->project->report}|weekly|index|project=%s", 'subModule' => ',milestone,');
$lang->waterfall->menu->other       = array('link' => "$lang->other|project|other|", 'class' => 'dropdown dropdown-hover');

$lang->waterfall->menu->settings = $lang->scrum->menu->settings;
$lang->waterfall->dividerMenu = ',programplan,review,build,dynamic,';

/* Waterfall menu order. */
$lang->waterfall->menuOrder[40] = 'track';
$lang->waterfall->menuOrder[45] = 'review';
$lang->waterfall->menuOrder[50] = 'cm';
$lang->waterfall->menuOrder[75] = 'weekly';
$lang->waterfall->menuOrder[85] = 'other';

$lang->waterfall->menu->execution['subMenu'] = new stdclass();
$lang->waterfall->menu->execution['subMenu']->gantt = array('link' => '甘特圖|programplan|browse|projectID=%s&productID=0&type=gantt');
$lang->waterfall->menu->execution['subMenu']->lists = array('link' => '階段列表|project|execution|status=all&projectID=%s','subModule' => 'execution,programplan');

$lang->waterfall->menu->other['dropMenu'] = new stdclass();
$lang->waterfall->menu->other['dropMenu']->research    = array('link' => '調研|researchplan|browse|projectID=%s', 'subModule' => 'researchplan,researchreport');
$lang->waterfall->menu->other['dropMenu']->estimation  = array('link' => "$lang->estimation|workestimation|index|projectID=%s", 'subModule' => 'workestimation,durationestimation,budget');
$lang->waterfall->menu->other['dropMenu']->issue       = array('link' => "問題|issue|browse|projectID=%s", 'subModule' => 'issue');
$lang->waterfall->menu->other['dropMenu']->risk        = array('link' => "風險|risk|browse|projectID=%s", 'subModule' => 'risk');
$lang->waterfall->menu->other['dropMenu']->opportunity = array('link' => "機會|opportunity|browse|projectID=%s", 'subModule' => 'opportunity');
$lang->waterfall->menu->other['dropMenu']->pssp        = array('link' => '過程|pssp|browse|projectID=%s', 'subModule' => 'pssp');
$lang->waterfall->menu->other['dropMenu']->report      = array('link' => '度量|report|projectsummary|projectID=%s', 'subModule' => 'measrecord,report');
$lang->waterfall->menu->other['dropMenu']->auditplan   = array('link' => "{$lang->qa->shortCommon}|auditplan|browse|projectID=%s", 'subModule' => 'auditplan,nc');
$lang->waterfall->menu->other['dropMenu']->train       = array('link' => '培訓|gapanalysis|browse|projectID=%s', 'subModule' => 'trainplan,gapanalysis');
$lang->waterfall->menu->other['dropMenu']->meeting     = array('link' => '會議|meeting|browse|projectID=%s', 'subModule' => 'meeting');

$lang->waterfall->menu->research['subMenu'] = new stdclass();
$lang->waterfall->menu->research['subMenu']->researchplan   = array('link' => '調研計劃|researchplan|browse|projectID=%s', 'alias' => 'create,edit,view');
$lang->waterfall->menu->research['subMenu']->researchreport = array('link' => '調研報告|researchreport|browse|projectID=%s', 'alias' => 'create,edit,view');

$lang->waterfall->menu->estimation = array();
$lang->waterfall->menu->estimation['subMenu'] = new stdclass();
$lang->waterfall->menu->estimation['subMenu']->workestimation = '工作量估算|workestimation|index|project=%s';
$lang->waterfall->menu->estimation['subMenu']->duration       = array('link' => '工期估算|durationestimation|index|project=%s', 'subModule' => 'durationestimation');
$lang->waterfall->menu->estimation['subMenu']->budget         = array('link' => '費用估算|budget|summary|project=%s', 'subModule' => 'budget');

$lang->waterfall->menu->auditplan['subMenu'] = new stdclass();
$lang->waterfall->menu->auditplan['subMenu']->auditplan = array('link' => '質量保證計劃|auditplan|browse|project=%s', 'alias' => 'create,batchcreate,edit,batchcheck');
$lang->waterfall->menu->auditplan['subMenu']->nc        = array('link' => '不符合項|nc|browse|project=%s', 'alias' => 'edit,view,create');

//$lang->stakeholder->menu->plan        = array('link' => '介入計劃|stakeholder|plan|');
//$lang->stakeholder->menu->expectation = array('link' => '期望管理|stakeholder|expectation|', 'alias' => 'createexpect');

$lang->waterfall->menu->weekly['subMenu'] = new stdclass();
$lang->waterfall->menu->weekly['subMenu']->index     = "{$lang->project->report}|weekly|index|project=%s";
$lang->waterfall->menu->weekly['subMenu']->milestone = '里程碑報告|milestone|index|project=%s';

$lang->waterfall->menu->weekly['menuOrder'][5]  = 'index';
$lang->waterfall->menu->weekly['menuOrder'][10] = 'milestone';

$lang->waterfall->menu->review['subMenu'] = new stdclass();
$lang->waterfall->menu->review['subMenu']->browse = array('link' => '基線評審列表|review|browse|project=%s', 'alias' => 'report,assess,result,audit,create,edit,view');
$lang->waterfall->menu->review['subMenu']->issue  = array('link' => '問題列表|reviewissue|issue|project=%s',  'alias' => 'create,edit,view');

$lang->waterfall->menu->review['menuOrder'][5]  = 'browse';
$lang->waterfall->menu->review['menuOrder'][10] = 'issue';

$lang->waterfall->menu->cm['subMenu'] = new stdclass();
$lang->waterfall->menu->cm['subMenu']->browse = array('link' => '基線|cm|browse|project=%s', 'alias' => 'create,edit,view');
$lang->waterfall->menu->cm['subMenu']->report = '基線狀態報告|cm|report|project=%s';

$lang->waterfall->menu->report['subMenu'] = new stdclass();
$lang->waterfall->menu->report['subMenu']->summary    = array('link' => '統計報表|report|projectsummary|projectID=%s', 'alias' => 'projectworkload,show,customeredreport,viewreport');
$lang->waterfall->menu->report['subMenu']->measrecord = array('link' => '度量列表|measrecord|browse|projectID=%s');

$lang->waterfall->menu->train['subMenu'] = new stdclass();
$lang->waterfall->menu->train['subMenu']->gapanalysis = array('link' => '能力差距分析|gapanalysis|browse|projectID=%s', 'alias' => 'create,edit,view,batchcreate,batchedit');
$lang->waterfall->menu->train['subMenu']->trainplan   = array('link' => '培訓計劃|trainplan|browse|projectID=%s', 'alias' => 'create,edit,view,batchcreate,batchedit');

$lang->waterfall->menu->settings['subMenu']->approval = array('link' => "審批|project|approval|project=%s", 'alias' => 'approval');
$lang->waterfall->menu->settings['alias'] .= ',approval';

$lang->admin->menu->approvalflow = array('link' => '審批|approvalflow|browse|', 'subModule' => 'approvalflow', 'subMenu');
$lang->admin->menuOrder[23]  = 'approvalflow';

$lang->admin->menu->allModel['subMenu']->subject      = array('link' => '支出科目|subject|browse|');
$lang->admin->menu->allModel['subMenu']->estimate     = array('link' => '估算|custom|estimate');
$lang->admin->menu->allModel['subMenu']->baseline     = array('link' => '文檔模板|baseline|template', 'subModule' => 'baseline');
$lang->admin->menu->allModel['subMenu']->meetingroom  = array('link' => '會議室|meetingroom|browse', 'alias' => 'create,edit,view,batchcreate,batchedit');
$lang->admin->menu->allModel['subMenu']->measurement  = array('link' => '度量|measurement|settips|', 'subModule' => 'sqlbuilder,measurement,report');

$lang->admin->menu->waterfall['subMenu']->auditcl     = array('link' => 'QA|auditcl|browse|', 'subModule' => 'auditcl');
$lang->admin->menu->waterfall['subMenu']->cmcl        = array('link' => '配置|cmcl|browse|', 'subModule' => ',cmcl,baseline,');
$lang->admin->menu->waterfall['subMenu']->process     = array('link' => '過程|process|browse|', 'subModule' => ',activity,zoutput,classify,', 'alias' => 'create,view,batchcreate');
$lang->admin->menu->waterfall['subMenu']->reviewcl    = array('link' => '評審|reviewcl|browse|category=PP|', 'subModule' => ',reviewcl,reviewsetting,');

$lang->assetlib->menu = new stdclass();
$lang->assetlib->menu->storylib       = array('link' => '需求庫|assetlib|storylib', 'alias' => 'createstorylib,storylibview,story,importstory,editstorylib,storyview,editstory');
$lang->assetlib->menu->caselib        = array('link' => '用例庫|assetlib|caselib');
$lang->assetlib->menu->issuelib       = array('link' => '問題庫|assetlib|issuelib', 'alias' => 'createissuelib,issuelibview,issue,importissue,editissuelib,issueview,editissue');
$lang->assetlib->menu->risklib        = array('link' => '風險庫|assetlib|risklib', 'alias' => 'createrisklib,risklibview,risk,importrisk,editrisklib,riskview,editrisk');
$lang->assetlib->menu->opportunitylib = array('link' => '機會庫|assetlib|opportunitylib', 'alias' => 'createopportunitylib,opportunitylibview,opportunity,importopportunity,editopportunitylib,opportunityview,editopportunity');
$lang->assetlib->menu->practicelib    = array('link' => '最佳實踐庫|assetlib|practicelib', 'alias' => 'createpracticelib,practicelibview,practice,importpractice,editpracticelib,practiceview,editpractice');
$lang->assetlib->menu->componentlib   = array('link' => '組件庫|assetlib|componentlib', 'alias' => 'createcomponentlib,componentlibview,component,importcomponent,editcomponentlib,componentview,editcomponent');

$lang->assetlib->menuOrder[5]  = 'storylib';
$lang->assetlib->menuOrder[10] = 'caselib';
$lang->assetlib->menuOrder[15] = 'issuelib';
$lang->assetlib->menuOrder[20] = 'risklib';
$lang->assetlib->menuOrder[25] = 'opportunitylib';
$lang->assetlib->menuOrder[30] = 'practicelib';
$lang->assetlib->menuOrder[35] = 'componentlib';

$lang->searchObjects['issue']       = '問題';
$lang->searchObjects['risk']        = '風險';
$lang->searchObjects['opportunity'] = '機會';
$lang->searchObjects['trainplan']   = '培訓計劃';

$lang->stage = new stdclass();
$lang->stage->attribute['dev'] = new stdclass();
$lang->stage->attribute['dev']->menu = new stdclass();
$lang->stage->attribute['dev']->menu = clone $lang->execution->menu;

unset($lang->stage->attribute['dev']->menu->other);

$lang->stage->attribute['dev']->dividerMenu = ',story,build,';

$lang->stage->attribute['request'] = new stdclass();
$lang->stage->attribute['request']->menu = new stdclass();
$lang->stage->attribute['request']->menu->task     = $lang->execution->menu->task;
$lang->stage->attribute['request']->menu->kanban   = $lang->execution->menu->kanban;
$lang->stage->attribute['request']->menu->burn     = $lang->execution->menu->burn;
$lang->stage->attribute['request']->menu->view     = $lang->execution->menu->view;
$lang->stage->attribute['request']->menu->effort   = $lang->execution->menu->effort;
$lang->stage->attribute['request']->menu->doc      = $lang->execution->menu->doc;
$lang->stage->attribute['request']->menu->action   = $lang->execution->menu->action;
$lang->stage->attribute['request']->menu->settings = $lang->execution->menu->settings;
if(isset($lang->execution->menu->more)) $lang->stage->attribute['request']->menu->more = $lang->execution->menu->more;

/* Execution menu order. */
$lang->stage->attribute['request']->menuOrder[5]  = 'task';
$lang->stage->attribute['request']->menuOrder[10] = 'kanban';
$lang->stage->attribute['request']->menuOrder[15] = 'burn';
$lang->stage->attribute['request']->menuOrder[20] = 'view';
$lang->stage->attribute['request']->menuOrder[25] = 'effort';
$lang->stage->attribute['request']->menuOrder[30] = 'doc';
$lang->stage->attribute['request']->menuOrder[35] = 'action';
$lang->stage->attribute['request']->menuOrder[40] = 'settings';
$lang->stage->attribute['request']->menuOrder[45] = 'more';

$lang->stage->attribute['request']->menu->settings['subMenu'] = new stdclass();
$lang->stage->attribute['request']->menu->settings['subMenu']->view      = $lang->execution->menu->settings['subMenu']->view;
$lang->stage->attribute['request']->menu->settings['subMenu']->team      = $lang->execution->menu->settings['subMenu']->team;
$lang->stage->attribute['request']->menu->settings['subMenu']->whitelist = $lang->execution->menu->settings['subMenu']->whitelist;

$lang->stage->attribute['request']->menu->settings['menuOrder'][5]  = 'view';
$lang->stage->attribute['request']->menu->settings['menuOrder'][10] = 'team';
$lang->stage->attribute['request']->menu->settings['menuOrder'][15] = 'whitelist';

$lang->stage->attribute['request']->dividerMenu = ',effort,';

$lang->stage->attribute['design'] = new stdclass();
$lang->stage->attribute['design']->menu = new stdclass();
$lang->stage->attribute['design']->menu->task     = $lang->execution->menu->task;
$lang->stage->attribute['design']->menu->kanban   = $lang->execution->menu->kanban;
$lang->stage->attribute['design']->menu->burn     = $lang->execution->menu->burn;
$lang->stage->attribute['design']->menu->view     = $lang->execution->menu->view;
$lang->stage->attribute['design']->menu->story    = $lang->execution->menu->story;
$lang->stage->attribute['design']->menu->effort   = $lang->execution->menu->effort;
$lang->stage->attribute['design']->menu->doc      = $lang->execution->menu->doc;
$lang->stage->attribute['design']->menu->action   = $lang->execution->menu->action;
$lang->stage->attribute['design']->menu->settings = $lang->execution->menu->settings;
if(isset($lang->execution->menu->more)) $lang->stage->attribute['design']->menu->more = $lang->execution->menu->more;

/* Execution menu order. */
$lang->stage->attribute['design']->menuOrder[5]  = 'task';
$lang->stage->attribute['design']->menuOrder[10] = 'kanban';
$lang->stage->attribute['design']->menuOrder[15] = 'burn';
$lang->stage->attribute['design']->menuOrder[20] = 'view';
$lang->stage->attribute['design']->menuOrder[25] = 'story';
$lang->stage->attribute['design']->menuOrder[30] = 'effort';
$lang->stage->attribute['design']->menuOrder[35] = 'doc';
$lang->stage->attribute['design']->menuOrder[40] = 'action';
$lang->stage->attribute['design']->menuOrder[45] = 'settings';
$lang->stage->attribute['design']->menuOrder[50] = 'more';

$lang->stage->attribute['design']->menu->settings['subMenu'] = new stdclass();
$lang->stage->attribute['design']->menu->settings['subMenu']->view      = $lang->execution->menu->settings['subMenu']->view;
$lang->stage->attribute['design']->menu->settings['subMenu']->team      = $lang->execution->menu->settings['subMenu']->team;
$lang->stage->attribute['design']->menu->settings['subMenu']->whitelist = $lang->execution->menu->settings['subMenu']->whitelist;

$lang->stage->attribute['design']->menu->settings['menuOrder'][5]  = 'view';
$lang->stage->attribute['design']->menu->settings['menuOrder'][10] = 'team';
$lang->stage->attribute['design']->menu->settings['menuOrder'][15] = 'whitelist';

$lang->stage->attribute['design']->dividerMenu = ',story,';

$lang->stage->attribute['qa'] = new stdclass();
$lang->stage->attribute['qa']->menu = new stdclass();
$lang->stage->attribute['qa']->menu->task     = $lang->execution->menu->task;
$lang->stage->attribute['qa']->menu->kanban   = $lang->execution->menu->kanban;
$lang->stage->attribute['qa']->menu->burn     = $lang->execution->menu->burn;
$lang->stage->attribute['qa']->menu->view     = $lang->execution->menu->view;
$lang->stage->attribute['qa']->menu->story    = $lang->execution->menu->story;
$lang->stage->attribute['qa']->menu->qa       = $lang->execution->menu->qa;
$lang->stage->attribute['qa']->menu->effort   = $lang->execution->menu->effort;
$lang->stage->attribute['qa']->menu->doc      = $lang->execution->menu->doc;
$lang->stage->attribute['qa']->menu->build    = $lang->execution->menu->build;
$lang->stage->attribute['qa']->menu->action   = $lang->execution->menu->action;
$lang->stage->attribute['qa']->menu->settings = $lang->execution->menu->settings;
if(isset($lang->execution->menu->more)) $lang->stage->attribute['qa']->menu->more = $lang->execution->menu->more;

/* Execution menu order. */
$lang->stage->attribute['qa']->menuOrder[5]  = 'task';
$lang->stage->attribute['qa']->menuOrder[10] = 'kanban';
$lang->stage->attribute['qa']->menuOrder[15] = 'burn';
$lang->stage->attribute['qa']->menuOrder[20] = 'view';
$lang->stage->attribute['qa']->menuOrder[25] = 'story';
$lang->stage->attribute['qa']->menuOrder[30] = 'qa';
$lang->stage->attribute['qa']->menuOrder[35] = 'effort';
$lang->stage->attribute['qa']->menuOrder[40] = 'doc';
$lang->stage->attribute['qa']->menuOrder[45] = 'build';
$lang->stage->attribute['qa']->menuOrder[50] = 'action';
$lang->stage->attribute['qa']->menuOrder[55] = 'settings';
$lang->stage->attribute['qa']->menuOrder[60] = 'more';

$lang->stage->attribute['qa']->dividerMenu = ',story,build,';

$lang->stage->attribute['release'] = new stdclass();
$lang->stage->attribute['release']->menu = new stdclass();
$lang->stage->attribute['release']->menu->task     = $lang->execution->menu->task;
$lang->stage->attribute['release']->menu->kanban   = $lang->execution->menu->kanban;
$lang->stage->attribute['release']->menu->burn     = $lang->execution->menu->burn;
$lang->stage->attribute['release']->menu->view     = $lang->execution->menu->view;
$lang->stage->attribute['release']->menu->story    = $lang->execution->menu->story;
$lang->stage->attribute['release']->menu->qa       = $lang->execution->menu->qa;
$lang->stage->attribute['release']->menu->devops   = $lang->execution->menu->devops;
$lang->stage->attribute['release']->menu->effort   = $lang->execution->menu->effort;
$lang->stage->attribute['release']->menu->doc      = $lang->execution->menu->doc;
$lang->stage->attribute['release']->menu->build    = $lang->execution->menu->build;
$lang->stage->attribute['release']->menu->action   = $lang->execution->menu->action;
$lang->stage->attribute['release']->menu->settings = $lang->execution->menu->settings;
if(isset($lang->execution->menu->more)) $lang->stage->attribute['release']->menu->more = $lang->execution->menu->more;

/* Execution menu order. */
$lang->stage->attribute['release']->menuOrder[5]  = 'task';
$lang->stage->attribute['release']->menuOrder[10] = 'kanban';
$lang->stage->attribute['release']->menuOrder[15] = 'burn';
$lang->stage->attribute['release']->menuOrder[20] = 'view';
$lang->stage->attribute['release']->menuOrder[25] = 'story';
$lang->stage->attribute['release']->menuOrder[30] = 'qa';
$lang->stage->attribute['release']->menuOrder[35] = 'devops';
$lang->stage->attribute['release']->menuOrder[40] = 'effort';
$lang->stage->attribute['release']->menuOrder[45] = 'doc';
$lang->stage->attribute['release']->menuOrder[50] = 'build';
$lang->stage->attribute['release']->menuOrder[55] = 'action';
$lang->stage->attribute['release']->menuOrder[60] = 'settings';
$lang->stage->attribute['release']->menuOrder[65] = 'more';

$lang->stage->attribute['release']->dividerMenu = ',story,build,';

$lang->stage->attribute['review'] = new stdclass();
$lang->stage->attribute['review']->menu = new stdclass();
$lang->stage->attribute['review']->menu->task     = $lang->execution->menu->task;
$lang->stage->attribute['review']->menu->kanban   = $lang->execution->menu->kanban;
$lang->stage->attribute['review']->menu->burn     = $lang->execution->menu->burn;
$lang->stage->attribute['review']->menu->view     = $lang->execution->menu->view;
$lang->stage->attribute['review']->menu->effort   = $lang->execution->menu->effort;
$lang->stage->attribute['review']->menu->doc      = $lang->execution->menu->doc;
$lang->stage->attribute['review']->menu->action   = $lang->execution->menu->action;
$lang->stage->attribute['review']->menu->settings = $lang->execution->menu->settings;
if(isset($lang->execution->menu->more)) $lang->stage->attribute['review']->menu->more = $lang->execution->menu->more;

/* Execution menu order. */
$lang->stage->attribute['review']->menuOrder[5]  = 'task';
$lang->stage->attribute['review']->menuOrder[10] = 'kanban';
$lang->stage->attribute['review']->menuOrder[15] = 'burn';
$lang->stage->attribute['review']->menuOrder[20] = 'view';
$lang->stage->attribute['review']->menuOrder[25] = 'effort';
$lang->stage->attribute['review']->menuOrder[30] = 'doc';
$lang->stage->attribute['review']->menuOrder[35] = 'action';
$lang->stage->attribute['review']->menuOrder[40] = 'settings';
$lang->stage->attribute['review']->menuOrder[45] = 'more';

$lang->stage->attribute['review']->menu->settings['subMenu'] = new stdclass();
$lang->stage->attribute['review']->menu->settings['subMenu']->view      = $lang->execution->menu->settings['subMenu']->view;
$lang->stage->attribute['review']->menu->settings['subMenu']->team      = $lang->execution->menu->settings['subMenu']->team;
$lang->stage->attribute['review']->menu->settings['subMenu']->whitelist = $lang->execution->menu->settings['subMenu']->whitelist;

$lang->stage->attribute['review']->menu->settings['menuOrder'][5]  = 'view';
$lang->stage->attribute['review']->menu->settings['menuOrder'][10] = 'team';
$lang->stage->attribute['review']->menu->settings['menuOrder'][15] = 'whitelist';

$lang->stage->attribute['review']->dividerMenu = ',effort,';
