From 13ddaa5acaa7adc5fe6ee190c6fa835caa94501a Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Wed, 27 Jan 2021 11:33:17 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BF=AE=E6=94=B9=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=A0=87=E7=AD=BE=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../business/components/api/automation/scenario/MsInputTag.vue | 2 +- frontend/src/i18n/en-US.js | 1 + frontend/src/i18n/zh-CN.js | 1 + frontend/src/i18n/zh-TW.js | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/business/components/api/automation/scenario/MsInputTag.vue b/frontend/src/business/components/api/automation/scenario/MsInputTag.vue index b8decca23f..c53111a410 100644 --- a/frontend/src/business/components/api/automation/scenario/MsInputTag.vue +++ b/frontend/src/business/components/api/automation/scenario/MsInputTag.vue @@ -21,7 +21,7 @@ v-if="!readOnly" class="tag-input el-input" v-model="newTag" - placeholder="输入回车添加" + placeholder="$t('commons.tag_tip)" @keydown.delete.stop="removeLastTag" @keydown="addNew" @blur="addNew"/> diff --git a/frontend/src/i18n/en-US.js b/frontend/src/i18n/en-US.js index 937990b776..18be511007 100644 --- a/frontend/src/i18n/en-US.js +++ b/frontend/src/i18n/en-US.js @@ -132,6 +132,7 @@ export default { batch_add: "Batch add", check_project_tip: "Create or select the project first", auth_redirect_tip: 'Jump to the authentication source page for authentication', + tag_tip: "Enter Enter to Add Label", table: { select_tip: "Item {0} data is selected" }, diff --git a/frontend/src/i18n/zh-CN.js b/frontend/src/i18n/zh-CN.js index b266f3f1cd..ddd79f959d 100644 --- a/frontend/src/i18n/zh-CN.js +++ b/frontend/src/i18n/zh-CN.js @@ -133,6 +133,7 @@ export default { batch_add: "批量添加", check_project_tip: "请先创建或选择项目", auth_redirect_tip: '即将跳转到认证源页面进行认证', + tag_tip: "输入回车添加标签", table: { select_tip: "已选中 {0} 条数据" }, diff --git a/frontend/src/i18n/zh-TW.js b/frontend/src/i18n/zh-TW.js index 7d24108c54..0298d2bba4 100644 --- a/frontend/src/i18n/zh-TW.js +++ b/frontend/src/i18n/zh-TW.js @@ -133,6 +133,7 @@ export default { batch_add: "批量添加", check_project_tip: "請先創建或選擇項目", auth_redirect_tip: '即將跳轉到認證源頁面進行認證', + tag_tip: "輸入回車添加標簽", table: { select_tip: "已选中 {0} 条数据" },