<?php
global $config;
$lang->publishtemplate = new stdClass();

$lang->publishtemplate->common      = '上線模板管理';
$lang->publishtemplate->browse      = '上線模板列表';
$lang->publishtemplate->create      = '添加上線模板';
$lang->publishtemplate->edit        = '編輯上線模板';
$lang->publishtemplate->delete      = '刪除上線模板';
$lang->publishtemplate->name        = '名稱';
$lang->publishtemplate->systemID    = '所屬應用';
$lang->publishtemplate->appKey      = '應用標識';
$lang->publishtemplate->envID       = '環境';
$lang->publishtemplate->hosts       = '關聯主機';
$lang->publishtemplate->hostNum     = '主機數量';
$lang->publishtemplate->desc        = '模板描述';
$lang->publishtemplate->system      = '部署方式';
$lang->publishtemplate->createdBy   = '創建人';
$lang->publishtemplate->createdDate = '創建時間';
$lang->publishtemplate->productName = '所屬產品';
$lang->publishtemplate->mode        = '上線模式';
$lang->publishtemplate->modeList[1] = '串列';
$lang->publishtemplate->modeList[2] = '並行';

$lang->publishtemplate->clusterID   = '集群';
$lang->publishtemplate->ports       = '監聽連接埠';
$lang->publishtemplate->protocol    = '協議';
$lang->publishtemplate->port        = '連接埠';
$lang->publishtemplate->portDesc    = '描述';
$lang->publishtemplate->dirs        = '持久化目錄';
$lang->publishtemplate->dir         = '目錄名';
$lang->publishtemplate->dirDesc     = '描述';
$lang->publishtemplate->envs        = '環境變數';
$lang->publishtemplate->envKey      = '變數名';
$lang->publishtemplate->envVlue     = '變數值';
$lang->publishtemplate->services    = '依賴服務';
$lang->publishtemplate->service     = '依賴服務';
$lang->publishtemplate->serviceDesc = '描述';

$lang->publishtemplate->serviceList = array();
$lang->publishtemplate->serviceList['mysql'] = 'MySQL';
$lang->publishtemplate->serviceList['redis'] = 'Redis';

$lang->publishtemplate->protocolList = array();
$lang->publishtemplate->protocolList['tcp'] = 'TCP';
$lang->publishtemplate->protocolList['udp'] = 'UDP';

$lang->publishtemplate->step = new stdClass();
$lang->publishtemplate->step->next = '下一步';
$lang->publishtemplate->step->prev = '上一步';

$lang->publishtemplate->localCommand = new stdClass();
$lang->publishtemplate->localCommand->title = '本地動作';
$lang->publishtemplate->localCommand->data  = '本地命令';

$lang->publishtemplate->targetCommand = new stdClass();
$lang->publishtemplate->targetCommand->title = '目標動作';
$lang->publishtemplate->targetCommand->data  = '目標命令';

$lang->publishtemplate->systemList = array();
$lang->publishtemplate->systemList['cne']  = '渠成應用上線';
$lang->publishtemplate->systemList['spug'] = '主機上線';

$lang->publishtemplate->featureBar = array();
$lang->publishtemplate->featureBar['browse']['spug'] = '主機上線模板';
$lang->publishtemplate->featureBar['browse']['cne']  = '渠成應用上線模板';

$lang->publishtemplate->appKeyPlaceholder = '可以由小寫字母、數字組成，且必須以小寫字母打頭';
$lang->publishtemplate->confirmDelete     = '確定要刪除模板嗎？';

$lang->publishtemplate->notice = new stdClass();
$lang->publishtemplate->notice->length           = '%s長度不能超過%d個字元';
$lang->publishtemplate->notice->appKey           = '僅允許小寫字母、數字，且必須以小寫字母打頭';
$lang->publishtemplate->notice->commands         = '至少需要配置一組本地動作或目標主機動作';
$lang->publishtemplate->notice->protocol         = '僅支持tcp和udp協議';
$lang->publishtemplate->notice->duplicatePort    = '連接埠不能有重複';
$lang->publishtemplate->notice->port             = '連接埠只能是整數，範圍是1~65535';
$lang->publishtemplate->notice->portDesc         = '連接埠描述不能超過30個字元且只能包含字母、數字、中文、下劃線和橫線';
$lang->publishtemplate->notice->nonSystemDir     = '不能是系統保留目錄(%s)';
$lang->publishtemplate->notice->dir              = '目錄必須/開頭且不能以/結尾，只允許字母、數字、下劃線和橫線，最長100個字元';
$lang->publishtemplate->notice->dirDesc          = '目錄描述不能超過30個字元且只能包含字母、數字、中文、下劃線和橫線';
$lang->publishtemplate->notice->duplicateDir     = '目錄不能有重複';
$lang->publishtemplate->notice->duplicateEnvKey  = '環境變數名不能有重複';
$lang->publishtemplate->notice->envKey           = '環境變數名必須以大寫字母開頭,只能包含大寫字母、數字和下劃線，最長100個字元';
$lang->publishtemplate->notice->envValue         = '環境變數值不能為空、不能包含中文且長度不能超過100';
$lang->publishtemplate->notice->service          = '服務名稱不能為空';
$lang->publishtemplate->notice->serviceDesc      = '服務描述不能超過30個字元且只能包含字母、數字、中文、下劃線和橫線';
$lang->publishtemplate->notice->duplicateService = '服務名稱不能有重複';
$lang->publishtemplate->notice->hasDeploy        = '該上線模板已被應用到上線申請，無法刪除';
$lang->publishtemplate->notice->noSpug           = '內置Spug服務未啟動，不可操作';

$lang->publishtemplate->apiError = new stdClass();
$lang->publishtemplate->apiError->exists             = ' %s 已存在，請更改後重試';
$lang->publishtemplate->apiError->systemAndEnvExists = '當前應用下已存在該環境的上線模板，請選擇其他環境進行操作。';
$lang->publishtemplate->apiError->DeldeployTPLTip    = '該模板已被使用，無法刪除';

$lang->publishtemplate->helpTip = '請聯繫客戶成功經理獲取綫下幫助手冊';
