<?php
$lang->moduleOrder[96]  = 'milestone';
$lang->moduleOrder[220] = 'issue';
$lang->moduleOrder[225] = 'risk';
$lang->moduleOrder[235] = 'budget';
$lang->moduleOrder[240] = 'workestimation';
$lang->moduleOrder[245] = 'durationestimation';
$lang->moduleOrder[250] = 'holiday';
$lang->moduleOrder[255] = 'weekly';
$lang->moduleOrder[260] = 'opportunity';
$lang->moduleOrder[265] = 'trainplan';
$lang->moduleOrder[270] = 'nc';
$lang->moduleOrder[275] = 'gapanalysis';
$lang->moduleOrder[280] = 'researchplan';
$lang->moduleOrder[285] = 'researchreport';
$lang->moduleOrder[290] = 'meeting';
$lang->moduleOrder[295] = 'meetingroom';
$lang->moduleOrder[297] = 'approval';

global $config;
if($config->vision != 'lite')
{
    $lang->resource->story->importToLib      = 'importToLib';
    $lang->resource->story->batchImportToLib = 'batchImportToLib';
    $lang->resource->story->relation         = 'relation';

    if($config->systemMode == 'new') $lang->resource->projectstory->importFromLib = 'importFromLib';

    $lang->resource->doc->importToPracticeLib  = 'importToPracticeLib';
    $lang->resource->doc->importToComponentLib = 'importToComponentLib';

    $lang->resource->my->meeting = 'meeting';

    $lang->resource->pssp = new stdclass();
    $lang->resource->pssp->browse = 'browse';
    $lang->resource->pssp->update = 'update';

    $lang->resource->report->projectSummary   = 'projectSummary';
    $lang->resource->report->projectWorkload  = 'projectWorkload';
    $lang->resource->report->customeredReport = 'customeredReport';
    $lang->resource->report->instanceTemplate = 'instanceTemplate';

    $lang->resource->baseline = new stdclass();
    $lang->resource->baseline->template       = 'template';
    $lang->resource->baseline->createTemplate = 'createTemplate';
    $lang->resource->baseline->view           = 'view';
    $lang->resource->baseline->editTemplate   = 'editTemplate';
    $lang->resource->baseline->editBook       = 'editBook';
    $lang->resource->baseline->articleview    = 'articleView';
    $lang->resource->baseline->catalog        = 'catalog';
    $lang->resource->baseline->manageBook     = 'manageBook';
    $lang->resource->baseline->delete         = 'delete';

    $lang->resource->classify = new stdclass();
    $lang->resource->classify->browse = 'browse';

    $lang->resource->cm = new stdclass();
    $lang->resource->cm->create = 'create';
    $lang->resource->cm->delete = 'delete';
    $lang->resource->cm->edit   = 'edit';
    $lang->resource->cm->browse = 'browse';
    $lang->resource->cm->view   = 'view';
    $lang->resource->cm->report = 'report';

    $lang->resource->cmcl = new stdclass();
    $lang->resource->cmcl->batchCreate = 'batchCreate';
    $lang->resource->cmcl->delete      = 'delete';
    $lang->resource->cmcl->edit        = 'edit';
    $lang->resource->cmcl->browse      = 'browse';
    $lang->resource->cmcl->view        = 'view';

    $lang->resource->custom->estimate = 'estimate';
    $lang->custom->methodOrder[50] = 'estimate';

    $lang->resource->auditcl = new stdclass();
    $lang->resource->auditcl->batchCreate = 'batchCreate';
    $lang->resource->auditcl->batchEdit   = 'batchEdit';
    $lang->resource->auditcl->delete      = 'delete';
    $lang->resource->auditcl->edit        = 'edit';
    $lang->resource->auditcl->browse      = 'browse';
    $lang->resource->auditcl->scrumBrowse = 'scrumBrowse';
    $lang->resource->auditcl->view        = 'view';

    $lang->resource->reviewcl = new stdclass();
    $lang->resource->reviewcl->browse      = 'browse';
    $lang->resource->reviewcl->create      = 'create';
    $lang->resource->reviewcl->batchCreate = 'batchCreate';
    $lang->resource->reviewcl->delete      = 'delete';
    $lang->resource->reviewcl->edit        = 'edit';
    $lang->resource->reviewcl->view        = 'view';

    $lang->resource->process = new stdclass();
    $lang->resource->process->scrumBrowse  = 'scrumBrowse';
    $lang->resource->process->browse       = 'browse';
    $lang->resource->process->create       = 'create';
    $lang->resource->process->batchCreate  = 'batchCreate';
    $lang->resource->process->delete       = 'delete';
    $lang->resource->process->edit         = 'edit';
    $lang->resource->process->view         = 'view';
    $lang->resource->process->updateOrder  = 'updateOrder';
    $lang->resource->process->activityList = 'activityList';

    $lang->resource->activity = new stdclass();
    $lang->resource->activity->browse      = 'browse';
    $lang->resource->activity->create      = 'create';
    $lang->resource->activity->batchCreate = 'batchCreate';
    $lang->resource->activity->delete      = 'delete';
    $lang->resource->activity->edit        = 'edit';
    $lang->resource->activity->view        = 'view';
    $lang->resource->activity->assignTo    = 'assignTo';
    $lang->resource->activity->outputList  = 'outputList';
    $lang->resource->activity->updateOrder = 'updateOrder';

    $lang->resource->zoutput = new stdclass();
    $lang->resource->zoutput->browse      = 'browse';
    $lang->resource->zoutput->create      = 'create';
    $lang->resource->zoutput->edit        = 'edit';
    $lang->resource->zoutput->batchCreate = 'batchCreate';
    $lang->resource->zoutput->batchEdit   = 'batchEdit';
    $lang->resource->zoutput->delete      = 'delete';
    $lang->resource->zoutput->view        = 'view';
    $lang->resource->zoutput->updateOrder = 'updateOrder';

    $lang->resource->auditplan = new stdclass();
    $lang->resource->auditplan->browse      = 'browseAction';
    $lang->resource->auditplan->create      = 'create';
    $lang->resource->auditplan->edit        = 'editAction';
    $lang->resource->auditplan->batchCreate = 'batchCreate';
    $lang->resource->auditplan->batchEdit   = 'batchEdit';
    $lang->resource->auditplan->batchCheck  = 'batchCheck';
    $lang->resource->auditplan->check       = 'check';
    $lang->resource->auditplan->nc          = 'nc';
    $lang->resource->auditplan->result      = 'result';
    $lang->resource->auditplan->delete      = 'delete';
    $lang->resource->auditplan->assignTo    = 'assignTo';

    $lang->resource->nc           = new stdclass();
    $lang->resource->nc->browse   = 'browse';
    $lang->resource->nc->create   = 'create';
    $lang->resource->nc->edit     = 'edit';
    $lang->resource->nc->resolve  = 'resolve';
    $lang->resource->nc->view     = 'view';
    $lang->resource->nc->close    = 'close';
    $lang->resource->nc->delete   = 'delete';
    $lang->resource->nc->assignTo = 'assignTo';
    $lang->resource->nc->activate = 'activate';
    $lang->resource->nc->export   = 'exportAction';

    $lang->resource->subject         = new stdclass();
    $lang->resource->subject->browse = 'browse';

    $lang->resource->approval = new stdclass();
    $lang->resource->approval->progress = 'progress';

    $lang->resource->approvalflow = new stdclass();
    $lang->resource->approvalflow->browse     = 'browse';
    $lang->resource->approvalflow->create     = 'create';
    $lang->resource->approvalflow->edit       = 'edit';
    $lang->resource->approvalflow->view       = 'view';
    $lang->resource->approvalflow->design     = 'design';
    $lang->resource->approvalflow->delete     = 'delete';
    $lang->resource->approvalflow->role       = 'roleList';
    $lang->resource->approvalflow->createRole = 'createRole';
    $lang->resource->approvalflow->editRole   = 'editRole';
    $lang->resource->approvalflow->deleteRole = 'deleteRole';

    $lang->resource->project->approval = 'approval';

    if(!isset($lang->resource->programplan)) $lang->resource->programplan = new stdclass();
    $lang->resource->programplan->browse    = 'gantt';
    $lang->resource->programplan->ganttEdit = 'ganttEdit';

    $lang->programplan->methodOrder[10]  = 'browse';
}

/* Holiday. */
$lang->resource->holiday = new stdclass();
$lang->resource->holiday->browse = 'browse';
$lang->resource->holiday->create = 'create';
$lang->resource->holiday->edit   = 'edit';
$lang->resource->holiday->delete = 'delete';

$lang->holiday->methodOrder[5]  = 'browse';
$lang->holiday->methodOrder[10] = 'create';
$lang->holiday->methodOrder[15] = 'edit';
$lang->holiday->methodOrder[20] = 'delete';

if($config->vision != 'lite')
{
    $lang->resource->testcase->submit = 'submit';

    $lang->resource->task->confirmdesignchange = 'confirmDesignChange';

    /* Weekly. */
    $lang->resource->weekly = new stdclass();
    $lang->resource->weekly->index = 'index';

    /* Work estimation. */
    $lang->resource->workestimation = new stdclass();
    $lang->resource->workestimation->index  = 'index';

    if(!isset($lang->workestimation)) $lang->workestimation = new stdclass();
    $lang->workestimation->methodOrder[5] = 'index';

    if(!isset($lang->resource->design)) $lang->resource->design = new stdclass();
    $lang->resource->design->submit = 'submit';
    $lang->design->methodOrder[60] = 'submit';

    $lang->my->methodOrder[120] = 'meeting';

    /* Issue . */
    $lang->resource->issue = new stdclass();
    $lang->resource->issue->browse           = 'browse';
    $lang->resource->issue->create           = 'create';
    $lang->resource->issue->batchCreate      = 'batchCreate';
    $lang->resource->issue->delete           = 'deleteAction';
    $lang->resource->issue->edit             = 'editAction';
    $lang->resource->issue->confirm          = 'confirmAction';
    $lang->resource->issue->assignTo         = 'assignToAction';
    $lang->resource->issue->close            = 'closeAction';
    $lang->resource->issue->cancel           = 'cancelAction';
    $lang->resource->issue->activate         = 'activateAction';
    $lang->resource->issue->resolve          = 'resolveAction';
    $lang->resource->issue->view             = 'view';
    $lang->resource->issue->export           = 'exportAction';
    $lang->resource->issue->importToLib      = 'importToLib';
    $lang->resource->issue->batchImportToLib = 'batchImportToLib';
    $lang->resource->issue->importFromLib    = 'importFromLib';

    $lang->issue->methodOrder[5]  = 'browse';
    $lang->issue->methodOrder[10] = 'create';
    $lang->issue->methodOrder[15] = 'batchCreate';
    $lang->issue->methodOrder[20] = 'delete';
    $lang->issue->methodOrder[25] = 'edit';
    $lang->issue->methodOrder[30] = 'confirm';
    $lang->issue->methodOrder[35] = 'assignTo';
    $lang->issue->methodOrder[40] = 'close';
    $lang->issue->methodOrder[45] = 'cancel';
    $lang->issue->methodOrder[50] = 'activate';
    $lang->issue->methodOrder[55] = 'resolve';
    $lang->issue->methodOrder[60] = 'view';
    $lang->issue->methodOrder[65] = 'export';
    $lang->issue->methodOrder[70] = 'importToLib';
    $lang->issue->methodOrder[75] = 'batchImportToLib';
    $lang->issue->methodOrder[80] = 'importFromLib';

    /* Duration estimation. */
    $lang->resource->durationestimation = new stdclass();
    $lang->resource->durationestimation->index  = 'indexAction';
    $lang->resource->durationestimation->create = 'create';

    if(!isset($lang->durationestimation)) $lang->durationestimation = new stdclass();
    $lang->durationestimation->methodOrder[5]  = 'index';
    $lang->durationestimation->methodOrder[10] = 'create';

    /* Risk . */
    $lang->resource->risk = new stdclass();
    $lang->resource->risk->browse           = 'browse';
    $lang->resource->risk->create           = 'create';
    $lang->resource->risk->edit             = 'edit';
    $lang->resource->risk->delete           = 'deleteAction';
    $lang->resource->risk->activate         = 'activateAction';
    $lang->resource->risk->close            = 'closeAction';
    $lang->resource->risk->hangup           = 'hangupAction';
    $lang->resource->risk->batchCreate      = 'batchCreate';
    $lang->resource->risk->cancel           = 'cancelAction';
    $lang->resource->risk->track            = 'trackAction';
    $lang->resource->risk->view             = 'view';
    $lang->resource->risk->assignTo         = 'assignToAction';
    $lang->resource->risk->importToLib      = 'importToLib';
    $lang->resource->risk->batchImportToLib = 'batchImportToLib';
    $lang->resource->risk->importFromLib    = 'importFromLib';
    $lang->resource->risk->export           = 'exportAction';

    $lang->risk->methodOrder[5]  = 'browse';
    $lang->risk->methodOrder[10] = 'create';
    $lang->risk->methodOrder[15] = 'edit';
    $lang->risk->methodOrder[20] = 'delete';
    $lang->risk->methodOrder[25] = 'activate';
    $lang->risk->methodOrder[30] = 'close';
    $lang->risk->methodOrder[35] = 'hangup';
    $lang->risk->methodOrder[40] = 'batchCreate';
    $lang->risk->methodOrder[45] = 'cancel';
    $lang->risk->methodOrder[50] = 'track';
    $lang->risk->methodOrder[55] = 'view';
    $lang->risk->methodOrder[60] = 'assignTo';
    $lang->risk->methodOrder[66] = 'importToLib';
    $lang->risk->methodOrder[70] = 'batchImportToLib';
    $lang->risk->methodOrder[75] = 'importFromLib';
    $lang->risk->methodOrder[80] = 'export';

    $lang->resource->user->issue = 'issue';
    $lang->resource->user->risk  = 'risk';

    /* Opportunity. */
    $lang->resource->opportunity = new stdclass();
    $lang->resource->opportunity->browse           = 'browse';
    $lang->resource->opportunity->create           = 'create';
    $lang->resource->opportunity->edit             = 'edit';
    $lang->resource->opportunity->delete           = 'deleteAction';
    $lang->resource->opportunity->activate         = 'activateAction';
    $lang->resource->opportunity->close            = 'closeAction';
    $lang->resource->opportunity->hangup           = 'hangupAction';
    $lang->resource->opportunity->cancel           = 'cancelAction';
    $lang->resource->opportunity->track            = 'trackAction';
    $lang->resource->opportunity->view             = 'view';
    $lang->resource->opportunity->assignTo         = 'assignToAction';
    $lang->resource->opportunity->batchCreate      = 'batchCreate';
    $lang->resource->opportunity->batchEdit        = 'batchEdit';
    $lang->resource->opportunity->batchAssignTo    = 'batchAssignTo';
    $lang->resource->opportunity->batchClose       = 'batchClose';
    $lang->resource->opportunity->batchCancel      = 'batchCancel';
    $lang->resource->opportunity->batchHangup      = 'batchHangup';
    $lang->resource->opportunity->batchActivate    = 'batchActivate';
    $lang->resource->opportunity->importToLib      = 'importToLib';
    $lang->resource->opportunity->batchImportToLib = 'batchImportToLib';
    $lang->resource->opportunity->importFromLib    = 'importFromLib';
    $lang->resource->opportunity->export           = 'exportAction';

    $lang->opportunity->methodOrder[5]   = 'browse';
    $lang->opportunity->methodOrder[10]  = 'create';
    $lang->opportunity->methodOrder[15]  = 'edit';
    $lang->opportunity->methodOrder[20]  = 'delete';
    $lang->opportunity->methodOrder[25]  = 'activate';
    $lang->opportunity->methodOrder[30]  = 'close';
    $lang->opportunity->methodOrder[35]  = 'hangup';
    $lang->opportunity->methodOrder[40]  = 'cancel';
    $lang->opportunity->methodOrder[45]  = 'track';
    $lang->opportunity->methodOrder[50]  = 'view';
    $lang->opportunity->methodOrder[55]  = 'assignTo';
    $lang->opportunity->methodOrder[60]  = 'batchCreate';
    $lang->opportunity->methodOrder[65]  = 'batchEdit';
    $lang->opportunity->methodOrder[70]  = 'batchAssignTo';
    $lang->opportunity->methodOrder[75]  = 'batchClose';
    $lang->opportunity->methodOrder[80]  = 'batchCancel';
    $lang->opportunity->methodOrder[85]  = 'batchHangup';
    $lang->opportunity->methodOrder[90]  = 'batchActivate';
    $lang->opportunity->methodOrder[95]  = 'importToLib';
    $lang->opportunity->methodOrder[100] = 'batchImportToLib';
    $lang->opportunity->methodOrder[105] = 'importFromLib';
    $lang->opportunity->methodOrder[110] = 'export';

    /* Trainplan. */
    $lang->resource->trainplan = new stdclass();
    $lang->resource->trainplan->browse      = 'browse';
    $lang->resource->trainplan->create      = 'create';
    $lang->resource->trainplan->edit        = 'edit';
    $lang->resource->trainplan->batchCreate = 'batchCreate';
    $lang->resource->trainplan->batchEdit   = 'batchEdit';
    $lang->resource->trainplan->batchFinish = 'batchFinish';
    $lang->resource->trainplan->delete      = 'delete';
    $lang->resource->trainplan->finish      = 'finishAction';
    $lang->resource->trainplan->summary     = 'summaryAction';
    $lang->resource->trainplan->view        = 'view';

    if(!isset($lang->trainplan)) $lang->trainplan = new stdclass();
    $lang->trainplan->methodOrder[5]  = 'browse';
    $lang->trainplan->methodOrder[10] = 'create';
    $lang->trainplan->methodOrder[15] = 'edit';
    $lang->trainplan->methodOrder[20] = 'batchCreate';
    $lang->trainplan->methodOrder[25] = 'batchEdit';
    $lang->trainplan->methodOrder[30] = 'batchFinish';
    $lang->trainplan->methodOrder[35] = 'delete';
    $lang->trainplan->methodOrder[40] = 'finish';
    $lang->trainplan->methodOrder[45] = 'summary';
    $lang->trainplan->methodOrder[50] = 'view';

    /* Gapanalysis. */
    $lang->resource->gapanalysis = new stdclass();
    $lang->resource->gapanalysis->browse      = 'browse';
    $lang->resource->gapanalysis->create      = 'create';
    $lang->resource->gapanalysis->edit        = 'edit';
    $lang->resource->gapanalysis->batchCreate = 'batchCreate';
    $lang->resource->gapanalysis->batchEdit   = 'batchEdit';
    $lang->resource->gapanalysis->delete      = 'delete';
    $lang->resource->gapanalysis->view        = 'view';

    if(!isset($lang->gapanalysis)) $lang->gapanalysis = new stdclass();
    $lang->gapanalysis->methodOrder[5]  = 'browse';
    $lang->gapanalysis->methodOrder[10] = 'create';
    $lang->gapanalysis->methodOrder[15] = 'edit';
    $lang->gapanalysis->methodOrder[20] = 'batchCreate';
    $lang->gapanalysis->methodOrder[25] = 'batchEdit';
    $lang->gapanalysis->methodOrder[30] = 'delete';
    $lang->gapanalysis->methodOrder[35] = 'view';

    /* Resrerch plan. */
    $lang->resource->researchplan = new stdclass();
    $lang->resource->researchplan->browse = 'browse';
    $lang->resource->researchplan->create = 'create';
    $lang->resource->researchplan->edit   = 'edit';
    $lang->resource->researchplan->delete = 'delete';
    $lang->resource->researchplan->view   = 'view';

    if(!isset($lang->researchplan)) $lang->researchplan = new stdclass();
    $lang->researchplan->methodOrder[5]  = 'browse';
    $lang->researchplan->methodOrder[10] = 'create';
    $lang->researchplan->methodOrder[15] = 'edit';
    $lang->researchplan->methodOrder[20] = 'delete';
    $lang->researchplan->methodOrder[25] = 'view';

    /* Resrerch report. */
    $lang->resource->researchreport = new stdclass();
    $lang->resource->researchreport->browse = 'browse';
    $lang->resource->researchreport->create = 'create';
    $lang->resource->researchreport->edit   = 'edit';
    $lang->resource->researchreport->delete = 'delete';
    $lang->resource->researchreport->view   = 'view';

    if(!isset($lang->researchreport)) $lang->researchreport = new stdclass();
    $lang->researchreport->methodOrder[5]  = 'browse';
    $lang->researchreport->methodOrder[10] = 'create';
    $lang->researchreport->methodOrder[15] = 'edit';
    $lang->researchreport->methodOrder[20] = 'delete';
    $lang->researchreport->methodOrder[25] = 'view';

    /* Meeting. */
    $lang->resource->meeting = new stdclass();
    $lang->resource->meeting->browse  = 'browse';
    $lang->resource->meeting->create  = 'create';
    $lang->resource->meeting->edit    = 'edit';
    $lang->resource->meeting->delete  = 'deleteAction';
    $lang->resource->meeting->view    = 'view';
    $lang->resource->meeting->minutes = 'minutes';

    if(!isset($lang->meeting)) $lang->meeting = new stdclass();
    $lang->meeting->methodOrder[5]  = 'browse';
    $lang->meeting->methodOrder[10] = 'create';
    $lang->meeting->methodOrder[15] = 'edit';
    $lang->meeting->methodOrder[20] = 'delete';
    $lang->meeting->methodOrder[25] = 'view';
    $lang->meeting->methodOrder[30] = 'minutes';

    /* Meetingroom. */
    $lang->resource->meetingroom = new stdclass();
    $lang->resource->meetingroom->browse      = 'browse';
    $lang->resource->meetingroom->create      = 'create';
    $lang->resource->meetingroom->edit        = 'edit';
    $lang->resource->meetingroom->batchCreate = 'batchCreate';
    $lang->resource->meetingroom->batchEdit   = 'batchEdit';
    $lang->resource->meetingroom->delete      = 'deleteAction';
    $lang->resource->meetingroom->view        = 'view';

    if(!isset($lang->meetingroom)) $lang->meetingroom = new stdclass();
    $lang->meetingroom->methodOrder[5]  = 'browse';
    $lang->meetingroom->methodOrder[10] = 'create';
    $lang->meetingroom->methodOrder[15] = 'edit';
    $lang->meetingroom->methodOrder[20] = 'delete';
    $lang->meetingroom->methodOrder[25] = 'view';
    $lang->meetingroom->methodOrder[30] = 'batchCreate';
    $lang->meetingroom->methodOrder[35] = 'batchEdit';

    /* Budget. */
    $lang->resource->budget = new stdclass();
    $lang->resource->budget->browse      = 'browseAction';
    $lang->resource->budget->summary     = 'summaryAction';
    $lang->resource->budget->create      = 'createAction';
    $lang->resource->budget->batchCreate = 'batchCreate';
    $lang->resource->budget->edit        = 'editAction';
    $lang->resource->budget->view        = 'viewAction';
    $lang->resource->budget->delete      = 'deleteAction';

    if(!isset($lang->budget)) $lang->budget = new stdclass();
    $lang->budget->methodOrder[5]  = 'browse';
    $lang->budget->methodOrder[10] = 'summary';
    $lang->budget->methodOrder[15] = 'create';
    $lang->budget->methodOrder[20] = 'batchCreate';
    $lang->budget->methodOrder[25] = 'edit';
    $lang->budget->methodOrder[30] = 'view';
    $lang->budget->methodOrder[35] = 'delete';

    $lang->resource->reviewissue = new stdclass();
    $lang->resource->reviewissue->issue            = 'issue';
    $lang->resource->reviewissue->updateStatus     = 'updateStatus';
    $lang->resource->reviewissue->resolved         = 'resolved';
    $lang->resource->reviewissue->create           = 'create';
    $lang->resource->reviewissue->edit             = 'edit';
    $lang->resource->reviewissue->view             = 'view';

    $lang->resource->reviewsetting = new stdclass();
    $lang->resource->reviewsetting->version  = 'version';
    $lang->resource->reviewsetting->reviewer = 'reviewer';

    $lang->resource->review = new stdclass();
    $lang->resource->review->browse        = 'browse';
    $lang->resource->review->assess        = 'assess';
    $lang->resource->review->create        = 'create';
    $lang->resource->review->edit          = 'edit';
    $lang->resource->review->view          = 'view';
    $lang->resource->review->submit        = 'submit';
    $lang->resource->review->recall        = 'recall';
    $lang->resource->review->report        = 'reviewReport';
    $lang->resource->review->toAudit       = 'toAudit';
    $lang->resource->review->audit         = 'audit';

    $lang->resource->milestone = new stdclass();
    $lang->resource->milestone->index            = 'indexAction';
    $lang->resource->milestone->saveOtherProblem = 'saveOtherProblem';

    if(!isset($lang->milestone)) $lang->milestone = new stdclass();
    $lang->milestone->methodOrder[5]  = 'index';
    $lang->milestone->methodOrder[10] = 'saveOtherProblem';

    $lang->resource->measurement = new stdclass();
    $lang->resource->measurement->settips          = 'setTips';
    $lang->resource->measurement->setSQL           = 'setSQL';
    $lang->resource->measurement->browse           = 'browse';
    $lang->resource->measurement->createBasic      = 'createBasic';
    $lang->resource->measurement->delete           = 'delete';
    $lang->resource->measurement->editDerivation   = 'editDerivation';
    $lang->resource->measurement->editBasic        = 'editBasic';
    $lang->resource->measurement->searchMeas       = 'searchMeas';
    $lang->resource->measurement->template         = 'template';
    $lang->resource->measurement->createTemplate   = 'createTemplate';
    $lang->resource->measurement->editTemplate     = 'editTemplate';
    $lang->resource->measurement->viewTemplate     = 'viewTemplate';
    $lang->resource->measurement->design           = 'design';
    $lang->resource->measurement->designPHP        = 'designPHP';
    $lang->resource->measurement->designSQL        = 'designSQL';
    $lang->resource->measurement->initCrontabQueue = 'initCrontabQueue';
    $lang->resource->measurement->execCrontabQueue = 'execCrontabQueue';
    $lang->resource->measurement->batchEdit        = 'batchEdit';
    $lang->resource->measurement->saveReport       = 'saveReportAB';

    $lang->resource->measrecord = new stdclass();
    $lang->resource->measrecord->browse = 'browse';

    if($config->systemMode == 'new')
    {
        $lang->resource->stakeholder->plan  = 'plan';
        $lang->stakeholder->methodOrder[20] = 'plan';
    }

    $lang->resource->sqlbuilder = new stdclass();
    $lang->resource->sqlbuilder->browseSQLView = 'browseSQLView';
    $lang->resource->sqlbuilder->createSQLView = 'createSQLView';
    $lang->resource->sqlbuilder->editSQLView   = 'editSQLView';
    $lang->resource->sqlbuilder->deleteSQLView = 'deleteSQLView';

    /* Assetlib*/
    $lang->resource->assetlib = new stdclass();
    $lang->resource->assetlib->caselib                  = 'caseLib';
    $lang->resource->assetlib->storylib                 = 'storyLib';
    $lang->resource->assetlib->createStorylib           = 'createStoryLib';
    $lang->resource->assetlib->editStorylib             = 'editStoryLib';
    $lang->resource->assetlib->deleteStorylib           = 'deleteStoryLib';
    $lang->resource->assetlib->storyLibView             = 'storyLibView';
    $lang->resource->assetlib->story                    = 'story';
    $lang->resource->assetlib->importStory              = 'importStory';
    $lang->resource->assetlib->assignToStory            = 'assignToStory';
    $lang->resource->assetlib->batchAssignToStory       = 'batchAssignToStory';
    $lang->resource->assetlib->approveStory             = 'approveStory';
    $lang->resource->assetlib->batchApproveStory        = 'batchApproveStory';
    $lang->resource->assetlib->editStory                = 'editStory';
    $lang->resource->assetlib->removeStory              = 'removeStory';
    $lang->resource->assetlib->batchRemoveStory         = 'batchRemoveStory';
    $lang->resource->assetlib->storyView                = 'storyView';
    $lang->resource->assetlib->issuelib                 = 'issueLib';
    $lang->resource->assetlib->createIssuelib           = 'createIssueLib';
    $lang->resource->assetlib->editIssuelib             = 'editIssueLib';
    $lang->resource->assetlib->deleteIssuelib           = 'deleteIssueLib';
    $lang->resource->assetlib->issueLibView             = 'issueLibView';
    $lang->resource->assetlib->issue                    = 'issue';
    $lang->resource->assetlib->importIssue              = 'importIssue';
    $lang->resource->assetlib->assignToIssue            = 'assignToIssue';
    $lang->resource->assetlib->batchAssignToIssue       = 'batchAssignToIssue';
    $lang->resource->assetlib->approveIssue             = 'approveIssue';
    $lang->resource->assetlib->batchApproveIssue        = 'batchApproveIssue';
    $lang->resource->assetlib->editIssue                = 'editIssue';
    $lang->resource->assetlib->removeIssue              = 'removeIssue';
    $lang->resource->assetlib->batchRemoveIssue         = 'batchRemoveIssue';
    $lang->resource->assetlib->issueView                = 'issueView';
    $lang->resource->assetlib->risklib                  = 'riskLib';
    $lang->resource->assetlib->createRisklib            = 'createRiskLib';
    $lang->resource->assetlib->editRisklib              = 'editRiskLib';
    $lang->resource->assetlib->deleteRisklib            = 'deleteRiskLib';
    $lang->resource->assetlib->riskLibView              = 'riskLibView';
    $lang->resource->assetlib->risk                     = 'risk';
    $lang->resource->assetlib->importRisk               = 'importRisk';
    $lang->resource->assetlib->assignToRisk             = 'assignToRisk';
    $lang->resource->assetlib->batchAssignToRisk        = 'batchAssignToRisk';
    $lang->resource->assetlib->approveRisk              = 'approveRisk';
    $lang->resource->assetlib->batchApproveRisk         = 'batchApproveRisk';
    $lang->resource->assetlib->editRisk                 = 'editRisk';
    $lang->resource->assetlib->removeRisk               = 'removeRisk';
    $lang->resource->assetlib->batchRemoveRisk          = 'batchRemoveRisk';
    $lang->resource->assetlib->riskView                 = 'riskView';
    $lang->resource->assetlib->opportunitylib           = 'opportunityLib';
    $lang->resource->assetlib->createOpportunitylib     = 'createOpportunityLib';
    $lang->resource->assetlib->editOpportunitylib       = 'editOpportunityLib';
    $lang->resource->assetlib->deleteOpportunitylib     = 'deleteOpportunityLib';
    $lang->resource->assetlib->opportunityLibView       = 'opportunityLibView';
    $lang->resource->assetlib->opportunity              = 'opportunity';
    $lang->resource->assetlib->importOpportunity        = 'importOpportunity';
    $lang->resource->assetlib->assignToOpportunity      = 'assignToOpportunity';
    $lang->resource->assetlib->batchAssignToOpportunity = 'batchAssignToOpportunity';
    $lang->resource->assetlib->approveOpportunity       = 'approveOpportunity';
    $lang->resource->assetlib->batchApproveOpportunity  = 'batchApproveOpportunity';
    $lang->resource->assetlib->editOpportunity          = 'editOpportunity';
    $lang->resource->assetlib->removeOpportunity        = 'removeOpportunity';
    $lang->resource->assetlib->batchRemoveOpportunity   = 'batchRemoveOpportunity';
    $lang->resource->assetlib->opportunityView          = 'opportunityView';
    $lang->resource->assetlib->practicelib              = 'practiceLib';
    $lang->resource->assetlib->createPracticelib        = 'createPracticeLib';
    $lang->resource->assetlib->editPracticelib          = 'editPracticeLib';
    $lang->resource->assetlib->deletePracticelib        = 'deletePracticeLib';
    $lang->resource->assetlib->practiceLibView          = 'practiceLibView';
    $lang->resource->assetlib->practice                 = 'practice';
    $lang->resource->assetlib->importPractice           = 'importPractice';
    $lang->resource->assetlib->assignToPractice         = 'assignToPractice';
    $lang->resource->assetlib->batchAssignToPractice    = 'batchAssignToPractice';
    $lang->resource->assetlib->approvePractice          = 'approvePractice';
    $lang->resource->assetlib->batchApprovePractice     = 'batchApprovePractice';
    $lang->resource->assetlib->editPractice             = 'editPractice';
    $lang->resource->assetlib->removePractice           = 'removePractice';
    $lang->resource->assetlib->batchRemovePractice      = 'batchRemovePractice';
    $lang->resource->assetlib->practiceView             = 'practiceView';
    $lang->resource->assetlib->componentlib             = 'componentLib';
    $lang->resource->assetlib->createComponentlib       = 'createComponentLib';
    $lang->resource->assetlib->editComponentlib         = 'editComponentLib';
    $lang->resource->assetlib->deleteComponentlib       = 'deleteComponentLib';
    $lang->resource->assetlib->componentLibView         = 'componentLibView';
    $lang->resource->assetlib->component                = 'component';
    $lang->resource->assetlib->importComponent          = 'importComponent';
    $lang->resource->assetlib->assignToComponent        = 'assignToComponent';
    $lang->resource->assetlib->batchAssignToComponent   = 'batchAssignToComponent';
    $lang->resource->assetlib->approveComponent         = 'approveComponent';
    $lang->resource->assetlib->batchApproveComponent    = 'batchApproveComponent';
    $lang->resource->assetlib->editComponent            = 'editComponent';
    $lang->resource->assetlib->removeComponent          = 'removeComponent';
    $lang->resource->assetlib->batchRemoveComponent     = 'batchRemoveComponent';
    $lang->resource->assetlib->componentView            = 'componentView';
    $lang->resource->assetlib->view                     = 'view';
}
