提交 5f675b85 编写于 作者: aaronchen2k2k's avatar aaronchen2k2k

update result

上级 e72e4762
...@@ -384,12 +384,12 @@ ...@@ -384,12 +384,12 @@
}, },
{ {
"id": "success_to_submit_unit_test_result", "id": "success_to_submit_test_result",
"translation": "Success to submit unit test results to Zentao。" "translation": "Success to submit test results to Zentao。"
}, },
{ {
"id": "fail_to_submit_unit_test_result", "id": "fail_to_submit_test_result",
"translation": "Fail to submit unit test results to Zentao %s" "translation": "Fail to submit test results to Zentao %s"
}, },
{ {
"id": "ignore_to_submit_result", "id": "ignore_to_submit_result",
......
...@@ -391,12 +391,12 @@ ...@@ -391,12 +391,12 @@
}, },
{ {
"id": "success_to_submit_unit_test_result", "id": "success_to_submit_test_result",
"translation": "提交单元测试结果到禅道成功。" "translation": "提交测试结果到禅道成功。"
}, },
{ {
"id": "fail_to_submit_unit_test_result", "id": "fail_to_submit_test_result",
"translation": "提交单元测试结果到禅道失败 %s" "translation": "提交测试结果到禅道失败 %s"
}, },
{ {
"id": "ignore_to_submit_result", "id": "ignore_to_submit_result",
......
...@@ -57,9 +57,9 @@ func CommitTestResult(report model.TestReport, testTaskId int) { ...@@ -57,9 +57,9 @@ func CommitTestResult(report model.TestReport, testTaskId int) {
msg := "\n" msg := "\n"
if ok { if ok {
msg += color.GreenString(i118Utils.I118Prt.Sprintf("success_to_submit_unit_test_result")) msg += color.GreenString(i118Utils.I118Prt.Sprintf("success_to_submit_test_result"))
} else { } else {
msg += color.RedString(i118Utils.I118Prt.Sprintf("fail_to_submit_unit_test_result", url)) msg += color.RedString(i118Utils.I118Prt.Sprintf("fail_to_submit_test_result", url))
msg += "\n" + i118Utils.I118Prt.Sprintf("server_return") msg += "\n" + i118Utils.I118Prt.Sprintf("server_return")
msg += "\n" + resp msg += "\n" + resp
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册