* Finish task #59450,59449.
This commit is contained in:
@@ -20,6 +20,7 @@ $lang->jenkins->lblCreate = 'Create Jenkins Server';
|
||||
$lang->jenkins->desc = 'Description';
|
||||
$lang->jenkins->tokenFirst = 'Use token if not empty.';
|
||||
$lang->jenkins->tips = 'Cancel "Prevent Cross Site Request Forgery exploits" when using password.';
|
||||
$lang->jenkins->serverList = 'Server List';
|
||||
|
||||
$lang->jenkins->error = new stdclass();
|
||||
$lang->jenkins->error->linkedJob = 'Failed. This jenkins has associated with the compile.';
|
||||
|
||||
@@ -20,6 +20,7 @@ $lang->jenkins->lblCreate = 'Create Jenkins Server';
|
||||
$lang->jenkins->desc = 'Description';
|
||||
$lang->jenkins->tokenFirst = 'Use token if not empty.';
|
||||
$lang->jenkins->tips = 'Cancel "Prevent Cross Site Request Forgery exploits" when using password.';
|
||||
$lang->jenkins->serverList = 'Server List';
|
||||
|
||||
$lang->jenkins->error = new stdclass();
|
||||
$lang->jenkins->error->linkedJob = 'Failed. This jenkins has associated with the compile.';
|
||||
|
||||
@@ -20,6 +20,7 @@ $lang->jenkins->lblCreate = 'Cr閑r Serveur Jenkins';
|
||||
$lang->jenkins->desc = 'Description';
|
||||
$lang->jenkins->tokenFirst = 'Utiliser un Token si non vide.';
|
||||
$lang->jenkins->tips = 'Cancel "Prevent Cross Site Request Forgery exploits" when using password.';
|
||||
$lang->jenkins->serverList = 'Server List';
|
||||
|
||||
$lang->jenkins->error = new stdclass();
|
||||
$lang->jenkins->error->linkedJob = 'Failed. This jenkins has associated with the compile.';
|
||||
|
||||
@@ -17,3 +17,4 @@ $lang->jenkins->lblCreate = 'Tạo Jenkins Server';
|
||||
$lang->jenkins->desc = 'Mô tả';
|
||||
$lang->jenkins->tokenFirst = 'Sử dụng token nếu không trống.';
|
||||
$lang->jenkins->tips = 'Hủy "Ngăn chặn khai thác yêu cầu trang web giả mạo" khi sử dụng mật khẩu.';
|
||||
$lang->jenkins->serverList = 'Server List';
|
||||
|
||||
@@ -20,6 +20,7 @@ $lang->jenkins->lblCreate = '添加Jenkins服务器';
|
||||
$lang->jenkins->desc = '描述';
|
||||
$lang->jenkins->tokenFirst = 'Token不为空时,优先使用Token。';
|
||||
$lang->jenkins->tips = '使用密码时,请在Jenkins全局安全设置中禁用"防止跨站点请求伪造"选项。';
|
||||
$lang->jenkins->serverList = '服务器列表';
|
||||
|
||||
$lang->jenkins->error = new stdclass();
|
||||
$lang->jenkins->error->linkedJob = '删除失败,该Jenkins跟构建有关联,请取消关联或删除构建。';
|
||||
|
||||
@@ -20,6 +20,7 @@ $lang->jenkins->lblCreate = '添加Jenkins伺服器';
|
||||
$lang->jenkins->desc = '描述';
|
||||
$lang->jenkins->tokenFirst = 'Token不為空時,優先使用Token。';
|
||||
$lang->jenkins->tips = '使用密碼時,請在Jenkins全局安全設置中禁用"防止跨站點請求偽造"選項。';
|
||||
$lang->jenkins->serverList = '伺服器列表';
|
||||
|
||||
$lang->jenkins->error = new stdclass();
|
||||
$lang->jenkins->error->linkedJob = '刪除失敗,該Jenkins跟構建有關聯,請取消關聯或刪除構建。';
|
||||
|
||||
@@ -12,9 +12,13 @@
|
||||
?>
|
||||
<?php include '../../common/view/header.html.php'; ?>
|
||||
<div id="mainMenu" class="clearfix">
|
||||
<div class="btn-toolbar pull-left">
|
||||
<?php echo html::a($this->createLink('jenkins', 'browse'), "<span class='text'>{$lang->jenkins->serverList}</span>", '', "class='btn btn-link btn-active-text'");?>
|
||||
</div>
|
||||
<div class="btn-toolbar pull-right">
|
||||
<?php if(common::hasPriv('jenkins', 'create')) common::printLink('jenkins', 'create', "", "<i class='icon icon-plus'></i> " . $lang->jenkins->create, '', "class='btn btn-primary'");?>
|
||||
</div>
|
||||
</div>
|
||||
<?php if(empty($jenkinsList)):?>
|
||||
<div class="table-empty-tip">
|
||||
<p>
|
||||
@@ -24,7 +28,6 @@
|
||||
<?php endif;?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<?php else:?>
|
||||
<div id='mainContent' class='main-row'>
|
||||
<form class='main-table' id='ajaxForm' method='post'>
|
||||
|
||||
@@ -51,6 +51,7 @@ $lang->sonarqube->notAdminer = "Please fill in the SonarQube user info
|
||||
$lang->sonarqube->projectKey = 'Project Key';
|
||||
$lang->sonarqube->projectName = 'Project Name';
|
||||
$lang->sonarqube->projectlastAnalysis = 'Last analysis time';
|
||||
$lang->sonarqube->serverList = 'Server List';
|
||||
|
||||
$lang->sonarqube->report = new stdclass();
|
||||
$lang->sonarqube->report->bugs = 'Bugs';
|
||||
|
||||
@@ -51,6 +51,7 @@ $lang->sonarqube->notAdminer = "Please fill in the SonarQube user info
|
||||
$lang->sonarqube->projectKey = 'Project Key';
|
||||
$lang->sonarqube->projectName = 'Project Name';
|
||||
$lang->sonarqube->projectlastAnalysis = 'Last analysis time';
|
||||
$lang->sonarqube->serverList = 'Server List';
|
||||
|
||||
$lang->sonarqube->report = new stdclass();
|
||||
$lang->sonarqube->report->bugs = 'Bugs';
|
||||
|
||||
@@ -51,6 +51,7 @@ $lang->sonarqube->notAdminer = "Please fill in the SonarQube user info
|
||||
$lang->sonarqube->projectKey = 'Project Key';
|
||||
$lang->sonarqube->projectName = 'Project Name';
|
||||
$lang->sonarqube->projectlastAnalysis = 'Last analysis time';
|
||||
$lang->sonarqube->serverList = 'Server List';
|
||||
|
||||
$lang->sonarqube->report = new stdclass();
|
||||
$lang->sonarqube->report->bugs = 'Bugs';
|
||||
|
||||
@@ -0,0 +1,84 @@
|
||||
<?php
|
||||
$lang->sonarqube = new stdclass;
|
||||
$lang->sonarqube->common = 'SonarQube';
|
||||
$lang->sonarqube->browse = 'SonarQube Browse';
|
||||
$lang->sonarqube->search = 'Search';
|
||||
$lang->sonarqube->create = 'Create SonarQube';
|
||||
$lang->sonarqube->edit = 'Edit SonarQube';
|
||||
$lang->sonarqube->delete = 'Delete SonarQube';
|
||||
$lang->sonarqube->serverFail = 'Connect to SonarQube server failed, please check the SonarQube server.';
|
||||
$lang->sonarqube->browseProject = "SonarQube Project List";
|
||||
$lang->sonarqube->createProject = "Create SonarQube Project";
|
||||
$lang->sonarqube->deleteProject = "Delete SonarQube Project";
|
||||
$lang->sonarqube->placeholderSearch = 'Project name';
|
||||
$lang->sonarqube->execJob = "Exec SonarQube Job";
|
||||
$lang->sonarqube->desc = 'Description';
|
||||
$lang->sonarqube->reportView = "SonarQube Report";
|
||||
$lang->sonarqube->browseIssue = "SonarQube Issue List";
|
||||
$lang->sonarqube->createBug = "Create Bug";
|
||||
|
||||
$lang->sonarqube->id = 'ID';
|
||||
$lang->sonarqube->name = "Server Name";
|
||||
$lang->sonarqube->url = 'Server Address';
|
||||
$lang->sonarqube->account = 'Username';
|
||||
$lang->sonarqube->password = 'Password';
|
||||
$lang->sonarqube->token = 'Token';
|
||||
$lang->sonarqube->defaultProject = 'Default Project';
|
||||
$lang->sonarqube->private = 'MD5 Verify';
|
||||
|
||||
$lang->sonarqube->createServer = 'Create SonarQube Server';
|
||||
$lang->sonarqube->editServer = 'Edit SonarQube Server';
|
||||
$lang->sonarqube->createSuccess = 'Create success';
|
||||
|
||||
$lang->sonarqube->placeholder = new stdclass;
|
||||
$lang->sonarqube->placeholder->name = '';
|
||||
$lang->sonarqube->placeholder->url = "Please fill in the access address of the SonarQube Server homepage, as: https://sonarqube.zentao.net.";
|
||||
$lang->sonarqube->placeholder->account = "Please fill in the SonarQube user information with Administrator privileges";
|
||||
$lang->sonarqube->placeholder->projectName = 'Up to 255 characters.';
|
||||
$lang->sonarqube->placeholder->projectKey = "It may contain up to 400 characters. Allowed characters are alphanumeric, '-' (dash), '_' (underscore), '.' (period) and ':' (colon), with at least one non-digit.";
|
||||
$lang->sonarqube->placeholder->searchIssue = "Please enter the problem name or file";
|
||||
|
||||
$lang->sonarqube->nameRepeatError = "Server name already exists!";
|
||||
$lang->sonarqube->urlRepeatError = 'Server address already exists!';
|
||||
$lang->sonarqube->validError = 'SonarQube user authority authentication failed!';
|
||||
$lang->sonarqube->hostError = "Invalid SonarQube service address.";
|
||||
$lang->sonarqube->lengthError = "『%s』length should be <=『%d』";
|
||||
$lang->sonarqube->confirmDelete = 'Do you want to delete this SonarQube server?';
|
||||
$lang->sonarqube->confirmDeleteProject = 'Do you want to delete this SonarQube project?';
|
||||
$lang->sonarqube->noReport = "No Reprot";
|
||||
$lang->sonarqube->notAdminer = "Please fill in the SonarQube user information with Administrator privileges";
|
||||
|
||||
$lang->sonarqube->projectKey = 'Project Key';
|
||||
$lang->sonarqube->projectName = 'Project Name';
|
||||
$lang->sonarqube->projectlastAnalysis = 'Last analysis time';
|
||||
$lang->sonarqube->serverList = 'Server List';
|
||||
|
||||
$lang->sonarqube->report = new stdclass();
|
||||
$lang->sonarqube->report->bugs = 'Bugs';
|
||||
$lang->sonarqube->report->vulnerabilities = 'Vulnerabilities';
|
||||
$lang->sonarqube->report->security_hotspots_reviewed = 'Hotspots Reviewed';
|
||||
$lang->sonarqube->report->code_smells = 'Code Smells';
|
||||
$lang->sonarqube->report->coverage = 'Coverage';
|
||||
$lang->sonarqube->report->duplicated_lines_density = 'Duplications';
|
||||
$lang->sonarqube->report->ncloc = 'Lines';
|
||||
|
||||
$lang->sonarqube->qualitygateList = array();
|
||||
$lang->sonarqube->qualitygateList['OK'] = 'Passed';
|
||||
$lang->sonarqube->qualitygateList['WARN'] = 'Warning';
|
||||
$lang->sonarqube->qualitygateList['ERROR'] = 'Failed';
|
||||
|
||||
$lang->sonarqube->apiErrorMap[1] = "/Malformed key for Project: '([\s\S]+)'. Allowed characters are alphanumeric, '-', '_', '\.' and ':', with at least one non-digit\./";
|
||||
$lang->sonarqube->apiErrorMap[2] = "/Could not create Project, key already exists: ([\s\S]+)/";
|
||||
|
||||
$lang->sonarqube->errorLang[1] = "Malformed key for Project Key,Allowed characters are alphanumeric, '-', '_', '.' and ':', with at least one non-digit.";
|
||||
$lang->sonarqube->errorLang[2] = "Could not create Project, key already exists: %s";
|
||||
|
||||
$lang->sonarqube->issue = new stdclass();
|
||||
$lang->sonarqube->issue->message = 'Issue Name';
|
||||
$lang->sonarqube->issue->severity = 'Severity';
|
||||
$lang->sonarqube->issue->type = 'Type';
|
||||
$lang->sonarqube->issue->status = 'Status';
|
||||
$lang->sonarqube->issue->file = 'File';
|
||||
$lang->sonarqube->issue->line = 'Line';
|
||||
$lang->sonarqube->issue->effort = 'Estimated repair time';
|
||||
$lang->sonarqube->issue->creationDate = 'Creation date';
|
||||
@@ -51,6 +51,7 @@ $lang->sonarqube->notAdminer = "请填写具有Administrator权限的S
|
||||
$lang->sonarqube->projectKey = '项目标识';
|
||||
$lang->sonarqube->projectName = '项目名称';
|
||||
$lang->sonarqube->projectlastAnalysis = '最后执行时间';
|
||||
$lang->sonarqube->serverList = '服务器列表';
|
||||
|
||||
$lang->sonarqube->report = new stdclass();
|
||||
$lang->sonarqube->report->bugs = 'Bugs';
|
||||
|
||||
@@ -12,6 +12,9 @@
|
||||
?>
|
||||
<?php include '../../common/view/header.html.php';?>
|
||||
<div id="mainMenu" class="clearfix">
|
||||
<div class="btn-toolbar pull-left">
|
||||
<?php echo html::a($this->createLink('sonarqube', 'browse'), "<span class='text'>{$lang->sonarqube->serverList}</span>", '', "class='btn btn-link btn-active-text'");?>
|
||||
</div>
|
||||
<div class="btn-toolbar pull-right">
|
||||
<?php if(common::hasPriv('sonarqube', 'create')) common::printLink('sonarqube', 'create', "", "<i class='icon icon-plus'></i> " . $lang->sonarqube->create, '', "class='btn btn-primary'");?>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user