From 69bb6c6d71db49c48b679d32276a655ec865dac4 Mon Sep 17 00:00:00 2001 From: Giteabot Date: Fri, 1 Dec 2023 20:06:08 +0800 Subject: [PATCH] Fix wrong link in `protect_branch_name_pattern_desc` (#28313) (#28315) Backport #28313 by @yp05327 The current href will link to `https://domain/owner/repo/settings/branches/github.com/gobwas/glob` Co-authored-by: yp05327 <576951401@qq.com> (cherry picked from commit fee9c05ed373769b07d307ed98a268c12be12e73) --- options/locales/gitea_en-US.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/options/locales/gitea_en-US.ini b/options/locales/gitea_en-US.ini index 6535095bdb..f116fb8c37 100644 --- a/options/locales/gitea_en-US.ini +++ b/options/locales/gitea_en-US.ini @@ -2333,7 +2333,7 @@ settings.dismiss_stale_approvals_desc = When new commits that change the content settings.require_signed_commits = Require Signed Commits settings.require_signed_commits_desc = Reject pushes to this branch if they are unsigned or unverifiable. settings.protect_branch_name_pattern = Protected Branch Name Pattern -settings.protect_branch_name_pattern_desc = "Protected branch name patterns. See the documentation for pattern syntax. Examples: main, release/**" +settings.protect_branch_name_pattern_desc = "Protected branch name patterns. See the documentation for pattern syntax. Examples: main, release/**" settings.protect_patterns = Patterns settings.protect_protected_file_patterns = "Protected file patterns (separated using semicolon ';'):" settings.protect_protected_file_patterns_desc = "Protected files are not allowed to be changed directly even if user has rights to add, edit, or delete files in this branch. Multiple patterns can be separated using semicolon (';'). See github.com/gobwas/glob documentation for pattern syntax. Examples: .drone.yml, /docs/**/*.txt."