mirror of
https://github.com/go-gitea/gitea.git
synced 2026-12-03 21:32:25 -06:00
Unify the glob help texts on the protected branch, protected tag and webhook settings pages. All glob syntax links point to the gobwas/glob syntax section with matching link text. The file pattern examples replace `.drone.yml` and `/docs/**/*.txt`, which never matched because changed paths have no leading slash, with `.gitea/workflows/**` and `CODEOWNERS` for protected files and `docs/**` and `**.md` for unprotected files. Links and code markup move from the translations into the templates, and the English texts are shortened. The changed strings use new keys, so other locales fall back to English until they are translated instead of rendering mismatched placeholders. <img width="838" height="465" alt="Before and after of the glob help texts" src="https://github.com/user-attachments/assets/beabc67d-c8be-4926-ac72-31aa4b726f5b"> Fixes: https://github.com/go-gitea/gitea/issues/39694 Assisted-by: OpenCode:hy4-flash-free Assisted-by: Claude Code:claude-opus-5-5 --------- Co-authored-by: silverwind <me@silverwind.io>