diff options
author | 赵智超 <1012112796@qq.com> | 2020-09-12 15:29:50 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-12 15:29:50 +0800 |
commit | ae528d832133e43c7465717a4f7a442e84d0ea9a (patch) | |
tree | d41a529c2eecc33b568bd25e7adcd279aa6f1cb8 /templates | |
parent | c18c6cf4cf31260746b527f83e4ca4b4703c3f29 (diff) | |
download | gitea-ae528d832133e43c7465717a4f7a442e84d0ea9a.tar.gz gitea-ae528d832133e43c7465717a4f7a442e84d0ea9a.zip |
Translate two small lables on commit statuse list (#12821)
* Requested
* Details
Signed-off-by: a1012112796 <1012112796@qq.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/pulls/status.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/pulls/status.tmpl b/templates/repo/pulls/status.tmpl index a15c10582e..2847903a52 100644 --- a/templates/repo/pulls/status.tmpl +++ b/templates/repo/pulls/status.tmpl @@ -21,9 +21,9 @@ <span class="ui">{{.Context}} <span class="text grey">{{.Description}}</span></span> <div class="ui right"> {{if $.is_context_required}} - {{if (call $.is_context_required .Context)}}<div class="ui label">Required</div>{{end}} + {{if (call $.is_context_required .Context)}}<div class="ui label">{{$.i18n.Tr "repo.pulls.status_checks_requested"}}</div>{{end}} {{end}} - <span class="ui">{{if .TargetURL}}<a href="{{.TargetURL}}">Details</a>{{end}}</span> + <span class="ui">{{if .TargetURL}}<a href="{{.TargetURL}}">{{$.i18n.Tr "repo.pulls.status_checks_details"}}</a>{{end}}</span> </div> </div> {{end}} |