mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-03 04:39:00 +08:00
[Feature][Workflow relationship] Improve English support. (#6936)
* [Feature][Workflow relationship] Improve English support. * [Feature][Workflow relationship] Improve English support.
This commit is contained in:
parent
1fdbc3270c
commit
024aacacb3
@ -66,15 +66,14 @@ export default function (locations, links, sourceWorkFlowCode, isShowLabel) {
|
||||
formatter: (params) => {
|
||||
if (!params.data.name) return ''
|
||||
const { name, scheduleStartTime, scheduleEndTime, crontab, workFlowPublishStatus, schedulePublishStatus } = params.data
|
||||
const str = `
|
||||
工作流名字:${name}<br/>
|
||||
调度开始时间:${scheduleStartTime}<br/>
|
||||
调度结束时间:${scheduleEndTime}<br/>
|
||||
crontab表达式:${crontab}<br/>
|
||||
工作流发布状态:${workFlowPublishStatus}<br/>
|
||||
调度发布状态:${schedulePublishStatus}<br/>
|
||||
`
|
||||
return str
|
||||
return `
|
||||
${i18n.$t('workflowName')}:${name}<br/>
|
||||
${i18n.$t('scheduleStartTime')}:${scheduleStartTime}<br/>
|
||||
${i18n.$t('scheduleEndTime')}:${scheduleEndTime}<br/>
|
||||
${i18n.$t('crontabExpression')}:${crontab}<br/>
|
||||
${i18n.$t('workflowPublishStatus')}:${workFlowPublishStatus}<br/>
|
||||
${i18n.$t('schedulePublishStatus')}:${schedulePublishStatus}<br/>
|
||||
`
|
||||
},
|
||||
color: '#2D303A',
|
||||
textStyle: {
|
||||
|
@ -756,5 +756,11 @@ export default {
|
||||
cols: 'Cols',
|
||||
processOnline: 'Online',
|
||||
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'
|
||||
}
|
||||
|
@ -757,5 +757,11 @@ export default {
|
||||
cols: '列数',
|
||||
processOnline: '已上线',
|
||||
searchNode: '搜索节点',
|
||||
dagScale: '缩放'
|
||||
dagScale: '缩放',
|
||||
workflowName: '工作流名称',
|
||||
scheduleStartTime: '定时开始时间',
|
||||
scheduleEndTime: '定时结束时间',
|
||||
crontabExpression: 'Crontab',
|
||||
workflowPublishStatus: '工作流上线状态',
|
||||
schedulePublishStatus: '定时状态'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user