Browse Source

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

3.0.0/version-upgrade
Devosend 3 years ago committed by GitHub
parent
commit
c21f8c650b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      dolphinscheduler-ui-next/src/locales/modules/en_US.ts
  2. 6
      dolphinscheduler-ui-next/src/views/projects/task/components/node/detail-modal.tsx

3
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)',

6
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}

Loading…
Cancel
Save