You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@answer.apache.org by ku...@apache.org on 2024/04/16 07:01:07 UTC
(incubator-answer-plugins) branch feat/reviewer-basic updated: fix(review): fixed keyword
This is an automated email from the ASF dual-hosted git repository.
kumfo pushed a commit to branch feat/reviewer-basic
in repository https://gitbox.apache.org/repos/asf/incubator-answer-plugins.git
The following commit(s) were added to refs/heads/feat/reviewer-basic by this push:
new ce03785 fix(review): fixed keyword
ce03785 is described below
commit ce037852724253e30ace3a5e32a05237899ab8f5
Author: kumfo <ku...@sifou.com>
AuthorDate: Tue Apr 16 15:01:00 2024 +0800
fix(review): fixed keyword
---
reviewer-basic/basic.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/reviewer-basic/basic.go b/reviewer-basic/basic.go
index ee9064d..14556e8 100644
--- a/reviewer-basic/basic.go
+++ b/reviewer-basic/basic.go
@@ -64,7 +64,7 @@ func (r *Reviewer) Review(content *plugin.ReviewContent) (result *plugin.ReviewR
result = &plugin.ReviewResult{
Approved: false,
ReviewStatus: plugin.ReviewStatusNeedReview,
- Reason: fmt.Sprintf(plugin.TranslateWithData(myI18n.Language(content.Language), i18n.CommentMatchWordReview, nil), keyword),
+ Reason: plugin.TranslateWithData(myI18n.Language(content.Language), i18n.CommentNeedReview, nil),
}
return result
}