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:
parent
0ca1958e1a
commit
0c657112a3
3 changed files with 11 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue