From 4906f50f11f491b87397579acdf5fcc0248bc1f0 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Mon, 20 Feb 2023 19:09:07 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):?= =?UTF-8?q?=20=E6=96=B0=E5=BB=BA=E7=94=A8=E4=BE=8B=E6=96=87=E6=A1=88?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1023415 --user=陈建星 【测试跟踪】功能用例-编辑-依赖关系-解除依赖-弹框提示和原型不符 https://www.tapd.cn/55049933/s/1338973 --bug=1023413 --user=陈建星 【测试跟踪】功能用例,新建用例的 “保存并新建” 按钮容易让人误解,文案建议改成 “保存并继续添加” https://www.tapd.cn/55049933/s/1338974 --- .../components/case/diff/CaseDiffRelationshipTableList.vue | 2 +- .../case/components/common/CaseRelationshipTableList.vue | 2 +- test-track/frontend/src/i18n/lang/en-US.js | 5 +++-- test-track/frontend/src/i18n/lang/zh-CN.js | 5 +++-- test-track/frontend/src/i18n/lang/zh-TW.js | 5 +++-- 5 files changed, 11 insertions(+), 8 deletions(-) diff --git a/test-track/frontend/src/business/case/components/case/diff/CaseDiffRelationshipTableList.vue b/test-track/frontend/src/business/case/components/case/diff/CaseDiffRelationshipTableList.vue index 922029c5d0..e874a4a5b5 100644 --- a/test-track/frontend/src/business/case/components/case/diff/CaseDiffRelationshipTableList.vue +++ b/test-track/frontend/src/business/case/components/case/diff/CaseDiffRelationshipTableList.vue @@ -195,7 +195,7 @@ export default { handleDelete(item) { operationConfirm( this, - this.$t("test_track.case.delete_confirm") + "依赖吗 ?", + this.$t("case.dependency_remove_confirm"), () => { this.$emit("deleteRelationship", item.sourceId, item.targetId); } diff --git a/test-track/frontend/src/business/case/components/common/CaseRelationshipTableList.vue b/test-track/frontend/src/business/case/components/common/CaseRelationshipTableList.vue index 941347a375..ace94ca361 100644 --- a/test-track/frontend/src/business/case/components/common/CaseRelationshipTableList.vue +++ b/test-track/frontend/src/business/case/components/common/CaseRelationshipTableList.vue @@ -184,7 +184,7 @@ export default { handleDelete(item) { operationConfirm( this, - this.$t("test_track.case.delete_confirm") + "依赖吗 ?", + this.$t("case.dependency_remove_confirm"), () => { this.$emit("deleteRelationship", item.sourceId, item.targetId); } diff --git a/test-track/frontend/src/i18n/lang/en-US.js b/test-track/frontend/src/i18n/lang/en-US.js index 00e9aebbb6..a4c3ccbc4d 100644 --- a/test-track/frontend/src/i18n/lang/en-US.js +++ b/test-track/frontend/src/i18n/lang/en-US.js @@ -131,7 +131,7 @@ const message = { please_enter_expected_results: "Please enter expected results", please_enter_comments: "Please enter comments", disassociate: "Disassociate", - saveAndCreate: "Save and Add", + saveAndCreate: "Save and continue create", last_version: "Last version", set_new: "Set new", version_comparison: "Version comparison", @@ -146,7 +146,8 @@ const message = { enter_comments_and_click_send: "Enter comments and click Send", cancel_relate_case_tips_title: "Confirm cancel?", cancel_relate_case_tips_content: "Cancel it will affect the test plan statistics. Sure?", - back_tips: "TestCase is not saved, Are you sure to quit?" + back_tips: "TestCase is not saved, Are you sure to quit?", + dependency_remove_confirm: "Is dependency release confirmed?" }, attachment: { preview: "Preview", diff --git a/test-track/frontend/src/i18n/lang/zh-CN.js b/test-track/frontend/src/i18n/lang/zh-CN.js index a795426ff3..d08063ed03 100644 --- a/test-track/frontend/src/i18n/lang/zh-CN.js +++ b/test-track/frontend/src/i18n/lang/zh-CN.js @@ -131,7 +131,7 @@ const message = { please_enter_expected_results: "请输入预期结果", please_enter_comments: "请输入备注", disassociate: "取消关联", - saveAndCreate: "保存并添加", + saveAndCreate: "保存并继续添加", last_version: "最新版本", set_new: "置新", version_comparison: "版本对比", @@ -146,7 +146,8 @@ const message = { enter_comments_and_click_send: "输入评论,点击发送", cancel_relate_case_tips_title: "确定取消关联关系吗?", cancel_relate_case_tips_content: "取消关联会影响测试计划相关统计, 确定取消吗?", - back_tips: "你填写的信息未保存, 确定退出吗?" + back_tips: "你填写的信息未保存, 确定退出吗?", + dependency_remove_confirm: "确定解除依赖吗?" }, attachment: { preview: "预览", diff --git a/test-track/frontend/src/i18n/lang/zh-TW.js b/test-track/frontend/src/i18n/lang/zh-TW.js index 7ffe322ff0..b3ef51b1a0 100644 --- a/test-track/frontend/src/i18n/lang/zh-TW.js +++ b/test-track/frontend/src/i18n/lang/zh-TW.js @@ -131,7 +131,7 @@ const message = { please_enter_expected_results: "請輸入預期結果", please_enter_comments: "請輸入備注", disassociate: "取消關联", - saveAndCreate: "保存並添加", + saveAndCreate: "保存並繼續添加", last_version: "最新版本", set_new: "置新", version_comparison: "版本對比", @@ -146,7 +146,8 @@ const message = { enter_comments_and_click_send: "輸入評論,點擊發送", cancel_relate_case_tips_title: "確定取消關聯關係嗎?", cancel_relate_case_tips_content: "取消關聯會影響測試計劃相關統計, 確定取消嗎?", - back_tips: "你填寫的信息未保存, 確定退出嗎?" + back_tips: "你填寫的信息未保存, 確定退出嗎?", + dependency_remove_confirm: "確定解除依賴嗎?" }, attachment: { preview: "預覽",