diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 2420bd66f8a..9a618e66541 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -1097,6 +1097,7 @@ settings.protected_branch_deletion_desc = Disabling branch protection allows use settings.default_branch_desc = Select a default repository branch for pull requests and code commits: settings.choose_branch = Choose a branch… settings.no_protected_branch = There are no protected branches. +settings.edit_protected_branch = Edit diff.browse_source = Browse Source diff.parent = parent diff --git a/templates/repo/settings/branches.tmpl b/templates/repo/settings/branches.tmpl index b685217c87a..85c18677133 100644 --- a/templates/repo/settings/branches.tmpl +++ b/templates/repo/settings/branches.tmpl @@ -62,7 +62,7 @@ {{range .ProtectedBranches}}
{{.BranchName}}
- Edit + {{$.i18n.Tr "repo.settings.edit_protected_branch"}} {{else}} {{.i18n.Tr "repo.settings.no_protected_branch"}}