You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by le...@apache.org on 2021/11/20 14:58:38 UTC
[dolphinscheduler] branch dev updated: [Feature][Workflow relationship] Improve English support. (#6936)
This is an automated email from the ASF dual-hosted git repository.
leonbao 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 024aaca [Feature][Workflow relationship] Improve English support. (#6936)
024aaca is described below
commit 024aacacb305c7145e73c5f3d8d1209a88f814d7
Author: songjianet <17...@qq.com>
AuthorDate: Sat Nov 20 22:58:30 2021 +0800
[Feature][Workflow relationship] Improve English support. (#6936)
* [Feature][Workflow relationship] Improve English support.
* [Feature][Workflow relationship] Improve English support.
---
.../projects/pages/kinship/_source/graphGridOption.js | 17 ++++++++---------
dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js | 8 +++++++-
dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js | 8 +++++++-
3 files changed, 22 insertions(+), 11 deletions(-)
diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/kinship/_source/graphGridOption.js b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/kinship/_source/graphGridOption.js
index 5ad2408..4bbcc3b 100644
--- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/kinship/_source/graphGridOption.js
+++ b/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) => {
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: {
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 035df0a..1876c7c 100755
--- a/dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js
+++ b/dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js
@@ -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'
}
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 bc17be4..7a632da 100644
--- a/dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js
+++ b/dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js
@@ -757,5 +757,11 @@ export default {
cols: '列数',
processOnline: '已上线',
searchNode: '搜索节点',
- dagScale: '缩放'
+ dagScale: '缩放',
+ workflowName: '工作流名称',
+ scheduleStartTime: '定时开始时间',
+ scheduleEndTime: '定时结束时间',
+ crontabExpression: 'Crontab',
+ workflowPublishStatus: '工作流上线状态',
+ schedulePublishStatus: '定时状态'
}