diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index a90c236944..ee8ec1a3ad 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -2412,6 +2412,7 @@ branch.included_desc = This branch is part of the default branch branch.included = Included branch.create_new_branch = Create branch from branch: branch.confirm_create_branch = Create branch +branch.warning_rename_default_branch = You are renaming the default branch. branch.rename_branch_to = Rename "%s" to: branch.confirm_rename_branch = Rename branch branch.create_branch_operation = Create branch diff --git a/templates/repo/branch/list.tmpl b/templates/repo/branch/list.tmpl index 53ca2b9b09..cad4a95818 100644 --- a/templates/repo/branch/list.tmpl +++ b/templates/repo/branch/list.tmpl @@ -52,6 +52,7 @@ {{end}} {{if and $.IsWriter (not $.Repository.IsArchived) (not .IsDeleted) (not $.IsMirror)}}