This is an automated email from the ASF dual-hosted git repository.

linkinstar pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-answer-plugins.git

commit 8a25e44234f528f3adaa91593caa8c6da623e322
Author: lihui <[email protected]>
AuthorDate: Fri Jan 3 13:48:30 2025 +0800

    feat: format code and add notification-wecom to README.md
---
 README.md                              |  1 +
 notification-wecom/i18n/translation.go | 21 +++++++++++----------
 2 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/README.md b/README.md
index 0b8d4c4..250f0f5 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 80db37e..d0ce534 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"
 )

Reply via email to