From 3b6816cc4a899ae9430821969cc6e5b7722793e9 Mon Sep 17 00:00:00 2001 From: wanghaosq Date: Thu, 28 Oct 2021 10:54:29 +0800 Subject: [PATCH] fix translation --- pkg/cibot/approve.go | 4 ++-- pkg/cibot/lgtm.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/cibot/approve.go b/pkg/cibot/approve.go index de72c62..20d8891 100644 --- a/pkg/cibot/approve.go +++ b/pkg/cibot/approve.go @@ -9,9 +9,9 @@ import ( ) const ( - approvedAddedMessage = `***approved*** is added in this pull request by: ***%s***. :wave: + approvedAddedMessage = `***approved*** was added to this pull request by: ***%s***. :wave: **NOTE:**: If you find this pull request unmerged while all conditions meets, you are encouraged use command: "/check-pr" to try it again. :smile: ` - approvedRemovedMessage = `***approved*** is removed in this pull request by: ***%s***. :flushed: ` + approvedRemovedMessage = `***approved*** was removed in this pull request by: ***%s***. :flushed: ` approvedAddNoPermissionMessage = `***%s*** has no permission to add ***approved*** in this pull request. :astonished: please contact to the collaborators in this repository.` approvedRemoveNoPermissionMessage = `***%s*** has no permission to remove ***approved*** in this pull request. :astonished: diff --git a/pkg/cibot/lgtm.go b/pkg/cibot/lgtm.go index b677aa5..10ded1f 100644 --- a/pkg/cibot/lgtm.go +++ b/pkg/cibot/lgtm.go @@ -14,7 +14,7 @@ const ( lgtmSelfOwnMessage = `Sorry, you cannot add ***lgtm*** to the pull request you created. :astonished:` lgtmAddedMessage = `***lgtm*** was added to this pull request by: ***%s***. :wave: **NOTE:** If this pull request is not merged while all conditions are met, comment "/check-pr" to try again. :smile: ` - lgtmRemovedMessage = `***lgtm*** is removed in this pull request by: ***%s***. :flushed: ` + lgtmRemovedMessage = `***lgtm*** was removed in this pull request by: ***%s***. :flushed: ` lgtmAddNoPermissionMessage = `Thanks for your review, ***%s***, your opinion is very important to us.:wave: The maintainers will consider your advice carefully.` lgtmRemoveNoPermissionMessage = `***%s*** has no permission to remove ***lgtm*** in this pull request. :astonished: -- Gitee