diff options
author | Chri-s <Chri-s@users.noreply.github.com> | 2018-03-21 19:12:49 +0100 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2018-03-21 20:12:49 +0200 |
commit | e64aa18dc97f2cf25bc642c7d987a4a3bed494ac (patch) | |
tree | 6230b766862dd60be97f676c4c2d2b6e22630a0a /routers | |
parent | 05abd030112907e0c791c832adf2643c05a6d053 (diff) | |
download | gitea-e64aa18dc97f2cf25bc642c7d987a4a3bed494ac.tar.gz gitea-e64aa18dc97f2cf25bc642c7d987a4a3bed494ac.zip |
Change protected branch settings title to existing locale entry (#3694)
Diffstat (limited to 'routers')
-rw-r--r-- | routers/repo/setting_protected_branch.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/setting_protected_branch.go b/routers/repo/setting_protected_branch.go index b8ff6d6ecd..ac1017b91f 100644 --- a/routers/repo/setting_protected_branch.go +++ b/routers/repo/setting_protected_branch.go @@ -98,7 +98,7 @@ func SettingsProtectedBranch(c *context.Context) { return } - c.Data["Title"] = c.Tr("repo.settings.protected_branches") + " - " + branch + c.Data["Title"] = c.Tr("repo.settings.protected_branch") + " - " + branch c.Data["PageIsSettingsBranches"] = true protectBranch, err := models.GetProtectedBranchBy(c.Repo.Repository.ID, branch) |