aboutsummaryrefslogtreecommitdiffstats
path: root/options/locale
diff options
context:
space:
mode:
authorsillyguodong <33891828+sillyguodong@users.noreply.github.com>2023-05-05 06:54:38 +0800
committerGitHub <noreply@github.com>2023-05-04 22:54:38 +0000
commit0c657112a3ca513f0907e74cbccb72165b3f6286 (patch)
tree5dfc3b9bc7c469700499041de351abeba14bef0c /options/locale
parent0ca1958e1ab8198c40ad952dac27ef0b9825385a (diff)
downloadgitea-0c657112a3ca513f0907e74cbccb72165b3f6286.tar.gz
gitea-0c657112a3ca513f0907e74cbccb72165b3f6286.zip
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. ![image](https://user-images.githubusercontent.com/33891828/236107929-c8ac2854-dd0f-4500-a0a7-800c8fe48861.png) --------- 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>
Diffstat (limited to 'options/locale')
-rw-r--r--options/locale/locale_en-US.ini1
1 files changed, 1 insertions, 0 deletions
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