* finish task #5992.

This commit is contained in:
wangyidong
2019-07-11 15:07:14 +08:00
parent f01121bb7c
commit f578ad80e7
7 changed files with 17 additions and 8 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ $lang->bug->batchCreate = '批量提Bug';
$lang->bug->confirmBug = '确认';
$lang->bug->confirmAction = '确认Bug';
$lang->bug->batchConfirm = '批量确认';
$lang->bug->edit = '编辑';
$lang->bug->edit = '编辑Bug';
$lang->bug->batchEdit = '批量编辑';
$lang->bug->batchChangeModule = '批量修改模块';
$lang->bug->batchChangeBranch = '批量修改分支';
+11 -2
View File
@@ -50,7 +50,15 @@
$fields = $this->custom->getFormFields('testcase', $method);
$method = 'createCase';
}
echo $lang->$moduleName->$method . $lang->custom->page;
$actionKey = $method . 'Action';
if(isset($lang->$moduleName->$actionKey))
{
echo $lang->$moduleName->$actionKey . $lang->custom->page;
}
else
{
echo $lang->$moduleName->$method . $lang->custom->page;
}
?>
</th>
<td><?php echo html::select("requiredFields[{$method}][]", $fields, $requiredField, "class='form-control chosen' multiple " . ($i == 0 ? "data-placeholder='{$lang->custom->notice->required}'" : ''));?></td>
@@ -59,7 +67,8 @@
<?php $i++;?>
<?php endforeach;?>
<tr>
<td colspan='3' class='text-center form-actions'>
<th></th>
<td colspan='2' class='form-actions'>
<?php echo html::submitButton();?>
<?php if(common::hasPriv('custom', 'resetRequired')) echo html::a(inlink('resetRequired', "module=$moduleName"), $lang->custom->restore, 'hiddenwin', "class='btn btn-wide'");?>
</td>
+1 -1
View File
@@ -18,7 +18,7 @@ $lang->dept->manager = "Manager";
$lang->dept->name = "Department Name";
$lang->dept->browse = "Manage Department";
$lang->dept->manage = "Manage Department";
$lang->dept->updateOrder = "Order Department";
$lang->dept->updateOrder = "Rank Department";
$lang->dept->add = "Add Department";
$lang->dept->dragAndSort = "Drag to order";
+1 -1
View File
@@ -72,7 +72,7 @@ $lang->doc->browse = 'Document List';
$lang->doc->view = 'Document Detail';
$lang->doc->diff = 'Diff';
$lang->doc->diffAction = 'Diff Document';
$lang->doc->sort = 'Order Document';
$lang->doc->sort = 'Rank Document';
$lang->doc->manageType = 'Manage Category';
$lang->doc->editType = 'Edit';
$lang->doc->deleteType = 'Delete';
+1 -1
View File
@@ -26,7 +26,7 @@ $lang->product->mine = 'My:';
$lang->product->other = 'Others:';
$lang->product->closed = 'Closed';
$lang->product->updateOrder = 'Order';
$lang->product->orderAction = "Order {$lang->productCommon}";
$lang->product->orderAction = "Rank {$lang->productCommon}";
$lang->product->all = "All {$lang->productCommon}s";
$lang->product->export = 'Export';
$lang->product->exportAction = "Export {$lang->productCommon}";
+1 -1
View File
@@ -85,7 +85,7 @@ $lang->testcase->view = "用例详情";
$lang->testcase->review = "评审";
$lang->testcase->reviewAB = "评审";
$lang->testcase->batchReview = "批量评审";
$lang->testcase->edit = "编辑";
$lang->testcase->edit = "编辑用例";
$lang->testcase->batchEdit = "批量编辑 ";
$lang->testcase->batchChangeModule = "批量修改模块";
$lang->testcase->confirmLibcaseChange = "同步用例库用例修改";
+1 -1
View File
@@ -13,7 +13,7 @@ $lang->testsuite->index = "套件首页";
$lang->testsuite->create = "建套件";
$lang->testsuite->delete = "删除";
$lang->testsuite->view = "概况";
$lang->testsuite->edit = "编辑";
$lang->testsuite->edit = "编辑套件";
$lang->testsuite->browse = "套件列表";
$lang->testsuite->linkCase = "关联用例";
$lang->testsuite->linkVersion = "版本";