This is an automated email from the ASF dual-hosted git repository.

lidongdai pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new a532d8e  [Fix-3338][ui] Fix the warning when user do not fill the node 
blank (#3349)
a532d8e is described below

commit a532d8ed69e41c69c4979eae0c1b964891abc696
Author: Yichao Yang <[email protected]>
AuthorDate: Thu Jul 30 13:14:05 2020 +0800

    [Fix-3338][ui] Fix the warning when user do not fill the node blank (#3349)
    
    * [Fix-3338][ui] Fix the warning when user do not fill the node blank
    
    * Update formModel.vue
---
 .../src/js/conf/home/pages/dag/_source/formModel/formModel.vue          | 2 +-
 dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/udp/udp.vue      | 2 +-
 dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js                  | 1 -
 dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js                  | 2 +-
 4 files changed, 3 insertions(+), 4 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 d3df6ad..5a0ba5b 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/conf/home/pages/dag/_source/udp/udp.vue 
b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/udp/udp.vue
index b9610cb..4acd550 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)')">
         </x-input>
       </div>
 
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 2cca526..eaca45d 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',
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 425f46a..8d6ecd7 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': '禁止执行',

Reply via email to