<?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     = '设置触发器';
