From 950831ed1fda068a1674c47727b8eb22065f640c Mon Sep 17 00:00:00 2001 From: xiangzihao <460888207@qq.com> Date: Wed, 11 Sep 2024 09:44:56 +0800 Subject: [PATCH] [Improvement-16598][UI] SQL task type optimization of sending alarm notifications (#16599) * improvement 16598 * improvement 16598 --- dolphinscheduler-ui/src/locales/en_US/project.ts | 4 ++-- dolphinscheduler-ui/src/locales/zh_CN/project.ts | 4 ++-- .../projects/task/components/node/fields/use-sql-type.ts | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dolphinscheduler-ui/src/locales/en_US/project.ts b/dolphinscheduler-ui/src/locales/en_US/project.ts index ebc1840a7a..9033a03f9b 100644 --- a/dolphinscheduler-ui/src/locales/en_US/project.ts +++ b/dolphinscheduler-ui/src/locales/en_US/project.ts @@ -823,11 +823,11 @@ export default { dvc_load_save_data_path: 'Data Path In Worker', dvc_store_url: 'Store Url', dvc_empty_tips: 'This parameter cannot be empty', - send_email: 'Send Email', + send_alarm: 'Send Alarm', log_display: 'Log display', rows_of_result: 'rows of result', title: 'Title', - title_tips: 'Please enter the title of email', + title_tips: 'Please enter the title of alarm', alarm_group: 'Alarm group', alarm_group_tips: 'Alarm group required', integer_tips: 'Please enter a positive integer', diff --git a/dolphinscheduler-ui/src/locales/zh_CN/project.ts b/dolphinscheduler-ui/src/locales/zh_CN/project.ts index 67236aade4..0da7c9eb71 100644 --- a/dolphinscheduler-ui/src/locales/zh_CN/project.ts +++ b/dolphinscheduler-ui/src/locales/zh_CN/project.ts @@ -798,11 +798,11 @@ export default { dvc_load_save_data_path: 'Worker中数据路径', dvc_store_url: '数据存储地址', dvc_empty_tips: '该参数不能为空', - send_email: '发送邮件', + send_alarm: '发送告警', log_display: '日志显示', rows_of_result: '行查询结果', title: '主题', - title_tips: '请输入邮件主题', + title_tips: '请输入告警主题', alarm_group: '告警组', alarm_group_tips: '告警组必填', integer_tips: '请输入一个正整数', diff --git a/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-sql-type.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-sql-type.ts index 1e93c9e208..d30ef9ef32 100644 --- a/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-sql-type.ts +++ b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-sql-type.ts @@ -71,7 +71,7 @@ export function useSqlType(model: { [field: string]: any }): IJsonItem[] { type: 'switch', field: 'sendEmail', span: querySpan, - name: t('project.node.send_email') + name: t('project.node.send_alarm') }, { type: 'select',