1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 12:54:53 -05:00

Change protected branch settings title to existing locale entry (#3694)

This commit is contained in:
Chri-s 2018-03-21 19:12:49 +01:00 committed by Lauris BH
parent 05abd03011
commit e64aa18dc9

View file

@ -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)