<?php
$lang->action->dynamicAction->bug['fromfeedback']   = 'Create bug  from feedback';
$lang->action->dynamicAction->story['fromfeedback'] = "Create {$lang->SRCommon} from feedback";
$lang->action->dynamicAction->task['fromfeedback']  = 'Create task from feedback';
$lang->action->dynamicAction->todo['fromfeedback']  = 'Create todo from feedback';

$lang->action->dynamicAction->deploy['created']       = 'Create deploy';
$lang->action->dynamicAction->deploy['edited']        = 'Edit deploy';
$lang->action->dynamicAction->deploy["activated"]     = 'Activate deploy';
$lang->action->dynamicAction->deploy['commented']     = 'Comment deploy';
$lang->action->dynamicAction->deploy["finished"]      = 'Finish deploy';
$lang->action->dynamicAction->deploy['deleted']       = 'Delete deploy';
$lang->action->dynamicAction->deploy['undeleted']     = 'Restore deploy';
$lang->action->dynamicAction->deploy['hidden']        = 'Hide deploy';
$lang->action->dynamicAction->deploystep['created']   = 'Create step';
$lang->action->dynamicAction->deploystep['edited']    = 'Edit step';
$lang->action->dynamicAction->deploystep["finished"]  = 'Finish step';
$lang->action->dynamicAction->deploystep["assigned"]  = 'Assign step';
$lang->action->dynamicAction->deploystep['deleted']   = 'Delete step';
$lang->action->dynamicAction->deploystep['undeleted'] = 'Restore step';
$lang->action->dynamicAction->deploystep['hidden']    = 'Hide step';

$lang->action->dynamicAction->host['created']   = 'Create host';
$lang->action->dynamicAction->host['edited']    = 'Edit host';
$lang->action->dynamicAction->host['online']    = 'Online host';
$lang->action->dynamicAction->host['offline']   = 'Offline host';
$lang->action->dynamicAction->host['deleted']   = 'Delete host';
$lang->action->dynamicAction->host['undeleted'] = 'Restore host';
$lang->action->dynamicAction->host['hidden']    = 'Hide host';

$lang->action->dynamicAction->serverroom['created']   = 'Create server room';
$lang->action->dynamicAction->serverroom['edited']    = 'Edit server room';
$lang->action->dynamicAction->serverroom['deleted']   = 'Delete server room';
$lang->action->dynamicAction->serverroom['undeleted'] = 'Restore server room';
$lang->action->dynamicAction->serverroom['hidden']    = 'Hide server room';

$lang->action->dynamicAction->service['created']   = 'Create service';
$lang->action->dynamicAction->service['edited']    = 'Edit service';
$lang->action->dynamicAction->service['deleted']   = 'Delete service';
$lang->action->dynamicAction->service['undeleted'] = 'Restore service';
$lang->action->dynamicAction->service['hidden']    = 'Hide service';

$lang->action->dynamicAction->attend['commited'] = 'Commit attend';
$lang->action->dynamicAction->attend['reviewed'] = 'Review attend';

$lang->action->dynamicAction->leave['created']  = 'Create leave';
$lang->action->dynamicAction->leave['edited']   = 'Edit leave';
$lang->action->dynamicAction->leave['reviewed'] = 'Review leave';
$lang->action->dynamicAction->leave['reported'] = 'Sales leave';
$lang->action->dynamicAction->leave['revoked']  = 'Revoke leave';
$lang->action->dynamicAction->leave['commited'] = 'Commit leave';

$lang->action->dynamicAction->makeup['created']  = 'Create makeup';
$lang->action->dynamicAction->makeup['edited']   = 'Edit makeup';
$lang->action->dynamicAction->makeup['reviewed'] = 'Review makeup';
$lang->action->dynamicAction->makeup['revoked']  = 'Revoke makeup';
$lang->action->dynamicAction->makeup['commited'] = 'Commit makeup';

$lang->action->dynamicAction->overtime['created']  = 'Create overtime';
$lang->action->dynamicAction->overtime['edited']   = 'Edit overtime';
$lang->action->dynamicAction->overtime['reviewed'] = 'Review overtime';
$lang->action->dynamicAction->overtime['revoked']  = 'Revoke overtime';
$lang->action->dynamicAction->overtime['commited'] = 'Commit overtime';

$lang->action->dynamicAction->lieu['created']  = 'Create lieu';
$lang->action->dynamicAction->lieu['edited']   = 'Edit lieu';
$lang->action->dynamicAction->lieu['reviewed'] = 'Review lieu';
$lang->action->dynamicAction->lieu['revoked']  = 'Revoke lieu';
$lang->action->dynamicAction->lieu['commited'] = 'Commit lieu';

$lang->action->dynamicAction->holiday['created'] = 'Create holiday';

$lang->action->dynamicAction->feedback['opened']      = 'Create feedback';
$lang->action->dynamicAction->feedback['edited']      = 'Edit feedback';
$lang->action->dynamicAction->feedback['reviewed']    = 'Review feedback';
$lang->action->dynamicAction->feedback['asked']       = 'Ask feedback';
$lang->action->dynamicAction->feedback['replied']     = 'Reply feedback';
$lang->action->dynamicAction->feedback['commented']   = 'Commit feedback';
$lang->action->dynamicAction->feedback['assigned']    = 'Assign feedback';
$lang->action->dynamicAction->feedback['tostory']     = 'To ' . $lang->SRCommon;
$lang->action->dynamicAction->feedback['touserstory'] = 'To ' . $lang->URCommon;
$lang->action->dynamicAction->feedback['tobug']       = 'To bug';
$lang->action->dynamicAction->feedback['totask']      = 'To task';
$lang->action->dynamicAction->feedback['totodo']      = 'To todo';
$lang->action->dynamicAction->feedback['closed']      = 'Close feedback';

$lang->action->dynamicAction->ticket['create']   = 'Create ticket';
$lang->action->dynamicAction->ticket['edited']   = 'Edit ticket';
$lang->action->dynamicAction->ticket['started']  = 'Start ticket';
$lang->action->dynamicAction->ticket['finished'] = 'Finish ticket';
$lang->action->dynamicAction->ticket['closed']   = 'Close ticket';
$lang->action->dynamicAction->ticket['assigned'] = 'Assign ticket';
$lang->action->dynamicAction->ticket['tostory']  = 'To ' . $lang->SRCommon;
$lang->action->dynamicAction->ticket['tobug']    = 'To bug';

$lang->action->objectTypes['dashboard']  = 'Dashboard';
$lang->action->objectTypes['chart']      = 'Chart';
$lang->action->objectTypes['pivot']      = 'Pivot Table';
$lang->action->objectTypes['screen']     = 'Screen';
$lang->action->objectTypes['dimension']  = 'Dimension';
$lang->action->objectTypes['chartgroup'] = 'Group';

$lang->action->label->designed                = 'designed';
$lang->action->label->updated                 = 'updated';
$lang->action->label->chartreleased           = 'published';
$lang->action->label->pivotreleased           = 'published';
$lang->action->label->projectapproval         = 'initiated project approval';
$lang->action->label->completionapproval      = 'initiated completion approval';
$lang->action->label->cancelprojectapproval   = 'cancelled project approval';
$lang->action->label->activateprojectapproval = 'activated project approval';
$lang->action->label->cancelapproval          = 'cancelled approval';
$lang->action->label->reviewbycharter         = "recorded review result";

if(!$config->URAndSR) unset($lang->action->dynamicAction->feedback['touserstory']);

$lang->action->objectTypes['charter'] = 'Charter';
