From 892e6561ff76d1fb4fd498b7ac4ed4ff77acbb7b Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Mon, 17 May 2021 02:24:47 +0800 Subject: [PATCH] Use a special name for update default branch on repository setting (#15893) --- 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 936677e31..ac1a0d972 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -1550,6 +1550,7 @@ settings.email_notifications.disable = Disable Email Notifications settings.email_notifications.submit = Set Email Preference settings.site = Website settings.update_settings = Update Settings +settings.branches.update_default_branch = Update Default Branch settings.advanced_settings = Advanced Settings settings.wiki_desc = Enable Repository Wiki settings.use_internal_wiki = Use Built-In Wiki diff --git a/templates/repo/settings/branches.tmpl b/templates/repo/settings/branches.tmpl index fbe9a7463..ccf6abbb8 100644 --- a/templates/repo/settings/branches.tmpl +++ b/templates/repo/settings/branches.tmpl @@ -35,7 +35,7 @@ {{end}} - + {{end}}