Update zh tw languages and fix some broken links (#455)

---------

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: silverwind <2021+silverwind@noreply.gitea.com>
Reviewed-on: https://gitea.com/gitea/docs/pulls/455
Reviewed-by: silverwind <2021+silverwind@noreply.gitea.com>
This commit is contained in:
Lunny Xiao
2026-07-09 23:41:46 +00:00
parent c0f8a04185
commit 965c269495
652 changed files with 30864 additions and 30792 deletions

View File

@@ -6,28 +6,28 @@ aliases:
- /zh-tw/adding-legal-pages
---
# 添加法律
# 添加法律
一些法域(例如盟)要求在站上添加特定的法律面(例如私政策)。按照以下步骤将它们添加到你的 Gitea 例中。
一些法域(例如盟)要求在站上添加特定的法律面(例如私政策)。按照以下步驟將它們添加到你的 Gitea 例中。
## 获取页
## 獲取頁
Gitea 源代码附带了示例页面,位 `contrib/legal`中。将它们复制`custom/public/assets/`下。例如,如果要添加私政策:
Gitea 源程式碼附帶了範例頁面,位 `contrib/legal`中。將它們複製`custom/public/assets/`下。例如,如果要添加私政策:
```
wget -O /path/to/custom/public/assets/privacy.html https://raw.githubusercontent.com/go-gitea/gitea/main/contrib/legal/privacy.html.sample
```
在,你需要编辑该页面以足你的需求。特是,你必更改电子邮件地址、址以及 "Your Gitea Instance" 相的引用,以匹配你的情
在,你需要編輯該頁面以滿足你的需求。特是,你必更改電子電子郵件地址、址以及 "Your Gitea Instance" 相的引用,以匹配你的情
请务必不要放置暗示 Gitea 项目对你的服务器负责的一般服务条款或隐私声明。
請務必不要放置暗示 Gitea 專案對你的伺服器負責的一般服務條款或隱私聲明。
## 使其可
## 使其可
建或追加到 `/path/to/custom/templates/custom/extra_links_footer.tmpl` 文件中:
或追加到 `/path/to/custom/templates/custom/extra_links_footer.tmpl` 文件中:
```go
<a class="item" href="{{AppSubUrl}}/assets/privacy.html">私政策</a>
<a class="item" href="{{AppSubUrl}}/assets/privacy.html">私政策</a>
```
Gitea 以查看更改。
Gitea 以查看更改。