From 2168f5de50af575b77e72ca16028bf1719768700 Mon Sep 17 00:00:00 2001 From: jianneng-fit2cloud Date: Wed, 11 Dec 2024 15:35:20 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=9B=BE=E8=A1=A8):=20=E5=9B=BD=E9=99=85?= =?UTF-8?q?=E5=8C=96(=E9=98=88=E5=80=BC=E5=91=8A=E8=AD=A6)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/locales/en.ts | 36 ++++++++++++++++++++++++- core/core-frontend/src/locales/tw.ts | 35 +++++++++++++++++++++++- core/core-frontend/src/locales/zh-CN.ts | 36 ++++++++++++++++++++++++- de-xpack | 2 +- 4 files changed, 105 insertions(+), 4 deletions(-) diff --git a/core/core-frontend/src/locales/en.ts b/core/core-frontend/src/locales/en.ts index 819411e239..838898a0bb 100644 --- a/core/core-frontend/src/locales/en.ts +++ b/core/core-frontend/src/locales/en.ts @@ -4190,7 +4190,41 @@ Scatter chart (bubble) chart: {a} (series name), {b} (data name), {c} (value arr module_name: 'Threshold alarm', setting: 'Threshold alarm setting', no_view_tip: 'Please save before setting threshold alarm', - selected_view: 'Selected chart:' + selected_view: 'Selected chart:', + please_enter_name: 'Please enter alert name', + detection_time: 'Detection Time', + rules: 'Alarm rules', + rules_invalid: 'Alarm rules invalid', + once_a_hour: 'Every hour', + once_a_day: 'Every day', + once_a_week: 'Every week', + once_a_month: 'Every month', + email: 'Email', + wecom: 'WeCom', + dingtalk: 'DingTalk', + lark: 'Lark', + notification_setting: 'Alarm notification', + notification_method: 'Notification method', + notification_user: 'Notifier', + notification_email: 'Email notification', + please_enter_email: 'Please enter email, press Enter to confirm', + please_choose_lark_group: 'Please select lark group', + notification_content: 'Notification content', + default_msg: 'Default message', + custom_msg: 'Custom message', + msg_title: 'Message title', + msg_content: 'Message content', + repeat_send: 'Repeat send', + recipient: 'Recipient', + choose_recipient: 'Select recipient', + trigger_alarm: 'Trigger alarm', + abnormal_alarm: 'Abnormal alarm', + choose_recipient_tip: 'Selected {0} people, {1} roles', + notification_methods_cannot_be_empty: 'Notification methods cannot be empty at the same time', + recipient_setting: 'Recipient setting', + attention_quota_tip: 'The indicators you are following', + pay_attention_in_time: '. Please pay attention in time.', + msg_preview: 'Message preview' }, relation: { no_permission: 'No view permission', diff --git a/core/core-frontend/src/locales/tw.ts b/core/core-frontend/src/locales/tw.ts index 5fd7015fd5..337bdcc971 100644 --- a/core/core-frontend/src/locales/tw.ts +++ b/core/core-frontend/src/locales/tw.ts @@ -4079,7 +4079,40 @@ export default { module_name: '閾值警報', setting: '閾值警告設定', no_view_tip: '請在設定閾值警報前先儲存', - selected_view: '已選擇圖表:' + selected_view: '已選擇圖表:', + please_enter_name: '請輸入告警名稱', + detection_time: '檢測時間', + rules: '告警規則', + rules_invalid: '告警規則無效', + once_a_hour: '每小時', + once_a_day: '每天', + once_a_week: '每週', + once_a_month: '每月', + email: '郵件', + wecom: '企業微信', + dingtalk: '釘釘', + notification_setting: '告警通知', + notification_method: '通知方式', + notification_user: '通知人', + notification_email: '郵件通知', + please_enter_email: '請輸入郵箱,回車確認', + please_choose_lark_group: '請選擇飛書群', + notification_content: '通知內容', + default_msg: '默認消息', + custom_msg: '自定義消息', + msg_title: '消息標題', + msg_content: '消息正文', + repeat_send: '是否重複發送', + recipient: '接收人', + choose_recipient: '選擇接收人', + trigger_alarm: '觸發告警', + abnormal_alarm: '異常告警', + choose_recipient_tip: '已選 {0} 人, {1} 角色', + notification_methods_cannot_be_empty: '通知方式不能同時為空', + recipient_setting: '設置接收人', + attention_quota_tip: '您關注的指標', + pay_attention_in_time: '。請及時關注。', + msg_preview: '消息預覽' }, relation: { no_permission: '沒有查看權限', diff --git a/core/core-frontend/src/locales/zh-CN.ts b/core/core-frontend/src/locales/zh-CN.ts index 1eefdafc19..523ec4e8e3 100644 --- a/core/core-frontend/src/locales/zh-CN.ts +++ b/core/core-frontend/src/locales/zh-CN.ts @@ -4083,7 +4083,41 @@ export default { module_name: '阈值告警', setting: '阈值告警设置', no_view_tip: '请在设置阈值告警前先保存', - selected_view: '已选择图表:' + selected_view: '已选择图表:', + please_enter_name: '请输入告警名称', + detection_time: '检测时间', + rules: '告警规则', + rules_invalid: '告警规则无效', + once_a_hour: '每小时', + once_a_day: '每天', + once_a_week: '每周', + once_a_month: '每月', + email: '邮件', + wecom: '企业微信', + dingtalk: '钉钉', + lark: '飞书', + notification_setting: '告警通知', + notification_method: '通知方式', + notification_user: '通知人', + notification_email: '邮件通知', + please_enter_email: '请输入邮箱,回车确认', + please_choose_lark_group: '请选择飞书群', + notification_content: '通知内容', + default_msg: '默认消息', + custom_msg: '自定义消息', + msg_title: '消息标题', + msg_content: '消息正文', + repeat_send: '是否重复发送', + recipient: '接收人', + choose_recipient: '选择接收人', + trigger_alarm: '触发告警', + abnormal_alarm: '异常告警', + choose_recipient_tip: '已选 {0} 人, {1} 角色', + notification_methods_cannot_be_empty: '通知方式不能同时为空', + recipient_setting: '设置接收人', + attention_quota_tip: '您关注的指标', + pay_attention_in_time: '。请及时关注。', + msg_preview: '消息预览' }, relation: { no_permission: '没有查看权限', diff --git a/de-xpack b/de-xpack index 54eb093825..ab307ea0a7 160000 --- a/de-xpack +++ b/de-xpack @@ -1 +1 @@ -Subproject commit 54eb093825d3809aab7c17e916051605d52e09bc +Subproject commit ab307ea0a740d14949acac08da652df6e7ae82b2