<?php
$lang->maxName     = 'Max';
$lang->userCenter  = 'User Control';
$lang->importIcon  = "<i class='icon-import'> </i>";
$lang->dragAndSort = "Drag sort";
$lang->importToLib = "Import to lib";
$lang->scurmModel  = 'Scrum Model';

$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       = 'Issue';
$lang->risk->common        = 'Risk';
$lang->opportunity->common = 'Opportunity';
$lang->assetlib->common    = 'Asset Lib';
$lang->meeting->common     = 'Meeting';

$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' => "Meeting|my|meeting|", 'subModule' => 'meeting');

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

$lang->my->menu->work['subMenu']->issue     = 'Issue|my|work|mode=issue';
$lang->my->menu->work['subMenu']->risk      = 'Risk|my|work|mode=risk';
$lang->my->menu->work['subMenu']->audit     = array('link' => 'Aduit|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 = 'Meeting|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  = 'Issue|my|contribute|mode=issue';
$lang->my->menu->contribute['subMenu']->risk   = 'Risk|my|contribute|mode=risk';
$lang->my->menu->contribute['subMenu']->audit  = array('link' => 'Audit|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|report|projectsummary|project=%s', 'alias' => 'projectworkload,reportmodule,customeredreport,custom,show,viewreport');
$lang->report->projectMenu->measurement = array('link' => 'Measurement|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|issue|browse|projectID=%s', 'subModule' => 'issue');
$lang->scrum->menu->other['dropMenu']->risk    = array('link' => 'Risk|risk|browse|projectID=%s', 'subModule' => 'risk');
$lang->scrum->menu->other['dropMenu']->meeting = array('link' => 'Meeting|meeting|browse|projectID=%s', 'subModule' => 'meeting');
$lang->scrum->menu->other['dropMenu']->report  = array('link' => 'Report|report|projectsummary|projectID=%s', 'subModule' => 'measrecord,report');

$lang->scrum->menu->report['subMenu'] = new stdclass();
$lang->scrum->menu->report['subMenu']->summary    = array('link' => 'Project Summary|report|projectsummary|projectID=%s', 'alias' => 'projectworkload,show,customeredreport,viewreport');
$lang->scrum->menu->report['subMenu']->measrecord = array('link' => 'Measure Record|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|issue|browse|executionID=%s&from=execution', 'subModule' => 'issue');
$lang->execution->menu->other['dropMenu']->risk        = array('link' => 'Risk|risk|browse|executionID=%s&from=execution', 'subModule' => 'risk');
$lang->execution->menu->other['dropMenu']->opportunity = array('link' => "Opportunity|opportunity|browse|executionID=%s&from=execution", 'subModule' => 'opportunity');
$lang->execution->menu->other['dropMenu']->pssp        = array('link' => 'Pssp|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|meeting|browse|executionID=%s&from=execution', 'subModule' => 'meeting');

$lang->execution->menu->auditplan['subMenu'] = new stdclass();
$lang->execution->menu->auditplan['subMenu']->auditplan = array('link' => 'Auditplan|auditplan|browse|project=%s&from=execution', 'alias' => 'create,batchcreate,edit,batchcheck');
$lang->execution->menu->auditplan['subMenu']->nc        = array('link' => 'Nc|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|review|browse|project=%s', 'subModule' => 'review,reviewissue');
$lang->waterfall->menu->cm      = array('link' => 'CM|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' => 'Gantt|programplan|browse|projectID=%s&productID=0&type=gantt');
$lang->waterfall->menu->execution['subMenu']->lists = array('link' => 'Stage|project|execution|status=all&projectID=%s','subModule' => 'execution,programplan');

$lang->waterfall->menu->other['dropMenu'] = new stdclass();
$lang->waterfall->menu->other['dropMenu']->research    = array('link' => 'Research|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|issue|browse|projectID=%s", 'subModule' => 'issue');
$lang->waterfall->menu->other['dropMenu']->risk        = array('link' => "Risk|risk|browse|projectID=%s", 'subModule' => 'risk');
$lang->waterfall->menu->other['dropMenu']->opportunity = array('link' => "Opportunity|opportunity|browse|projectID=%s", 'subModule' => 'opportunity');
$lang->waterfall->menu->other['dropMenu']->pssp        = array('link' => 'Process|pssp|browse|projectID=%s', 'subModule' => 'pssp');
$lang->waterfall->menu->other['dropMenu']->report      = array('link' => 'Report|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' => 'Train|gapanalysis|browse|projectID=%s', 'subModule' => 'trainplan,gapanalysis');
$lang->waterfall->menu->other['dropMenu']->meeting     = array('link' => "Meeting|meeting|browse|projectID=%s", 'subModule' => 'meeting');

$lang->waterfall->menu->research['subMenu'] = new stdclass();
$lang->waterfall->menu->research['subMenu']->researchplan   = array('link' => 'Research Plan|researchplan|browse|projectID=%s', 'alias' => 'create,edit,view');
$lang->waterfall->menu->research['subMenu']->researchreport = array('link' => 'Research Report|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 = 'Work Estimation|workestimation|index|project=%s';
$lang->waterfall->menu->estimation['subMenu']->duration       = array('link' => 'Duration Estimation|durationestimation|index|project=%s', 'subModule' => 'durationestimation');
$lang->waterfall->menu->estimation['subMenu']->budget         = array('link' => 'Budget Estimation|budget|summary|project=%s', 'subModule' => 'budget');

$lang->waterfall->menu->auditplan['subMenu'] = new stdclass();
$lang->waterfall->menu->auditplan['subMenu']->auditplan = array('link' => 'Auditplan|auditplan|browse|project=%s', 'alias' => 'create,batchcreate,edit,batchcheck');
$lang->waterfall->menu->auditplan['subMenu']->nc        = array('link' => 'NC|nc|browse|project=%s', 'alias' => 'edit,view');

//$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 = 'Mile Stone|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' => 'Reivew List|review|browse|project=%s', 'alias' => 'report,assess,audit,create,edit,view');
$lang->waterfall->menu->review['subMenu']->issue  = array('link' => 'Review Issue|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|cm|browse|project=%s', 'alias' => 'create,edit,view');
$lang->waterfall->menu->cm['subMenu']->report = 'Report|cm|report|project=%s';

$lang->waterfall->menu->report['subMenu'] = new stdclass();
$lang->waterfall->menu->report['subMenu']->summary    = array('link' => 'SummaryReport|report|projectsummary|projectID=%s', 'alias' => 'projectworkload,show,customeredreport,viewreport');
$lang->waterfall->menu->report['subMenu']->measrecord = array('link' => 'Measrecord|measrecord|browse|projectID=%s');

$lang->waterfall->menu->train['subMenu'] = new stdclass();
$lang->waterfall->menu->train['subMenu']->gapanalysis = array('link' => 'Gap Analysis|gapanalysis|browse|projectID=%s', 'alias' => 'create,edit,view,batchcreate,batchedit');
$lang->waterfall->menu->train['subMenu']->trainplan   = array('link' => 'Train Plan|trainplan|browse|projectID=%s', 'alias' => 'create,edit,view,batchcreate,batchedit');

$lang->waterfall->menu->settings['subMenu'] = clone $lang->scrum->menu->settings['subMenu'];
$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' => 'Approval|approvalflow|browse|', 'subModule' => 'approvalflow', 'subMenu');
$lang->admin->menuOrder[23]  = 'approvalflow';

$lang->admin->menu->model['dropMenu']->scrum = array('link' => "{$lang->scurmModel}|auditcl|scrumbrowse|processID=0&browseType=scrum", 'subModule' => 'auditcl,process,activity,zoutput,classify,');

$lang->admin->menu->allModel['subMenu']->subject      = array('link' => 'Account|subject|browse|');
$lang->admin->menu->allModel['subMenu']->estimate     = array('link' => 'Estimation|custom|estimate');
$lang->admin->menu->allModel['subMenu']->baseline     = array('link' => 'Document Template|baseline|template', 'subModule' => 'baseline');
$lang->admin->menu->allModel['subMenu']->meetingroom  = array('link' => 'Meeting Room|meetingroom|browse', 'alias' => 'create,edit,view,batchcreate,batchedit');
$lang->admin->menu->allModel['subMenu']->measurement  = array('link' => 'Measurement|measurement|settips|', 'subModule' => 'sqlbuilder,measurement,report');

$lang->admin->menu->waterfall['subMenu']->auditcl     = array('link' => 'QA|auditcl|browse|processID=0&browseType=waterfall', 'subModule' => 'auditcl');
$lang->admin->menu->waterfall['subMenu']->cmcl        = array('link' => 'CM Checklist|cmcl|browse|', 'subModule' => ',cmcl,baseline,');
$lang->admin->menu->waterfall['subMenu']->process     = array('link' => 'Process|process|browse|browseType=waterfall', 'subModule' => ',activity,zoutput,classify,', 'alias' => 'create,edit,view,batchcreate');
$lang->admin->menu->waterfall['subMenu']->reviewcl    = array('link' => 'Review Checklist|reviewcl|browse|category=PP|', 'subModule' => ',reviewcl,reviewsetting,');

$lang->admin->menu->scrum['subMenu'] = new stdclass();
$lang->admin->menu->scrum['subMenu']->auditcl = array('link' => 'QA|auditcl|scrumbrowse|processID=0&browseType=scrum', 'subModule' => 'auditcl');
$lang->admin->menu->scrum['subMenu']->process = array('link' => 'Process|process|browse|browseType=scrum', 'subModule' => 'process,activity,zoutput,classify,');

$lang->assetlib->menu = new stdclass();
$lang->assetlib->menu->storylib       = array('link' => 'Story Lib|assetlib|storylib', 'alias' => 'createstorylib,storylibview,story,importstory,editstorylib,storyview,editstory,assigntostory');
$lang->assetlib->menu->caselib        = array('link' => 'Case Lib|assetlib|caselib');
$lang->assetlib->menu->issuelib       = array('link' => 'Issue Lib|assetlib|issuelib', 'alias' => 'createissuelib,issuelibview,issue,importissue,editissuelib,issueview,editissue,assigntoissue');
$lang->assetlib->menu->risklib        = array('link' => 'Risk Lib|assetlib|risklib', 'alias' => 'createrisklib,risklibview,risk,importrisk,editrisklib,riskview,editrisk,assigntorisk');
$lang->assetlib->menu->opportunitylib = array('link' => 'Opportunity Lib|assetlib|opportunitylib', 'alias' => 'createopportunitylib,opportunitylibview,opportunity,importopportunity,editopportunitylib,opportunityview,editopportunity,assigntoopportunity');
$lang->assetlib->menu->practicelib    = array('link' => 'Practice Lib|assetlib|practicelib', 'alias' => 'createpracticelib,practicelibview,practice,importpractice,editpracticelib,practiceview,editpractice,assigntopractice');
$lang->assetlib->menu->componentlib   = array('link' => 'Component Lib|assetlib|componentlib', 'alias' => 'createcomponentlib,componentlibview,component,importcomponent,editcomponentlib,componentview,editcomponent,assigntocomponent');

$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']       = 'Issue';
$lang->searchObjects['risk']        = 'Risk';
$lang->searchObjects['opportunity'] = 'Opportunity';
$lang->searchObjects['trainplan']   = 'Train Plan';

$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,';
