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


The following commit(s) were added to refs/heads/main by this push:
     new 1bda63f  fix(i18n): update translation texts for Slack plugins
1bda63f is described below

commit 1bda63f9004ace08d61110a496d65f7cb09b8b8c
Author: LinkinStars <[email protected]>
AuthorDate: Fri Dec 6 15:31:23 2024 +0800

    fix(i18n): update translation texts for Slack plugins
---
 notification-slack/i18n/zh_CN.yaml | 4 ++--
 user-center-slack/i18n/en_US.yaml  | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/notification-slack/i18n/zh_CN.yaml 
b/notification-slack/i18n/zh_CN.yaml
index 2bd9540..0cd8b4d 100644
--- a/notification-slack/i18n/zh_CN.yaml
+++ b/notification-slack/i18n/zh_CN.yaml
@@ -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}}>"
diff --git a/user-center-slack/i18n/en_US.yaml 
b/user-center-slack/i18n/en_US.yaml
index e8f2b8e..ea7ed75 100644
--- a/user-center-slack/i18n/en_US.yaml
+++ b/user-center-slack/i18n/en_US.yaml
@@ -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
@@ -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>"

Reply via email to