From 72153cc88572861d7648e2063737b4f71c1b9281 Mon Sep 17 00:00:00 2001 From: break60 <790061044@qq.com> Date: Sat, 1 Aug 2020 17:51:02 +0800 Subject: [PATCH 1/3] i18n format modification --- .../src/js/conf/home/pages/dag/_source/formModel/formModel.vue | 2 +- dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue index 9db5483943..29c4cf664b 100644 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue +++ b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue @@ -38,7 +38,7 @@ type="text" v-model="name" :disabled="isDetails" - :placeholder="$t('Please enter name(required)')" + :placeholder="$t('Please enter name (required)')" maxlength="100" @on-blur="_verifName()" autocomplete="off"> diff --git a/dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js b/dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js index f84f41b023..c38eac25e5 100755 --- a/dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js +++ b/dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js @@ -34,7 +34,7 @@ export default { 'View log': '查看日志', 'Enter this child node': '进入该子节点', 'Node name': '节点名称', - 'Please enter name(required)': '请输入名称(必填)', + 'Please enter name (required)': '请输入名称(必填)', 'Run flag': '运行标志', Normal: '正常', 'Prohibition execution': '禁止执行', From 340d409757be5b505764cb53c8f4bfc8516dd99d Mon Sep 17 00:00:00 2001 From: break60 <790061044@qq.com> Date: Sat, 1 Aug 2020 18:17:56 +0800 Subject: [PATCH 2/3] fix --- .../src/js/conf/home/pages/dag/_source/udp/udp.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/udp/udp.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/udp/udp.vue index b9610cbc7b..4acd550f5f 100644 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/udp/udp.vue +++ b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/udp/udp.vue @@ -26,7 +26,7 @@ type="text" v-model="name" :disabled="router.history.current.name === 'projects-instance-details'" - :placeholder="$t('Please enter name(required)')"> + :placeholder="$t('Please enter name (required)')"> From e174506cbddaf4615d2d1818b330f6dcf56ba019 Mon Sep 17 00:00:00 2001 From: break60 <790061044@qq.com> Date: Sat, 1 Aug 2020 18:18:26 +0800 Subject: [PATCH 3/3] fix --- dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js | 1 - 1 file changed, 1 deletion(-) diff --git a/dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js b/dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js index 504534eb34..009f2bdac2 100755 --- a/dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js +++ b/dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js @@ -34,7 +34,6 @@ export default { 'View log': 'View log', 'Enter this child node': 'Enter this child node', 'Node name': 'Node name', - 'Please enter name(required)': 'Please enter name(required)', 'Run flag': 'Run flag', Normal: 'Normal', 'Prohibition execution': 'Prohibition execution',