Skip to content

Commit

Permalink
feat: format code and add notification-wecom to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lhui authored and LinkinStars committed Jan 6, 2025
1 parent d0b0cc7 commit 8a25e44
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
21 changes: 11 additions & 10 deletions notification-wecom/i18n/translation.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/

package i18n

const (
Expand All @@ -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"
)

0 comments on commit 8a25e44

Please sign in to comment.