Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions notification-slack/i18n/en_US.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,7 @@ plugin:
other: "<{{.TriggerUserUrl}}|{{.TriggerUserDisplayName}}> invited you to answer <{{.QuestionUrl}}|{{.QuestionTitle}}>"
new_question:
other: "New question:\n<{{.QuestionUrl}}|{{.QuestionTitle}}>\n{{.QuestionTags}}"
upvoted_answer:
other: "<{{.TriggerUserUrl}}|{{.TriggerUserDisplayName}}> upvoted your answer <{{.AnswerUrl}}|{{.QuestionTitle}}>"
downvoted_answer:
other: "<{{.TriggerUserUrl}}|{{.TriggerUserDisplayName}}> downvoted your answer <{{.AnswerUrl}}|{{.QuestionTitle}}>"
6 changes: 5 additions & 1 deletion notification-slack/i18n/zh_CN.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,8 @@ plugin:
invited_you_to_answer:
other: "<{{.TriggerUserUrl}}|{{.TriggerUserDisplayName}}> 邀请你回答 <{{.QuestionUrl}}|{{.QuestionTitle}}>"
new_question:
other: "新问题:\n<{{.QuestionUrl}}|{{.QuestionTitle}}>\n{{.QuestionTags}}"
other: "新问题:\n<{{.QuestionUrl}}|{{.QuestionTitle}}>\n{{.QuestionTags}}"
upvoted_answer:
other: "<{{.TriggerUserUrl}}|{{.TriggerUserDisplayName}}> upvoted your answer <{{.AnswerUrl}}|{{.QuestionTitle}}>"
downvoted_answer:
other: "<{{.TriggerUserUrl}}|{{.TriggerUserDisplayName}}> downvoted your answer <{{.AnswerUrl}}|{{.QuestionTitle}}>"
35 changes: 35 additions & 0 deletions user-center-slack/i18n/en_US.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ plugin:
description:
other: Slack signing secret
user_config:
webhook_url:
title:
other: Webhook URL
inbox_notifications:
title:
other: Inbox Notifications
Expand All @@ -93,6 +96,34 @@ plugin:
other: Turn on new questions for following tags
description:
other: Get notified of new questions for following tags.
upvoted_answers:
title:
other: UpVoted Answers
label:
other: Turn on notification for upvoted answers
description:
other: Get notified of upvoted answers
downvoted_answers:
title:
other: DownVoted Answers
label:
other: Turn on notification for downvoted answers
description:
other: Get notified of downvoted answers
updated_questions:
title:
other: Updated Questions
label:
other: Turn on notification for updated questions
description:
other: Get notified of updated questions
updated_answers:
title:
other: Updated Answers
label:
other: Turn on notification for updated answers
description:
other: Get notified of updated answers
tpl:
update_question:
other: "<a href=\"{{.TriggerUserUrl}}\">{{.TriggerUserDisplayName}}</a> updated question <a href=\"{{.QuestionUrl}}\">{{.QuestionTitle}}</a>"
Expand All @@ -114,3 +145,7 @@ plugin:
other: "<a href=\"{{.TriggerUserUrl}}\">{{.TriggerUserDisplayName}}</a> invited you to answer <a href=\"{{.QuestionUrl}}\">{{.QuestionTitle}}</a>"
new_question:
other: "New question:\n<a href=\"{{.QuestionUrl}}\">{{.QuestionTitle}}</a>\n{{.QuestionTags}}"
upvoted_answer:
other: "<a href=\"{{.TriggerUserUrl}}\">{{.TriggerUserDisplayName}}</a> 点赞了你的回答 <a href=\"{{.AnswerUrl}}\">{{.QuestionTitle}}</a>"
downvoted_answer:
other: "<a href=\"{{.TriggerUserUrl}}\">{{.TriggerUserDisplayName}}</a> 反对了你的回答 <a href=\"{{.AnswerUrl}}\">{{.QuestionTitle}}</a>"
41 changes: 38 additions & 3 deletions user-center-slack/i18n/zh_CN.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ plugin:
name:
other: Slack
description:
other: 通过Slack进行登录
other: 通过 Slack 进行登录
config:
tip:
title:
Expand Down Expand Up @@ -65,13 +65,16 @@ plugin:
title:
other: 通知
description:
other: 用户将在Slack上收到通知
other: 用户将在 Slack 上收到通知
signing_secret:
title:
other: Signing Secret
description:
other: Slack signing secret
user_config:
webhook_url:
title:
other: Webhook URL
inbox_notifications:
title:
other: 收件箱通知
Expand All @@ -93,6 +96,34 @@ plugin:
other: 打开关注标签的新问题通知
description:
other: 收到以下标签的新问题通知。
upvoted_answers:
title:
other: 收到一个点赞
label:
other: 打开点赞通知
description:
other: 收到点赞的通知
downvoted_answers:
title:
other: 收到一个反对
label:
other: 打开反对通知
description:
other: 收到反对的通知
updated_questions:
title:
other: 问题更新
label:
other: 打开问题更新通知
description:
other: 收到问题更新的通知
updated_answers:
title:
other: 回答更新
label:
other: 打开回答更新通知
description:
other: 收到回答更新的通知
tpl:
update_question:
other: "<a href=\"{{.TriggerUserUrl}}\">{{.TriggerUserDisplayName}}</a> 更新问题 <a href=\"{{.QuestionUrl}}\">{{.QuestionTitle}}</a>"
Expand All @@ -113,4 +144,8 @@ plugin:
invited_you_to_answer:
other: "<a href=\"{{.TriggerUserUrl}}\">{{.TriggerUserDisplayName}}</a> 邀请你回答 <a href=\"{{.QuestionUrl}}\">{{.QuestionTitle}}</a>"
new_question:
other: "新问题:\n<a href=\"{{.QuestionUrl}}\">{{.QuestionTitle}}</a>\n{{.QuestionTags}}"
other: "新问题:\n<a href=\"{{.QuestionUrl}}\">{{.QuestionTitle}}</a>\n{{.QuestionTags}}"
upvoted_answer:
other: "<a href=\"{{.TriggerUserUrl}}\">{{.TriggerUserDisplayName}}</a> 点赞了你的回答 <a href=\"{{.AnswerUrl}}\">{{.QuestionTitle}}</a>"
downvoted_answer:
other: "<a href=\"{{.TriggerUserUrl}}\">{{.TriggerUserDisplayName}}</a> 反对了你的回答 <a href=\"{{.AnswerUrl}}\">{{.QuestionTitle}}</a>"
Loading