From d1665940c7cd22430c8c82798522eabc1b28c44f Mon Sep 17 00:00:00 2001 From: wenyann <64353056+wenyann@users.noreply.github.com> Date: Fri, 30 Oct 2020 14:39:55 +0800 Subject: [PATCH] fix: i18n --- frontend/src/i18n/en-US.js | 6 +++--- frontend/src/i18n/zh-CN.js | 6 +++--- frontend/src/i18n/zh-TW.js | 8 +++++--- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/frontend/src/i18n/en-US.js b/frontend/src/i18n/en-US.js index fc3ae0454c..9481130bd3 100644 --- a/frontend/src/i18n/en-US.js +++ b/frontend/src/i18n/en-US.js @@ -228,11 +228,11 @@ export default { mail: 'mail', nail_robot: 'Nail robot', enterprise_wechat_robot: 'Enterprise wechat robot', - notes: 'Note: 1. Event, receiving method and receiver are required;\n' + + notes:'Note: 1. Nail and create a custom robot in the enterprise group, and then copy the webhook address on our platform;\n' + '\n' + - '2. Webhook is required except email;\n' + + '2. Robots are selected as swarm robots, and "custom keyword" is selected for security verification: "task notification";\n' + '\n' + - '3. Robots are selected as swarm robots, and "custom keyword" is selected for security verification: "task notification"', + '3. When selecting the receiver, it must be the person included in the group you created. The mobile phone number of the receiver is required and it is the mobile phone number used by the nailing enterprise,', message: 'Event, receiver and receiving method are required\n' + '\n', message_webhook: 'Webhook is required when the receiving mode is nail or enterprise robot' diff --git a/frontend/src/i18n/zh-CN.js b/frontend/src/i18n/zh-CN.js index df34cae0e1..b8b0ee94aa 100644 --- a/frontend/src/i18n/zh-CN.js +++ b/frontend/src/i18n/zh-CN.js @@ -229,9 +229,9 @@ export default { mail: '邮件', nail_robot: '钉钉机器人', enterprise_wechat_robot: '企业微信机器人', - notes: '注意: 1.事件,接收方式,接收人为必填项;\n' + - ' 2.接收方式除邮件外webhook为必填;\n' + - ' 3.机器人选择为群机器人,安全验证选择“自定义关键词” :"任务通知"', + notes:'注意:1.钉钉和企业群里新建一个自定义机器人,然后复制 webhook 地址在我们平台上;\n' + + ' 2.机器人选择为群机器人,安全验证选择“自定义关键词” :"任务通知";\n' + + ' 3.选择接收人时必须是你所建的群里包含的人,接收人手机号为必填项且为钉钉企业所使用的手机号,', message: '事件,接收人,接收方式为必填项', message_webhook: '接收方式为钉钉和企业机器人时,webhook为必填项' diff --git a/frontend/src/i18n/zh-TW.js b/frontend/src/i18n/zh-TW.js index 299fe640c4..dad07b3294 100644 --- a/frontend/src/i18n/zh-TW.js +++ b/frontend/src/i18n/zh-TW.js @@ -229,9 +229,11 @@ export default { mail: '郵件', nail_robot: '釘釘機器人', enterprise_wechat_robot: '企業微信機器人', - notes: '註意: 1.事件,接收方式,接收人為必填項;\n' + - ' 2.接收方式除郵件外webhook為必填;\n' + - ' 3.機器人選擇為群機器人,安全驗證選擇“自定義關鍵詞” :"任務通知"', + notes:'注意:1.釘釘和企業群裏新建一個自定義機器人,然後複製webhook地址在我們平臺上;\n' + + '\n' + + '2.機器人選擇為群機器人,安全驗證選擇“自定義關鍵字”:“任務通知”;\n' + + '\n' + + '3.選擇接收人時必須是你所建的群裏包含的人,接收人手機號為必填項且為釘釘企業所使用的手機號,', message: '事件,接收人,接收方式為必填項', message_webhook: '接收方式為釘釘和企業機器人時,webhook為必填項'