From aa27cbf2293ea2facc374c83c17ef36320696eb0 Mon Sep 17 00:00:00 2001 From: Joel da Rosa Date: Fri, 13 Jul 2018 17:57:20 -0300 Subject: [PATCH] Locale for button Edit on protected branch (#4442) --- options/locale/locale_en-US.ini | 1 + templates/repo/settings/branches.tmpl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 2420bd66f8..9a618e6654 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 b685217c87..85c1867713 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"}}