File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1969,6 +1969,7 @@ pulls.status_checks_requested = Required
19691969pulls.status_checks_details = Details
19701970pulls.status_checks_hide_all = Hide all checks
19711971pulls.status_checks_show_all = Show all checks
1972+ pulls.status_checks_approve_all = Approve all workflows
19721973pulls.update_branch = Update branch by merge
19731974pulls.update_branch_rebase = Update branch by rebase
19741975pulls.update_branch_success = Branch update was successful
@@ -3890,6 +3891,7 @@ workflow.has_workflow_dispatch = This workflow has a workflow_dispatch event tri
38903891workflow.has_no_workflow_dispatch = Workflow ' %s' has no workflow_dispatch event trigger.
38913892
38923893need_approval_desc = Need approval to run workflows for fork pull request.
3894+ approve_all_success = All workflow runs are approved successfully.
38933895
38943896variables = Variables
38953897variables.management = Variables Management
Original file line number Diff line number Diff line change @@ -870,7 +870,7 @@ func ApproveAllChecks(ctx *context_module.Context) {
870870 return
871871 }
872872
873- ctx .Flash .Success ("Successfully approved all pending checks" )
873+ ctx .Flash .Success (ctx . Tr ( "actions.approve_all_success" ) )
874874 ctx .Redirect (redirect )
875875}
876876
Original file line number Diff line number Diff line change 2828 <form method="post" action="{{.RepoLink}}/actions/approve-all-checks?redirect={{.IssueLink}}">
2929 {{ctx.RootData.CsrfTokenHtml}}
3030 <input type="hidden" name="sha" value="{{.SHA}}">
31- <button type="submit" class="ui small tiny compact button primary ">
32- Approve workflows to run
31+ <button type="submit" class="ui basic small compact button">
32+ {{ctx.Locale.Tr "repo.pulls.status_checks_approve_all"}}
3333 </button>
3434 </form>
3535 {{end}}
You can’t perform that action at this time.
0 commit comments