summaryrefslogtreecommitdiffstats
path: root/templates/repo/settings
diff options
context:
space:
mode:
authorJoel da Rosa <webjoel@users.noreply.github.com>2018-07-13 17:57:20 -0300
committertechknowlogick <techknowlogick@users.noreply.github.com>2018-07-13 16:57:20 -0400
commitaa27cbf2293ea2facc374c83c17ef36320696eb0 (patch)
tree95720d1a7b564fce92b83bc169ed767a78c6cc38 /templates/repo/settings
parent6813640d2fb21cc8f047b00df091d2fa8d32eaa5 (diff)
downloadgitea-aa27cbf2293ea2facc374c83c17ef36320696eb0.tar.gz
gitea-aa27cbf2293ea2facc374c83c17ef36320696eb0.zip
Locale for button Edit on protected branch (#4442)
Diffstat (limited to 'templates/repo/settings')
-rw-r--r--templates/repo/settings/branches.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/settings/branches.tmpl b/templates/repo/settings/branches.tmpl
index b685217c87..85c1867713 100644
--- a/templates/repo/settings/branches.tmpl
+++ b/templates/repo/settings/branches.tmpl
@@ -62,7 +62,7 @@
{{range .ProtectedBranches}}
<tr>
<td><div class="ui basic label blue">{{.BranchName}}</div></td>
- <td class="right aligned"><a class="rm ui button" href="{{$.Repository.Link}}/settings/branches/{{.BranchName}}">Edit</a></td>
+ <td class="right aligned"><a class="rm ui button" href="{{$.Repository.Link}}/settings/branches/{{.BranchName}}">{{$.i18n.Tr "repo.settings.edit_protected_branch"}}</a></td>
</tr>
{{else}}
<tr class="center aligned"><td>{{.i18n.Tr "repo.settings.no_protected_branch"}}</td></tr>