diff options
author | 赵智超 <1012112796@qq.com> | 2020-04-07 00:33:34 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-06 19:33:34 +0300 |
commit | ef89e75d0eb232e98ca7a7ef278b8681c7f4fe50 (patch) | |
tree | c7b17df4d92441f2ce8420dbf8aa79aee47a3c13 /options | |
parent | 88c14326b1a5d9216d5f6905dcbe44e43efdb5b3 (diff) | |
download | gitea-ef89e75d0eb232e98ca7a7ef278b8681c7f4fe50.tar.gz gitea-ef89e75d0eb232e98ca7a7ef278b8681c7f4fe50.zip |
add request review from specific reviewers feature in pull request (#10756)
* add request review feature in pull request
add a way to notify specific reviewers to review like github , by add or delet a special type
review . The acton is is similar to Assign , so many code reuse the function and items of
Assignee, but the meaning and result is different.
The Permission style is is similar to github, that only writer can add a review request from Reviewers,
but the poster can recall and remove a review request after a reviwer has revied even if he don't have
Write Premission. only manager , the poster and reviewer of a request review can remove it.
The reviewers can be requested to review contain all readers for private repo , for public, contain
all writers and watchers.
The offical Review Request will block merge if Reject can block it.
an other change: add ui otify for Assignees.
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
Signed-off-by: a1012112796 <1012112796@qq.com>
* new change
* add placeholder string
* do some changes follow #10238 to add review requests num on lists also
change icon for review requests to eye
Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'options')
-rw-r--r-- | options/locale/locale_en-US.ini | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index cb34e695ec..dfdae8f82b 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -827,6 +827,7 @@ issues.desc = Organize bug reports, tasks and milestones. issues.filter_assignees = Filter Assignee issues.filter_milestones = Filter Milestone issues.filter_labels = Filter Label +issues.filter_reviewers = Filter Reviewer issues.new = New Issue issues.new.title_empty = Title cannot be empty issues.new.labels = Labels @@ -844,6 +845,8 @@ issues.new.assignees = Assignees issues.new.add_assignees_title = Assign users issues.new.clear_assignees = Clear assignees issues.new.no_assignees = No Assignees +issues.new.no_reviewers = No reviewers +issues.new.add_reviewer_title = Request review issues.no_ref = No Branch/Tag Specified issues.create = Create Issue issues.new_label = New Label @@ -937,6 +940,9 @@ issues.ref_from = `from %[1]s` issues.poster = Poster issues.collaborator = Collaborator issues.owner = Owner +issues.re_request_review=Re-request review +issues.remove_request_review=Remove review request +issues.remove_request_review_block=Can't remove review request issues.sign_in_require_desc = <a href="%s">Sign in</a> to join this conversation. issues.edit = Edit issues.cancel = Cancel @@ -1048,6 +1054,10 @@ issues.review.approve = "approved these changes %s" issues.review.comment = "reviewed %s" issues.review.content.empty = You need to leave a comment indicating the requested change(s). issues.review.reject = "requested changes %s" +issues.review.wait = "was requested for review %s" +issues.review.add_review_request = "requested review from %s %s" +issues.review.remove_review_request = "removed review request for %s %s" +issues.review.remove_review_request_self = "refused to review %s" issues.review.pending = Pending issues.review.review = Review issues.review.reviewers = Reviewers @@ -1096,6 +1106,8 @@ pulls.approve_count_1 = "%d approval" pulls.approve_count_n = "%d approvals" pulls.reject_count_1 = "%d change request" pulls.reject_count_n = "%d change requests" +pulls.waiting_count_1 = "%d waiting review" +pulls.waiting_count_n = "%d waiting reviews" pulls.no_merge_desc = This pull request cannot be merged because all repository merge options are disabled. pulls.no_merge_helper = Enable merge options in the repository settings or merge the pull request manually. |