mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Display warning when user try to rename default branch (#24512)
Follow #24380 It's better to warn users when they try to rename the default branch.  --------- Co-authored-by: techknowlogick <matti@mdranta.net> Co-authored-by: Jason Song <i@wolfogre.com> Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: Giteabot <teabot@gitea.io>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user