<?php
$lang->codescan->browse          = '掃瞄規則列表';
$lang->codescan->view            = '掃瞄規則詳情';
$lang->codescan->changeState     = '修改狀態';
$lang->codescan->ruleset         = '規則集列表';
$lang->codescan->linkRule        = '關聯規則';
$lang->codescan->createRuleset   = '添加規則集';
$lang->codescan->editRuleset     = '編輯規則集';
$lang->codescan->deleteRuleset   = '刪除規則集';
$lang->codescan->viewRuleset     = '規則集詳情';
$lang->codescan->unlinkRule      = '移除規則';
$lang->codescan->batchUnlinkRule = '批量移除規則';
$lang->codescan->batchUnlink     = '批量移除';
$lang->codescan->linkSet         = '關聯規則集';
$lang->codescan->batchUnlinkSet  = '批量移除規則集';
$lang->codescan->unlinkSet       = '移除規則集';
$lang->codescan->solution        = '掃瞄方案';
$lang->codescan->createSolution  = '添加掃瞄方案';
$lang->codescan->editSolution    = '編輯掃瞄方案';
$lang->codescan->deleteSolution  = '刪除掃瞄方案';
$lang->codescan->viewSolution    = '掃瞄方案詳情';
$lang->codescan->rulesets        = '規則集';
$lang->codescan->plan            = '掃瞄計劃';
$lang->codescan->planView        = '計劃詳情';
$lang->codescan->createPlan      = '添加掃瞄計劃';
$lang->codescan->editPlan        = '編輯掃瞄計劃';
$lang->codescan->deletePlan      = '刪除掃瞄計劃';
$lang->codescan->unlinkSolution  = '移除掃瞄方案';
$lang->codescan->task            = '掃瞄任務';
$lang->codescan->taskView        = '掃瞄任務詳情';
$lang->codescan->taskLog         = '掃瞄任務日誌';
$lang->codescan->exec            = '執行掃瞄';
$lang->codescan->trigger         = '觸發器';
$lang->codescan->triggerName     = '觸發器名';
$lang->codescan->createTrigger   = '添加觸發器';
$lang->codescan->editTrigger     = '編輯觸發器';
$lang->codescan->deleteTrigger   = '刪除觸發器';
$lang->codescan->addCondition    = '添加條件';
$lang->codescan->issue           = '掃瞄問題列表';
$lang->codescan->issueView       = '掃瞄問題詳情';
$lang->codescan->createBug       = '轉Bug';
$lang->codescan->ignoreIssue     = '忽略';
$lang->codescan->confirmIssue    = '確認';
$lang->codescan->activeIssue     = '激活';
$lang->codescan->ruleName        = '規則名';
$lang->codescan->ruleID          = '規則ID';
$lang->codescan->scanSetting     = '掃瞄配置';
$lang->codescan->allTask         = '所有任務';
$lang->codescan->rule            = '規則';
$lang->codescan->catalog         = '目錄';
$lang->codescan->overview        = '概況';
$lang->codescan->ignoreDate      = '忽略時長';
$lang->codescan->refresh         = '更新數據';
$lang->codescan->general         = '通用';
$lang->codescan->default         = '預設';
$lang->codescan->resend          = '重試';

$lang->codescan->resolvedByTop             = '問題解決排行榜TOP10';
$lang->codescan->issueInjectionTop         = '問題注入數量排行榜TOP10';
$lang->codescan->issueRanking              = '代碼庫總問題數排行榜TOP10';
$lang->codescan->unSolvedRanking           = '代碼庫未解決問題數排行榜TOP10';
$lang->codescan->fileRanking               = '存在問題檔案排行榜 TOP10';
$lang->codescan->ruleRanking               = '發現問題規則排行榜 TOP10';
$lang->codescan->issueStatusDistribution   = '問題狀態分佈';
$lang->codescan->issueTypeDistribution     = '問題類型分佈';
$lang->codescan->issueSeverityDistribution = '問題嚴重程度分佈';
$lang->codescan->addIssueStatistic         = '新增問題統計';
$lang->codescan->fixIssueStatistic         = '修復問題統計';
$lang->codescan->repoStatistic             = '按代碼庫統計的問題';
$lang->codescan->issueCount                = '問題總數';
$lang->codescan->waitIssueCount            = '待處理問題';
$lang->codescan->fixedIssueCount           = '已修復問題';
$lang->codescan->ignoreIssueCount          = '已忽略問題';
$lang->codescan->issueOverview             = '問題總覽';
$lang->codescan->scanOverview              = '掃瞄總覽';
$lang->codescan->scanRepoCount             = '掃瞄代碼庫數';
$lang->codescan->hitRuleCount              = '命中規則數';
$lang->codescan->executionCount            = '執行掃瞄次數';
$lang->codescan->fileCount                 = '問題檔案數';
$lang->codescan->injectorCount             = '注入者';
$lang->codescan->scanIssueOverview         = '掃瞄問題總覽';

$lang->codescan->dayLabels = array();
$lang->codescan->dayLabels['7']  = '近7天';
$lang->codescan->dayLabels['14'] = '近14天';
$lang->codescan->dayLabels['21'] = '近21天';
$lang->codescan->dayLabels['28'] = '近28天';

$lang->codescan->name        = '名稱';
$lang->codescan->title       = '標題';
$lang->codescan->language    = '編程語言';
$lang->codescan->tool        = '掃瞄工具';
$lang->codescan->type        = '類型';
$lang->codescan->severity    = '嚴重程度';
$lang->codescan->status      = '狀態';
$lang->codescan->enable      = '啟用';
$lang->codescan->disable     = '禁用';
$lang->codescan->desc        = '描述';
$lang->codescan->synopsis    = '簡介';
$lang->codescan->tag         = '標籤';
$lang->codescan->edit        = '編輯';
$lang->codescan->delete      = '刪除';
$lang->codescan->lang_id     = '編程語言';
$lang->codescan->lang        = '編程語言';
$lang->codescan->priority    = '重要性';
$lang->codescan->repo        = '關聯代碼庫';
$lang->codescan->scanBranch  = '掃瞄分支';
$lang->codescan->cron_branch = '掃瞄分支';
$lang->codescan->branch      = '指定分支';
$lang->codescan->branchReg   = '含關鍵字的分支';
$lang->codescan->excludePath = '排除目錄';
$lang->codescan->excludeFile = '排除檔案';
$lang->codescan->scope       = '掃瞄範圍';
$lang->codescan->solutions   = '掃瞄方案';
$lang->codescan->standard    = '判定標準';
$lang->codescan->compliant   = '結果通過標準';
$lang->codescan->metric      = '指標類型';
$lang->codescan->logic       = '運算邏輯';
$lang->codescan->threshold   = '判定閾值';
$lang->codescan->triggerType = '觸發方式';
$lang->codescan->operation   = '動作';
$lang->codescan->keyword     = '註釋包含關鍵字';
$lang->codescan->keywords    = '關鍵字';
$lang->codescan->pcs         = '個';
$lang->codescan->file        = '所屬檔案';

$lang->codescan->issueStatistics = '問題統計';
$lang->codescan->monthAdded      = '本月新增';
$lang->codescan->monthFixed      = '本月修復';
$lang->codescan->added           = '新增';
$lang->codescan->fixed           = '修復';
$lang->codescan->fixedRate       = '問題修復率';
$lang->codescan->closed          = '已關閉';
$lang->codescan->unClosed        = '未關閉';

$lang->codescan->injector      = '注入者';
$lang->codescan->injectDate    = '注入時間';
$lang->codescan->injectCommit  = '注入提交號';
$lang->codescan->issueLocation = '問題位置';
$lang->codescan->issueReason   = '問題原因';
$lang->codescan->taskInfo      = '任務信息';

$lang->codescan->minute = '分';
$lang->codescan->hour   = '小時';
$lang->codescan->day    = '天';
$lang->codescan->month  = '月';
$lang->codescan->week   = '周';

$lang->codescan->latestScanTime   = '最後掃瞄時間';
$lang->codescan->latestExecStatus = '運行狀態';
$lang->codescan->runStatus        = '運行狀態';
$lang->codescan->latestScanResult = '掃瞄結果';
$lang->codescan->latestScan       = '最後掃瞄';
$lang->codescan->countLanguages   = '共%s種';
$lang->codescan->allSeverity      = '全部嚴重程度';

$lang->codescan->setNum     = '規則集數';
$lang->codescan->ruleNum    = '規則數';
$lang->codescan->createdBy  = '由誰創建';
$lang->codescan->createTime = '創建日期';
$lang->codescan->updatedBy  = '最後編輯';
$lang->codescan->updateTime = '最後編輯日期';
$lang->codescan->created_by = '由誰創建';
$lang->codescan->created_at = '創建日期';
$lang->codescan->updated_by = '最後編輯';
$lang->codescan->updated_at = '最後編輯日期';
$lang->codescan->startTime  = '開始時間';
$lang->codescan->endTime    = '結束時間';
$lang->codescan->runTime    = '耗時';
$lang->codescan->result     = '掃瞄結果';

$lang->codescan->typeList = array();
$lang->codescan->typeList['all']        = '所有';
$lang->codescan->typeList['defect']     = '缺陷';
$lang->codescan->typeList['security']   = '安全';
$lang->codescan->typeList['compliance'] = '合規性';
$lang->codescan->typeList['optimize']   = '優化';

$lang->codescan->severityList = array();
$lang->codescan->severityList['all']    = '所有';
$lang->codescan->severityList['high']   = '高';
$lang->codescan->severityList['medium'] = '中';
$lang->codescan->severityList['low']    = '低';

$lang->codescan->priorityList = array();
$lang->codescan->priorityList['high']   = '重要';
$lang->codescan->priorityList['medium'] = '推薦';
$lang->codescan->priorityList['low']    = '可選';

$lang->codescan->statusList = array();
$lang->codescan->statusList['enabled']  = '啟用';
$lang->codescan->statusList['disabled'] = '禁用';

$lang->codescan->scopeList = array();
$lang->codescan->scopeList['full']        = '全量掃瞄';
$lang->codescan->scopeList['incremental'] = '增量掃瞄';

$lang->codescan->latestExecStatusList = array();
$lang->codescan->latestExecStatusList['in_progress'] = '進行中';
$lang->codescan->latestExecStatusList['success']     = '成功';
$lang->codescan->latestExecStatusList['failed']      = '異常';

$lang->codescan->latestScanResultList = array();
$lang->codescan->latestScanResultList['-']       = '-';
$lang->codescan->latestScanResultList['pass']    = '通過';
$lang->codescan->latestScanResultList['no-pass'] = '不通過';

$lang->codescan->metricList = array();
$lang->codescan->metricList['count']   = '問題數';
$lang->codescan->metricList['percent'] = '問題占比';

$lang->codescan->triggerTypeList = array();
$lang->codescan->triggerTypeList['manual'] = '手動觸發';
$lang->codescan->triggerTypeList['action'] = '動作觸發';
$lang->codescan->triggerTypeList['cron']   = '定時觸發';

$lang->codescan->operationList = array();
$lang->codescan->operationList['pullreq_created'] = '創建合併/推送請求';
$lang->codescan->operationList['branch_created']  = '創建分支';
$lang->codescan->operationList['branch_updated']  = '更新分支';
$lang->codescan->operationList['tag_created']     = '創建標籤';

$lang->codescan->issueStatusList = array();
$lang->codescan->issueStatusList['wait']    = '待處理';
$lang->codescan->issueStatusList['todo']    = '已確認';
$lang->codescan->issueStatusList['solving'] = '待解決';
$lang->codescan->issueStatusList['solved']  = '已解決';
$lang->codescan->issueStatusList['ignore']  = '已忽略';
$lang->codescan->issueStatusList['closed']  = '已關閉';

$lang->codescan->ignoreDateList = array();
$lang->codescan->ignoreDateList['1 week']  = '一周';
$lang->codescan->ignoreDateList['2 week']  = '兩周';
$lang->codescan->ignoreDateList['1 month'] = '一個月';
$lang->codescan->ignoreDateList['3 month'] = '三個月';
$lang->codescan->ignoreDateList['6 month'] = '半年';
$lang->codescan->ignoreDateList['-1']      = '永久';

$lang->codescan->featureBar = array();
$lang->codescan->featureBar['browse']   = $lang->codescan->typeList;
$lang->codescan->featureBar['ruleset']  = array('all' => '全部') + $lang->codescan->statusList;
$lang->codescan->featureBar['solution'] = array('all' => '全部') + $lang->codescan->statusList;
$lang->codescan->featureBar['issue']    = array('all' => '所有') + $lang->codescan->issueStatusList;
$lang->codescan->featureBar['plan']     = array('all' => '全部') + $lang->codescan->latestExecStatusList;
unset($lang->codescan->featureBar['plan']['in_progress']);

$lang->codescan->notice = new stdclass();
$lang->codescan->notice->confirmEnable          = '確認要啟用該規則嗎？';
$lang->codescan->notice->confirmDisable         = '確認要禁用該規則嗎？';
$lang->codescan->notice->confirmUnlink          = '確認要移除此規則嗎？';
$lang->codescan->notice->confirmUnlinkSet       = '確認要移除此規則集嗎？';
$lang->codescan->notice->confirmActivateIssue   = '確認要激活此問題嗎？';
$lang->codescan->notice->changeStateFailed      = '修改狀態失敗';
$lang->codescan->notice->enableSuccess          = '啟用成功';
$lang->codescan->notice->disableSuccess         = '禁用成功';
$lang->codescan->notice->confirmEnableRuleset   = '確定要啟用該規則集嗎？';
$lang->codescan->notice->confirmDisableRuleset  = '確定要禁用該規則集嗎？';
$lang->codescan->notice->deleteRuleset          = '確定要刪除該規則集嗎，刪除後該規則集下的規則不受影響。';
$lang->codescan->notice->defaultRuleset         = '預設規則集不允許%s';
$lang->codescan->notice->defaultSolution        = '預設掃瞄方案不允許%s';
$lang->codescan->notice->deleteLanguage         = '您刪除了【%s】編程語言，此操作將導致所有與該語言相關的規則被自動移除，確認保存嗎';
$lang->codescan->notice->confirmEnableSolution  = '確認要啟用該掃瞄方案嗎？';
$lang->codescan->notice->confirmDisableSolution = '確認要禁用該掃瞄方案嗎？';
$lang->codescan->notice->deleteSolution         = '確認要刪除該掃瞄方案嗎？';
$lang->codescan->notice->defaultSolution        = '預設掃瞄方案不允許%s';
$lang->codescan->notice->linkSuccess            = '關聯成功';
$lang->codescan->notice->linkFailed             = '關聯失敗';
$lang->codescan->notice->unlinkSuccess          = '移除成功';
$lang->codescan->notice->unlinkFailed           = '移除失敗';
$lang->codescan->notice->matchBranch            = '請輸入匹配分支的關鍵字，多個關鍵字用,隔開';
$lang->codescan->notice->excludePath            = '請輸入排除目錄（支持正則），多個目錄用,分隔，如：path/file,/path/*';
$lang->codescan->notice->excludeFile            = '請輸入排除檔案（支持正則），多個檔案用,分隔，如：file*';
$lang->codescan->notice->compliant              = '只有以下條件全部滿足時，掃瞄結果才視為通過。';
$lang->codescan->notice->deletePlan             = '確認要刪除該掃瞄計劃嗎？';
$lang->codescan->notice->deleteTrigger          = '確認要刪除該觸發器嗎？';
$lang->codescan->notice->branchEmpty            = '請至少填寫指定分支或匹配關鍵字中的一項，兩者不可同時為空。';
$lang->codescan->notice->confirmUnlinkSolution  = '確認要移除此掃瞄方案嗎？';
$lang->codescan->notice->weekLimit              = '星期必須在0-6之間（0表示星期日）';
$lang->codescan->notice->weekError              = '星期欄位格式不正確。支持*:每天、數字:具體星期、範圍:0-6、間隔:/2等格式';
$lang->codescan->notice->monthLimit             = '月份必須在1-12之間';
$lang->codescan->notice->monthError             = '月份欄位格式不正確。支持*:每月、數字:具體月份、範圍:1-12、間隔:/2等格式';
$lang->codescan->notice->dayLimit               = '日期必須在1-31之間';
$lang->codescan->notice->dayError               = '日期欄位格式不正確。支持*:每天、數字:具體日期、範圍:1-31、間隔:/2等格式';
$lang->codescan->notice->hourLimit              = '小時必須在0-23之間';
$lang->codescan->notice->hourError              = '小時欄位格式不正確。支持*:每小時、數字:具體小時、範圍:0-23、間隔:/2等格式';
$lang->codescan->notice->minuteLimit            = '分鐘必須在0-59之間';
$lang->codescan->notice->minuteError            = '分鐘欄位格式不正確。支持*:每分鐘、數字:具體分鐘、範圍:0-59、間隔:/2等格式';
$lang->codescan->notice->thresholdError         = '閾值必須在0-100之間';
$lang->codescan->notice->keywordNote            = "若提交註釋中包含關鍵字則觸發掃瞄，多個關鍵字用','分割";
$lang->codescan->notice->execFail               = '掃瞄請求提交失敗，請重試';
$lang->codescan->notice->execSuccess            = '掃瞄請求提交成功，待隊列調度後開始掃瞄';
$lang->codescan->notice->bugCreated             = '問題%s已轉為Bug或者狀態不是待處理和待分配，本次操作已被過濾。';
$lang->codescan->notice->statusDisable          = '問題%s的狀態不是%s，本次操作已被過濾。';
$lang->codescan->notice->copiedSuccess          = '複製成功';
$lang->codescan->notice->repoNotFound           = '代碼庫未找到';
$lang->codescan->notice->refreshTime            = '統計數據在 <strong>%s</strong> 前更新';
$lang->codescan->notice->fixedIssueTip          = '已修復問題為已解決並關閉的問題';
$lang->codescan->notice->noOverviewData         = '暫無統計數據！';
$lang->codescan->notice->noScanData             = '暫時沒有掃瞄數據，請先創建掃瞄計劃並執行掃瞄。';
$lang->codescan->notice->resendFailed           = '重試失敗，請稍後重試!';
$lang->codescan->notice->resendSuccess          = '重試成功';

$lang->codescanruleset  = $lang->codescan;
$lang->codescansolution = $lang->codescan;

$lang->codescan->apiError = array();
$lang->codescan->apiError[] = '掃瞄方案已存在';
$lang->codescan->apiError[] = $lang->error->httpServerError;
$lang->codescan->apiError[] = '定時任務的設置不正確';
$lang->codescan->apiError[] = '掃瞄計劃只有一個觸發器，無法刪除';
$lang->codescan->apiError[] = '掃瞄計劃已存在';
$lang->codescan->apiError[] = '規則集已存在';
$lang->codescan->apiError[] = '規則集已被掃瞄方案使用';

$lang->codescan->withinMinutes = '%s分鐘內';
$lang->codescan->withinHours   = '%s小時內';
$lang->codescan->scanNo        = '的第%s次掃瞄';
$lang->codescan->fileIssueList = '的問題列表';
$lang->codescan->or            = '或';

$lang->codescan->tips           = '提示';
$lang->codescan->afterInfo      = '掃瞄計劃添加成功，您現在可以進行以下操作:';
$lang->codescan->goBackPlanList = '返回掃瞄計劃列表';
$lang->codescan->setTrigger     = '設置觸發器';
