]> source.dussan.org Git - gitea.git/commitdiff
Fix wrong link in `protect_branch_name_pattern_desc` (#28313)
authoryp05327 <576951401@qq.com>
Fri, 1 Dec 2023 11:45:04 +0000 (20:45 +0900)
committerGitHub <noreply@github.com>
Fri, 1 Dec 2023 11:45:04 +0000 (19:45 +0800)
The current href will link to
`https://domain/owner/repo/settings/branches/github.com/gobwas/glob`

options/locale/locale_en-US.ini

index fa7eee9bc55872a836bf8cb7f39600e92b642ca9..9c582a885013dcf486d18e0e833cf5a3762dfccb 100644 (file)
@@ -2312,7 +2312,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 <a href="github.com/gobwas/glob">the documentation</a> for pattern syntax. Examples: main, release/**"
+settings.protect_branch_name_pattern_desc = "Protected branch name patterns. See <a href="https://github.com/gobwas/glob">the documentation</a> 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 <a href='https://pkg.go.dev/github.com/gobwas/glob#Compile'>github.com/gobwas/glob</a> documentation for pattern syntax. Examples: <code>.drone.yml</code>, <code>/docs/**/*.txt</code>."