From 5ad3ff69d41502dd8b3ac5cd30729353683c4316 Mon Sep 17 00:00:00 2001
From: Robin Kloppe <git@mainboarder.de>
Date: Sat, 19 Aug 2023 11:58:41 +0200
Subject: [PATCH] Replaced gitea links with forgejo - protected tags, webhooks

(cherry picked from commit 12534649d06af0ac518714dc28916ccc08a5a87c)
---
 build/merge-forgejo-locales.go | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/build/merge-forgejo-locales.go b/build/merge-forgejo-locales.go
index 0e6b345f23..730f51c62e 100644
--- a/build/merge-forgejo-locales.go
+++ b/build/merge-forgejo-locales.go
@@ -49,6 +49,8 @@ func renameGiteaForgejo(filename string) []byte {
 		`<a href="https://github.com/go-gitea/gitea/issues" target="_blank">GitHub</a>`, `<a href="https://codeberg.org/forgejo/forgejo/issues" target="_blank">Codeberg</a>`,
 		"https://github.com/go-gitea/gitea", "https://codeberg.org/forgejo/forgejo",
 		"https://blog.gitea.io", "https://forgejo.org/news",
+		"https://docs.gitea.io/en-us/protected-tags/", "https://forgejo.org/docs/latest/user/protection/#protected-tags",
+		"https://docs.gitea.io/en-us/webhooks/", "https://forgejo.org/docs/latest/user/webhooks/",
 	)
 
 	out := make([]byte, 0, 1024)