Browse Source

[Feature][Workflow relationship] Improve English support. (#6936)

* [Feature][Workflow relationship] Improve English support.

* [Feature][Workflow relationship] Improve English support.
3.0.0/version-upgrade
songjianet 3 years ago committed by GitHub
parent
commit
024aacacb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 15
      dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/kinship/_source/graphGridOption.js
  2. 8
      dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js
  3. 8
      dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js

15
dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/kinship/_source/graphGridOption.js

@ -66,15 +66,14 @@ export default function (locations, links, sourceWorkFlowCode, isShowLabel) {
formatter: (params) => { formatter: (params) => {
if (!params.data.name) return '' if (!params.data.name) return ''
const { name, scheduleStartTime, scheduleEndTime, crontab, workFlowPublishStatus, schedulePublishStatus } = params.data const { name, scheduleStartTime, scheduleEndTime, crontab, workFlowPublishStatus, schedulePublishStatus } = params.data
const str = ` return `
工作流名字${name}<br/> ${i18n.$t('workflowName')}${name}<br/>
调度开始时间${scheduleStartTime}<br/> ${i18n.$t('scheduleStartTime')}${scheduleStartTime}<br/>
调度结束时间${scheduleEndTime}<br/> ${i18n.$t('scheduleEndTime')}${scheduleEndTime}<br/>
crontab表达式${crontab}<br/> ${i18n.$t('crontabExpression')}${crontab}<br/>
工作流发布状态${workFlowPublishStatus}<br/> ${i18n.$t('workflowPublishStatus')}${workFlowPublishStatus}<br/>
调度发布状态${schedulePublishStatus}<br/> ${i18n.$t('schedulePublishStatus')}${schedulePublishStatus}<br/>
` `
return str
}, },
color: '#2D303A', color: '#2D303A',
textStyle: { textStyle: {

8
dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js

@ -756,5 +756,11 @@ export default {
cols: 'Cols', cols: 'Cols',
processOnline: 'Online', processOnline: 'Online',
searchNode: 'Search Node', searchNode: 'Search Node',
dagScale: 'Scale' dagScale: 'Scale',
workflowName: 'Workflow Name',
scheduleStartTime: 'Schedule Start Time',
scheduleEndTime: 'Schedule End Time',
crontabExpression: 'Crontab',
workflowPublishStatus: 'Workflow Publish Status',
schedulePublishStatus: 'Schedule Publish Status'
} }

8
dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js

@ -757,5 +757,11 @@ export default {
cols: '列数', cols: '列数',
processOnline: '已上线', processOnline: '已上线',
searchNode: '搜索节点', searchNode: '搜索节点',
dagScale: '缩放' dagScale: '缩放',
workflowName: '工作流名称',
scheduleStartTime: '定时开始时间',
scheduleEndTime: '定时结束时间',
crontabExpression: 'Crontab',
workflowPublishStatus: '工作流上线状态',
schedulePublishStatus: '定时状态'
} }

Loading…
Cancel
Save