<?php
$lang->deploy->artifact      = '制品';
$lang->deploy->setting       = '设置审批流';
$lang->deploy->flow          = '审批流';
$lang->deploy->env           = '环境';
$lang->deploy->app           = '发布模板';
$lang->deploy->products      = '产品';
$lang->deploy->host          = '主机';
$lang->deploy->recall        = '撤回';
$lang->deploy->progress      = '审批进度';
$lang->deploy->submit        = '提交审批';
$lang->deploy->review        = '审批';
$lang->deploy->reviewer      = '审批人员';
$lang->deploy->releaseTPL    = '上线模板';
$lang->deploy->systemVersion = '关联应用版本';
$lang->deploy->cluster       = '集群';

$lang->deploy->deployResult     = '评审结果';
$lang->deploy->deployedDate     = '评审时间';
$lang->deploy->finalOpinion     = '评审意见';
$lang->deploy->reviewedBy       = '待审批人';
$lang->deploy->lastReviewedDate = '最后审批时间';

$lang->deploy->notice->recall        = '请确认是否撤销该审批?';
$lang->deploy->notice->emptyArtifact = '请确认选择的应用版本号不存在docker类型的制品。';
$lang->deploy->notice->noArtifact    = '发布【%s】没有制品。';
$lang->deploy->notice->release       = '应用版本号不能为空';
$lang->deploy->notice->product       = '产品不能为空';
$lang->deploy->notice->noSpug        = '内置Spug服务未启动，不可操作';

$lang->deploy->approvalStatus['0'] = '关闭';
$lang->deploy->approvalStatus['1'] = '开启';

global $config;
if($config->inQuickon)
{
    $lang->deploy->typeList['spug'] = '主机上线';
    $lang->deploy->typeList['cne'] =  '渠成应用上线';
}

if($config->edition != 'open' && $config->edition != 'biz')
{
    $lang->deploy->featureBar['browse']['wait']    = '待上线';
    $lang->deploy->featureBar['browse']['waiting'] = '待审批';

    $lang->deploy->statusList['wait']      = '待上线';
    $lang->deploy->statusList['draft']     = '草稿';
    $lang->deploy->statusList['waiting']   = '待审批';
    $lang->deploy->statusList['reviewing'] = '审批中';
    $lang->deploy->statusList['rejected']  = '审批拒绝';
}

$lang->deploy->reviewResultList['pass'] = '通过';
$lang->deploy->reviewResultList['fail'] = '不通过';

$lang->deploy->action = new stdclass();
$lang->deploy->action->reviewed = array('main' => '$date, 由 <strong>$actor</strong> 审批，结果为 <strong>$extra</strong>。', 'extra' => 'reviewResultList');
$lang->deploy->action->submit   = array('main' => '$date, 由 <strong>$actor</strong> 提交审批。');
$lang->deploy->action->recall   = array('main' => '$date, 由 <strong>$actor</strong> 撤回审批。');

$lang->deploy->createFailed  = '上线申请创建失败';
$lang->deploy->publishFailed = '上线失败';
$lang->deploy->deleteFailed  = '上线申请删除失败';

$lang->deploy->apiError = array();
$lang->deploy->apiError[] = "发布对应的制品地址过长!";
$lang->deploy->apiError[] = "名称过长, 请修改后重试!";
$lang->deploy->apiError[] = "描述过长, 请修改后重试!";

$lang->deploy->helpTip = '请联系客户成功经理获取线下帮助手册';
