Skip to content

Commit

Permalink
fix(i18n): update translation texts for Slack plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
LinkinStars committed Dec 6, 2024
1 parent 2c62ccb commit 1bda63f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions notification-slack/i18n/zh_CN.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,6 @@ plugin:
new_question:
other: "新问题:\n<{{.QuestionUrl}}|{{.QuestionTitle}}>\n{{.QuestionTags}}"
upvoted_answer:
other: "<{{.TriggerUserUrl}}|{{.TriggerUserDisplayName}}> upvoted your answer <{{.AnswerUrl}}|{{.QuestionTitle}}>"
other: "<{{.TriggerUserUrl}}|{{.TriggerUserDisplayName}}> 点赞了你的回答 <{{.AnswerUrl}}|{{.QuestionTitle}}>"
downvoted_answer:
other: "<{{.TriggerUserUrl}}|{{.TriggerUserDisplayName}}> downvoted your answer <{{.AnswerUrl}}|{{.QuestionTitle}}>"
other: "<{{.TriggerUserUrl}}|{{.TriggerUserDisplayName}}> 反对了你的回答 <{{.AnswerUrl}}|{{.QuestionTitle}}>"
6 changes: 3 additions & 3 deletions user-center-slack/i18n/en_US.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ plugin:
failed:
other: Contacts sync failed.
info:
name:
name:
other: Slack User Center
description:
other: A plugin for integrating Slack user management
Expand Down Expand Up @@ -146,6 +146,6 @@ plugin:
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>"
other: "<a href=\"{{.TriggerUserUrl}}\">{{.TriggerUserDisplayName}}</a> upvoted your answer <a href=\"{{.AnswerUrl}}\">{{.QuestionTitle}}</a>"
downvoted_answer:
other: "<a href=\"{{.TriggerUserUrl}}\">{{.TriggerUserDisplayName}}</a> 反对了你的回答 <a href=\"{{.AnswerUrl}}\">{{.QuestionTitle}}</a>"
other: "<a href=\"{{.TriggerUserUrl}}\">{{.TriggerUserDisplayName}}</a> downvoted your answer <a href=\"{{.AnswerUrl}}\">{{.QuestionTitle}}</a>"

0 comments on commit 1bda63f

Please sign in to comment.