diff --git a/README.md b/README.md index 0b8d4c41..250f0f5b 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,7 @@ The Notification plugin helps us to send messages to third-party notification sy - [x] [Slack](https://github.com/apache/incubator-answer-plugins/tree/main/notification-slack) - [x] [Lark](https://github.com/apache/incubator-answer-plugins/tree/main/notification-lark) - [x] [Ding talk](https://github.com/apache/incubator-answer-plugins/tree/main/notification-dingtalk) +- [x] [WeCom](https://github.com/apache/incubator-answer-plugins/tree/main/notification-wecom) ### Route diff --git a/notification-wecom/i18n/translation.go b/notification-wecom/i18n/translation.go index 80db37ee..d0ce5344 100644 --- a/notification-wecom/i18n/translation.go +++ b/notification-wecom/i18n/translation.go @@ -16,6 +16,7 @@ * specific language governing permissions and limitations * under the License. */ + package i18n const ( @@ -39,14 +40,14 @@ const ( UserConfigNewQuestionsForFollowingTagsLabel = "plugin.wecom_notification.backend.user_config.new_questions_for_following_tags.label" UserConfigNewQuestionsForFollowingTagsDescription = "plugin.wecom_notification.backend.user_config.new_questions_for_following_tags.description" - TplUpdateQuestion = "plugin.wecom_notification.backend.tpl.update_question.text" - TplAnswerTheQuestion = "plugin.wecom_notification.backend.tpl.answer_the_question.text" - TplUpdateAnswer = "plugin.wecom_notification.backend.tpl.update_answer.text" - TplAcceptAnswer = "plugin.wecom_notification.backend.tpl.accept_answer.text" - TplCommentQuestion = "plugin.wecom_notification.backend.tpl.comment_question.text" - TplCommentAnswer = "plugin.wecom_notification.backend.tpl.comment_answer.text" - TplReplyToYou = "plugin.wecom_notification.backend.tpl.reply_to_you.text" - TplMentionYou = "plugin.wecom_notification.backend.tpl.mention_you.text" - TplInvitedYouToAnswer = "plugin.wecom_notification.backend.tpl.invited_you_to_answer.text" - TplNewQuestion = "plugin.wecom_notification.backend.tpl.new_question.text" + TplUpdateQuestion = "plugin.wecom_notification.backend.tpl.update_question.text" + TplAnswerTheQuestion = "plugin.wecom_notification.backend.tpl.answer_the_question.text" + TplUpdateAnswer = "plugin.wecom_notification.backend.tpl.update_answer.text" + TplAcceptAnswer = "plugin.wecom_notification.backend.tpl.accept_answer.text" + TplCommentQuestion = "plugin.wecom_notification.backend.tpl.comment_question.text" + TplCommentAnswer = "plugin.wecom_notification.backend.tpl.comment_answer.text" + TplReplyToYou = "plugin.wecom_notification.backend.tpl.reply_to_you.text" + TplMentionYou = "plugin.wecom_notification.backend.tpl.mention_you.text" + TplInvitedYouToAnswer = "plugin.wecom_notification.backend.tpl.invited_you_to_answer.text" + TplNewQuestion = "plugin.wecom_notification.backend.tpl.new_question.text" )