You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by so...@apache.org on 2022/04/06 02:17:27 UTC

[dolphinscheduler] branch dev updated: [Fix] [UI-Next][V1.0.0-Alpha] Rename node to task in the task creation modal (#9351)

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

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


The following commit(s) were added to refs/heads/dev by this push:
     new c21f8c650b [Fix] [UI-Next][V1.0.0-Alpha] Rename node to task in the task creation modal (#9351)
c21f8c650b is described below

commit c21f8c650bd3db641dd9305be57f309bed1e332e
Author: Devosend <de...@gmail.com>
AuthorDate: Wed Apr 6 10:17:20 2022 +0800

    [Fix] [UI-Next][V1.0.0-Alpha] Rename node to task in the task creation modal (#9351)
---
 dolphinscheduler-ui-next/src/locales/modules/en_US.ts               | 3 ++-
 .../src/views/projects/task/components/node/detail-modal.tsx        | 6 +++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/dolphinscheduler-ui-next/src/locales/modules/en_US.ts b/dolphinscheduler-ui-next/src/locales/modules/en_US.ts
index 71215531e3..f0ee2b6e57 100644
--- a/dolphinscheduler-ui-next/src/locales/modules/en_US.ts
+++ b/dolphinscheduler-ui-next/src/locales/modules/en_US.ts
@@ -531,6 +531,7 @@ const project = {
       'There is not any workflows. Please create a workflow, and then visit this page again.'
   },
   task: {
+    current_task_settings: 'Current task settings',
     online: 'Online',
     offline: 'Offline',
     task_name: 'Task Name',
@@ -618,7 +619,7 @@ const project = {
     view_history: 'View history',
     view_log: 'View log',
     enter_this_child_node: 'Enter this child node',
-    name: 'Node name',
+    name: 'Name',
     name_tips: 'Please enter name (required)',
     task_type: 'Task Type',
     task_type_tips: 'Please select a task type (required)',
diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/detail-modal.tsx b/dolphinscheduler-ui-next/src/views/projects/task/components/node/detail-modal.tsx
index c76b37ee67..3809415d27 100644
--- a/dolphinscheduler-ui-next/src/views/projects/task/components/node/detail-modal.tsx
+++ b/dolphinscheduler-ui-next/src/views/projects/task/components/node/detail-modal.tsx
@@ -181,7 +181,11 @@ const NodeDetailModal = defineComponent({
     return () => (
       <Modal
         show={props.show}
-        title={`${t('project.node.current_node_settings')}`}
+        title={
+          props.from === 1
+            ? `${t('project.task.current_task_settings')}`
+            : `${t('project.node.current_node_settings')}`
+        }
         onConfirm={onConfirm}
         confirmLoading={props.saving}
         confirmDisabled={props.readonly}