From 6b594f6a96fe0109e104e75ac9d4e8c1ff0ae62b Mon Sep 17 00:00:00 2001 From: Paper Moon <47830915@qq.com> Date: Sun, 2 Nov 2025 01:52:22 +0800 Subject: [PATCH 1/4] Revise README.zh-cn.md for clarity and updates Updated the README file to improve clarity and consistency in the project goals, usage instructions, and contribution guidelines. Signed-off-by: Paper Moon <47830915@qq.com> --- README.zh-cn.md | 122 +++++++++++++++++++++++------------------------- 1 file changed, 58 insertions(+), 64 deletions(-) diff --git a/README.zh-cn.md b/README.zh-cn.md index f34b25b9454cf..917b2b2cf079d 100644 --- a/README.zh-cn.md +++ b/README.zh-cn.md @@ -13,100 +13,99 @@ [English](./README.md) | [繁體中文](./README.zh-tw.md) -## 目的 +## 项目目标 +本项目的核心目标,是让自建Git服务的过程,变得最简单、最高效、最省心。 -这个项目的目标是提供最简单、最快速、最无痛的方式来设置自托管的 Git 服务。 +Gitea基于Go语言开发,凡Go语言支持的平台与架构,它皆能适配,涵盖Linux、macOS、Windows系统,以及x86、amd64、ARM、PowerPC架构。项目自2016年11月从[Gogs](https://gogs.io) [分叉](https://blog.gitea.com/welcome-to-gitea/)而来,如今已是焕然一新。 -由于 Gitea 是用 Go 语言编写的,它可以在 Go 支持的所有平台和架构上运行,包括 Linux、macOS 和 Windows 的 x86、amd64、ARM 和 PowerPC 架构。这个项目自 2016 年 11 月从 [Gogs](https://gogs.io) [分叉](https://blog.gitea.com/welcome-to-gitea/) 而来,但已经有了很多变化。 +- 在线体验:访问[demo.gitea.com](https://demo.gitea.com) +- 免费服务(仓库数量有限):访问[gitea.com](https://gitea.com/user/login) +- 快速部署专属实例:前往[cloud.gitea.com](https://cloud.gitea.com)开启免费试用 -在线演示可以访问 [demo.gitea.com](https://demo.gitea.com)。 -要访问免费的 Gitea 服务(有一定数量的仓库限制),可以访问 [gitea.com](https://gitea.com/user/login)。 +## 官方文档 +你可在[官方文档网站](https://docs.gitea.com/)获取完整文档,内容涵盖安装部署、管理维护、使用指南、开发贡献等,助你快速上手并充分探索所有功能。 -要快速部署您自己的专用 Gitea 实例,可以在 [cloud.gitea.com](https://cloud.gitea.com) 开始免费试用。 +若有建议或想参与文档编写,可访问[文档仓库](https://gitea.com/gitea/docs)。 -## 文件 -您可以在我们的官方 [文件网站](https://docs.gitea.com/) 上找到全面的文件。 +## 构建方法 +进入源码根目录,执行以下命令构建: -它包括安装、管理、使用、开发、贡献指南等,帮助您快速入门并有效地探索所有功能。 +``` +TAGS="bindata" make build +``` -如果您有任何建议或想要贡献,可以访问 [文件仓库](https://gitea.com/gitea/docs) +若需支持SQLite数据库,执行: -## 构建 + ``` + TAGS="bindata sqlite sqlite_unlock_notify" make build + ``` -从源代码树的根目录运行: +`build`目标分为两个子目标: - TAGS="bindata" make build +- `make backend`:需依赖[Go Stable](https://go.dev/dl/),具体版本见[go.mod](/go.mod) +- `make frontend`:需依赖[Node.js LTS](https://nodejs.org/en/download/)(及以上版本)和[pnpm](https://pnpm.io/installation) -如果需要 SQLite 支持: +构建需联网以下载Go和npm依赖包。若使用包含预构建前端文件的官方源码压缩包,无需触发`frontend`目标,无Node.js环境也可完成构建。 - TAGS="bindata sqlite sqlite_unlock_notify" make build +更多细节:[https://docs.gitea.com/installation/install-from-source](https://docs.gitea.com/installation/install-from-source) -`build` 目标分为两个子目标: -- `make backend` 需要 [Go Stable](https://go.dev/dl/),所需版本在 [go.mod](/go.mod) 中定义。 -- `make frontend` 需要 [Node.js LTS](https://nodejs.org/en/download/) 或更高版本。 +## 使用方法 +构建完成后,源码根目录默认生成`gitea`可执行文件,运行命令: -需要互联网连接来下载 go 和 npm 模块。从包含预构建前端文件的官方源代码压缩包构建时,不会触发 `frontend` 目标,因此可以在没有 Node.js 的情况下构建。 +``` +./gitea web +``` -更多信息:https://docs.gitea.com/installation/install-from-source +> [!NOTE] +> 若需调用API,我们已提供实验性支持,文档详见[此处](https://docs.gitea.com/api)。 -## 使用 -构建后,默认情况下会在源代码树的根目录生成一个名为 `gitea` 的二进制文件。要运行它,请使用: +## 贡献指南 +标准流程:Fork → Patch → Push → Pull Request - ./gitea web +> [!NOTE] +> 1. 提交Pull Request前,务必阅读[《贡献者指南》](CONTRIBUTING.md)! +> 2. 若发现项目漏洞,请通过邮件**security@gitea.io**私信反馈,感谢你的严谨! -> [!注意] -> 如果您对使用我们的 API 感兴趣,我们提供了实验性支持,并附有 [文件](https://docs.gitea.com/api)。 -## 贡献 +## 多语言翻译 +翻译工作通过[Crowdin](https://translate.gitea.com)进行。若需新增翻译语言,可联系Crowdin项目管理员添加;也可提交issue申请,或在Discord的#translation频道咨询。 -预期的工作流程是:Fork -> Patch -> Push -> Pull Request +若需翻译上下文或发现翻译问题,可在对应文本下留言或通过Discord沟通。文档设有翻译相关专区(目前内容待补充),将根据问题逐步完善。 -> [!注意] -> -> 1. **在开始进行 Pull Request 之前,您必须阅读 [贡献者指南](CONTRIBUTING.md)。** -> 2. 如果您在项目中发现了漏洞,请私下写信给 **security@gitea.io**。谢谢! +更多信息:[翻译贡献文档](https://docs.gitea.com/contributing/localization) -## 翻译 -[![Crowdin](https://badges.crowdin.net/gitea/localized.svg)](https://translate.gitea.com) +## 官方及第三方项目 -翻译通过 [Crowdin](https://translate.gitea.com) 进行。如果您想翻译成新的语言,请在 Crowdin 项目中请求管理员添加新语言。 +- 官方工具:[go-sdk](https://gitea.com/gitea/go-sdk)、命令行工具[tea](https://gitea.com/gitea/tea)、Gitea Action专用[运行器](https://gitea.com/gitea/act_runner) +- 第三方项目清单:[gitea/awesome-gitea](https://gitea.com/gitea/awesome-gitea),含SDK、插件、主题等资源 -您也可以创建一个 issue 来添加语言,或者在 discord 的 #translation 频道上询问。如果您需要上下文或发现一些翻译问题,可以在字符串上留言或在 Discord 上询问。对于一般的翻译问题,文档中有一个部分。目前有点空,但我们希望随着问题的出现而填充它。 -更多信息请参阅 [文件](https://docs.gitea.com/contributing/localization)。 - -## 官方和第三方项目 - -我们提供了一个官方的 [go-sdk](https://gitea.com/gitea/go-sdk),一个名为 [tea](https://gitea.com/gitea/tea) 的 CLI 工具和一个 Gitea Action 的 [action runner](https://gitea.com/gitea/act_runner)。 - -我们在 [gitea/awesome-gitea](https://gitea.com/gitea/awesome-gitea) 维护了一个 Gitea 相关项目的列表,您可以在那里发现更多的第三方项目,包括 SDK、插件、主题等。 - -## 通讯 +## 交流渠道 [![](https://img.shields.io/discord/322538954119184384.svg?logo=discord&logoColor=white&label=Discord&color=5865F2)](https://discord.gg/Gitea "Join the Discord chat at https://discord.gg/Gitea") -如果您有任何文件未涵盖的问题,可以在我们的 [Discord 服务器](https://discord.gg/Gitea) 上与我们联系,或者在 [discourse 论坛](https://forum.gitea.com/) 上创建帖子。 -## 作者 +若文档未覆盖你的问题,可通过[Discord服务器](https://discord.gg/Gitea)联系我们,或在[论坛](https://forum.gitea.com/)发布帖子。 + +## 项目成员 - [维护者](https://github.com/orgs/go-gitea/people) - [贡献者](https://github.com/go-gitea/gitea/graphs/contributors) -- [翻译者](options/locale/TRANSLATORS) +- [译者](options/locale/TRANSLATORS) -## 支持者 -感谢所有支持者! 🙏 [[成为支持者](https://opencollective.com/gitea#backer)] +## 支持者 +感谢所有支持者的鼎力相助!🙏 [[成为支持者](https://opencollective.com/gitea#backer)] ## 赞助商 - -通过成为赞助商来支持这个项目。您的标志将显示在这里,并带有链接到您的网站。 [[成为赞助商](https://opencollective.com/gitea#sponsor)] +成为赞助商支持项目,你的logo将在此展示并链接至官网。[[成为赞助商](https://opencollective.com/gitea#sponsor)] @@ -120,26 +119,21 @@ ## 常见问题 +### Q:Gitea如何发音? +A:发音为[/ɡɪ’ti:/](https://youtu.be/EM71-2uDAoY),类似“gi-tea”,“g”需发重音。 -**Gitea 怎么发音?** - -Gitea 的发音是 [/ɡɪ’ti:/](https://youtu.be/EM71-2uDAoY),就像 "gi-tea" 一样,g 是硬音。 +### Q:为何项目代码未托管在Gitea自身实例上? +A:我们正推进此事,进展可查看[该issue](https://github.com/go-gitea/gitea/issues/1029)。 -**为什么这个项目没有托管在 Gitea 实例上?** +### Q:哪里可找到安全补丁? +A:在[发布日志](https://github.com/go-gitea/gitea/releases)或[更新日志](https://github.com/go-gitea/gitea/blob/main/CHANGELOG.md)中,搜索关键词`SECURITY`即可找到。 -我们正在 [努力](https://github.com/go-gitea/gitea/issues/1029)。 - -**在哪里可以找到安全补丁?** - -在 [发布日志](https://github.com/go-gitea/gitea/releases) 或 [变更日志](https://github.com/go-gitea/gitea/blob/main/CHANGELOG.md) 中,搜索关键词 `SECURITY` 以找到安全补丁。 ## 许可证 +本项目采用MIT许可证,完整许可文本详见[LICENSE文件](https://github.com/go-gitea/gitea/blob/main/LICENSE)。 -这个项目是根据 MIT 许可证授权的。 -请参阅 [LICENSE](https://github.com/go-gitea/gitea/blob/main/LICENSE) 文件以获取完整的许可证文本。 - -## 进一步信息 +## 更多信息
寻找界面概述?查看这里! From 0714db4124aa916dd2eea704cfa87634c3eb15bc Mon Sep 17 00:00:00 2001 From: Paper Moon <47830915@qq.com> Date: Sun, 2 Nov 2025 01:58:52 +0800 Subject: [PATCH 2/4] Revise README.zh-tw.md for clarity and updates Updated the README in Traditional Chinese to reflect changes in project goals, contribution guidelines, and various sections for clarity and localization. Signed-off-by: Paper Moon <47830915@qq.com> --- README.zh-tw.md | 198 +++++++++++++++++++++++------------------------- 1 file changed, 96 insertions(+), 102 deletions(-) diff --git a/README.zh-tw.md b/README.zh-tw.md index 9de3f85dd56af..0975e0b1bd46a 100644 --- a/README.zh-tw.md +++ b/README.zh-tw.md @@ -4,109 +4,108 @@ [![](https://img.shields.io/discord/322538954119184384.svg?logo=discord&logoColor=white&label=Discord&color=5865F2)](https://discord.gg/Gitea "Join the Discord chat at https://discord.gg/Gitea") [![](https://goreportcard.com/badge/code.gitea.io/gitea)](https://goreportcard.com/report/code.gitea.io/gitea "Go Report Card") [![](https://pkg.go.dev/badge/code.gitea.io/gitea?status.svg)](https://pkg.go.dev/code.gitea.io/gitea "GoDoc") -[![](https://img.shields.io/github/release/go-gitea/gitea.svg)](https://github.com/go-gitea/gitea/releases/latest "GitHub release") -[![](https://www.codetriage.com/go-gitea/gitea/badges/users.svg)](https://www.codetriage.com/go-gitea/gitea "Help Contribute to Open Source") -[![](https://opencollective.com/gitea/tiers/backers/badge.svg?label=backers&color=brightgreen)](https://opencollective.com/gitea "Become a backer/sponsor of gitea") +[![](https://img.shields.io/github/release/go-gitea/gitea.svg)](https://github.com/go-gitea/gitea/releases/latest "GitHub 版本發布") +[![](https://www.codetriage.com/go-gitea/gitea/badges/users.svg)](https://www.codetriage.com/go-gitea/gitea "協助貢獻開源專案") +[![](https://opencollective.com/gitea/tiers/backers/badge.svg?label=backers&color=brightgreen)](https://opencollective.com/gitea "成為 gitea 的支持者/贊助商") [![](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT "License: MIT") -[![Contribute with Gitpod](https://img.shields.io/badge/Contribute%20with-Gitpod-908a85?logo=gitpod&color=green)](https://gitpod.io/#https://github.com/go-gitea/gitea) +[![使用 Gitpod 貢獻](https://img.shields.io/badge/Contribute%20with-Gitpod-908a85?logo=gitpod&color=green)](https://gitpod.io/#https://github.com/go-gitea/gitea) [![](https://badges.crowdin.net/gitea/localized.svg)](https://translate.gitea.com "Crowdin") -[English](./README.md) | [简体中文](./README.zh-cn.md) +[English](./README.md) | [繁體中文](./README.zh-tw.md) -## 目的 +## 專案目標 +本專案的核心目標,是讓自建 Git 服務的過程,變得最簡單、最高效、最省心。 -這個項目的目標是提供最簡單、最快速、最無痛的方式來設置自託管的 Git 服務。 +Gitea 基於 Go 語言開發,凡 Go 語言支持的平台與架構,它皆能適配,涵蓋 Linux、macOS、Windows 系統,以及 x86、amd64、ARM、PowerPC 架構。專案自 2016 年 11 月從[Gogs](https://gogs.io)[分叉](https://blog.gitea.com/welcome-to-gitea/)而來,如今已是煥然一新。 -由於 Gitea 是用 Go 語言編寫的,它可以在 Go 支援的所有平台和架構上運行,包括 Linux、macOS 和 Windows 的 x86、amd64、ARM 和 PowerPC 架構。這個項目自 2016 年 11 月從 [Gogs](https://gogs.io) [分叉](https://blog.gitea.com/welcome-to-gitea/) 而來,但已經有了很多變化。 +- 線上體驗:造訪[demo.gitea.com](https://demo.gitea.com) +- 免費服務(儲存庫數量有限):造訪[gitea.com](https://gitea.com/user/login) +- 快速部署專屬實例:前往[cloud.gitea.com](https://cloud.gitea.com)開啟免費試用 -在線演示可以訪問 [demo.gitea.com](https://demo.gitea.com)。 -要訪問免費的 Gitea 服務(有一定數量的倉庫限制),可以訪問 [gitea.com](https://gitea.com/user/login)。 +## 官方文件 +你可在[官方文件網站](https://docs.gitea.com/)取得完整文件,內容涵蓋安裝部署、管理維護、使用指南、開發貢獻等,助你快速上手並充分探索所有功能。 -要快速部署您自己的專用 Gitea 實例,可以在 [cloud.gitea.com](https://cloud.gitea.com) 開始免費試用。 +若有建議或想參與文檔編寫,可造訪[文檔倉庫](https://gitea.com/gitea/docs)。 -## 文件 -您可以在我們的官方 [文件網站](https://docs.gitea.com/) 上找到全面的文件。 +## 建構方法 +進入原始碼根目錄,執行以下命令建構: -它包括安裝、管理、使用、開發、貢獻指南等,幫助您快速入門並有效地探索所有功能。 +``` +TAGS="bindata" make build +``` -如果您有任何建議或想要貢獻,可以訪問 [文件倉庫](https://gitea.com/gitea/docs) +若需支持 SQLite 資料庫,執行: -## 構建 + ``` +TAGS="bindata sqlite sqlite_unlock_notify" make build +``` -從源代碼樹的根目錄運行: +`build`目標分為兩個子目標: - TAGS="bindata" make build +- `make backend`:需依賴[Go Stable](https://go.dev/dl/),具體版本見[go.mod](/go.mod) +- `make frontend`:需依賴[Node.js LTS](https://nodejs.org/en/download/)(及以上版本)和[pnpm](https://pnpm.io/installation) -如果需要 SQLite 支援: +構建需聯網以下載 Go 和 npm 依賴套件。若使用包含預構建前端檔案的官方原始碼壓縮包,無需觸發`frontend`目標,無 Node.js 環境也可完成構建。 - TAGS="bindata sqlite sqlite_unlock_notify" make build +更多細節:[https://docs.gitea.com/installation/install-from-source](https://docs.gitea.com/installation/install-from-source) -`build` 目標分為兩個子目標: -- `make backend` 需要 [Go Stable](https://go.dev/dl/),所需版本在 [go.mod](/go.mod) 中定義。 -- `make frontend` 需要 [Node.js LTS](https://nodejs.org/en/download/) 或更高版本。 +## 使用方法 +構建完成後,原始碼根目錄預設會產生 `gitea` 可執行檔案,執行命令: -需要互聯網連接來下載 go 和 npm 模塊。從包含預構建前端文件的官方源代碼壓縮包構建時,不會觸發 `frontend` 目標,因此可以在沒有 Node.js 的情況下構建。 +``` +./gitea web +``` -更多信息:https://docs.gitea.com/installation/install-from-source +> [!NOTE] +> 若需調用 API,我們已提供實驗性支援,文件詳見[此處](https://docs.gitea.com/api)。 -## 使用 -構建後,默認情況下會在源代碼樹的根目錄生成一個名為 `gitea` 的二進制文件。要運行它,請使用: +## 貢獻指南 +標準流程:Fork → Patch → Push → Pull Request - ./gitea web +> [!NOTE] +> 1. 提交 Pull Request 前,務必閱讀[《貢獻者指南》](CONTRIBUTING.md)! +> 2. 若發現項目漏洞,請通過郵件**security@gitea.io**私信反饋,感謝你的嚴謹! -> [!注意] -> 如果您對使用我們的 API 感興趣,我們提供了實驗性支援,並附有 [文件](https://docs.gitea.com/api)。 -## 貢獻 +## 多語言翻譯 +翻譯工作透過 [Crowdin](https://translate.gitea.com) 進行。若需新增翻譯語言,可聯絡 Crowdin 專案管理員新增;也可提交 issue 申請,或在 Discord 的 #translation 頻道諮詢。 -預期的工作流程是:Fork -> Patch -> Push -> Pull Request +若需翻譯上下文或發現翻譯問題,可在對應文本下留言或透過 Discord 溝通。文件設有翻譯相關專區(目前內容待補充),將根據問題逐步完善。 -> [!注意] -> -> 1. **在開始進行 Pull Request 之前,您必須閱讀 [貢獻者指南](CONTRIBUTING.md)。** -> 2. 如果您在項目中發現了漏洞,請私下寫信給 **security@gitea.io**。謝謝! +更多資訊:[翻譯貢獻文件](https://docs.gitea.com/contributing/localization) -## 翻譯 -[![Crowdin](https://badges.crowdin.net/gitea/localized.svg)](https://translate.gitea.com) +## 官方及第三方專案 -翻譯通過 [Crowdin](https://translate.gitea.com) 進行。如果您想翻譯成新的語言,請在 Crowdin 項目中請求管理員添加新語言。 +- 官方工具:[go-sdk](https://gitea.com/gitea/go-sdk)、命令列工具[tea](https://gitea.com/gitea/tea)、Gitea Action 專用[執行器](https://gitea.com/gitea/act_runner) +- 第三方專案清單:[gitea/awesome-gitea](https://gitea.com/gitea/awesome-gitea),含 SDK、外掛程式、主題等資源 -您也可以創建一個 issue 來添加語言,或者在 discord 的 #translation 頻道上詢問。如果您需要上下文或發現一些翻譯問題,可以在字符串上留言或在 Discord 上詢問。對於一般的翻譯問題,文檔中有一個部分。目前有點空,但我們希望隨著問題的出現而填充它。 -更多信息請參閱 [文件](https://docs.gitea.com/contributing/localization)。 - -## 官方和第三方項目 - -我們提供了一個官方的 [go-sdk](https://gitea.com/gitea/go-sdk),一個名為 [tea](https://gitea.com/gitea/tea) 的 CLI 工具和一個 Gitea Action 的 [action runner](https://gitea.com/gitea/act_runner)。 - -我們在 [gitea/awesome-gitea](https://gitea.com/gitea/awesome-gitea) 維護了一個 Gitea 相關項目的列表,您可以在那裡發現更多的第三方項目,包括 SDK、插件、主題等。 - -## 通訊 +## 交流頻道 [![](https://img.shields.io/discord/322538954119184384.svg?logo=discord&logoColor=white&label=Discord&color=5865F2)](https://discord.gg/Gitea "Join the Discord chat at https://discord.gg/Gitea") -如果您有任何文件未涵蓋的問題,可以在我們的 [Discord 服務器](https://discord.gg/Gitea) 上與我們聯繫,或者在 [discourse 論壇](https://forum.gitea.com/) 上創建帖子。 -## 作者 +若文件未涵蓋你的問題,可透過[Discord 伺服器](https://discord.gg/Gitea)聯絡我們,或在[論壇](https://forum.gitea.com/)發布貼文。 + +## 專案成員 - [維護者](https://github.com/orgs/go-gitea/people) - [貢獻者](https://github.com/go-gitea/gitea/graphs/contributors) -- [翻譯者](options/locale/TRANSLATORS) +- [譯者](options/locale/TRANSLATORS) -## 支持者 -感謝所有支持者! 🙏 [[成為支持者](https://opencollective.com/gitea#backer)] +## 支持者 +感謝所有支持者的鼎力相助!🙏 [[成為支持者](https://opencollective.com/gitea#backer)] ## 贊助商 - -通過成為贊助商來支持這個項目。您的標誌將顯示在這裡,並帶有鏈接到您的網站。 [[成為贊助商](https://opencollective.com/gitea#sponsor)] +成為贊助商支持專案,你的 logo 將在此展示並連結至官網。[[成為贊助商](https://opencollective.com/gitea#sponsor)] @@ -120,87 +119,82 @@ ## 常見問題 +### Q:Gitea 如何發音? +A:發音為[/ɡɪ'ti:/](https://youtu.be/EM71-2uDAoY),類似「gi-tea」,「g」需發重音。 -**Gitea 怎麼發音?** - -Gitea 的發音是 [/ɡɪ’ti:/](https://youtu.be/EM71-2uDAoY),就像 "gi-tea" 一樣,g 是硬音。 - -**為什麼這個項目沒有託管在 Gitea 實例上?** - -我們正在 [努力](https://github.com/go-gitea/gitea/issues/1029)。 - -**在哪裡可以找到安全補丁?** +### Q:為何專案代碼未託管在 Gitea 自身實例上? +A:我們正推進此事,進展可查看[該 issue](https://github.com/go-gitea/gitea/issues/1029)。 -在 [發佈日誌](https://github.com/go-gitea/gitea/releases) 或 [變更日誌](https://github.com/go-gitea/gitea/blob/main/CHANGELOG.md) 中,搜索關鍵詞 `SECURITY` 以找到安全補丁。 +### Q:哪裡可找到安全補丁? +A:在[發布日誌](https://github.com/go-gitea/gitea/releases)或[更新日誌](https://github.com/go-gitea/gitea/blob/main/CHANGELOG.md)中,搜尋關鍵詞`SECURITY`即可找到。 -## 許可證 -這個項目是根據 MIT 許可證授權的。 -請參閱 [LICENSE](https://github.com/go-gitea/gitea/blob/main/LICENSE) 文件以獲取完整的許可證文本。 +## 授權條款 +本項目採用 MIT 授權條款,完整授權文本詳見 [LICENSE 檔案](https://github.com/go-gitea/gitea/blob/main/LICENSE)。 -## 進一步信息 +## 更多資訊
-尋找界面概述?查看這裡! +尋找介面概述?查看這裡! -### 登錄/註冊頁面 +### 登入/註冊頁面 ![Login](https://dl.gitea.com/screenshots/login.png) ![Register](https://dl.gitea.com/screenshots/register.png) -### 用戶儀表板 +### 使用者儀表板 -![Home](https://dl.gitea.com/screenshots/home.png) -![Issues](https://dl.gitea.com/screenshots/issues.png) -![Pull Requests](https://dl.gitea.com/screenshots/pull_requests.png) -![Milestones](https://dl.gitea.com/screenshots/milestones.png) +![首頁](https://dl.gitea.com/screenshots/home.png) +![議題](https://dl.gitea.com/screenshots/issues.png) +![拉取請求](https://dl.gitea.com/screenshots/pull_requests.png) +![里程碑](https://dl.gitea.com/screenshots/milestones.png) -### 用戶資料 +### 使用者資料 ![Profile](https://dl.gitea.com/screenshots/user_profile.png) ### 探索 ![Repos](https://dl.gitea.com/screenshots/explore_repos.png) -![Users](https://dl.gitea.com/screenshots/explore_users.png) -![Orgs](https://dl.gitea.com/screenshots/explore_orgs.png) +![使用者](https://dl.gitea.com/screenshots/explore_users.png) +![組織](https://dl.gitea.com/screenshots/explore_orgs.png) -### 倉庫 +### 儲存庫 -![Home](https://dl.gitea.com/screenshots/repo_home.png) -![Commits](https://dl.gitea.com/screenshots/repo_commits.png) -![Branches](https://dl.gitea.com/screenshots/repo_branches.png) -![Labels](https://dl.gitea.com/screenshots/repo_labels.png) -![Milestones](https://dl.gitea.com/screenshots/repo_milestones.png) -![Releases](https://dl.gitea.com/screenshots/repo_releases.png) -![Tags](https://dl.gitea.com/screenshots/repo_tags.png) +![首頁](https://dl.gitea.com/screenshots/repo_home.png) +![提交](https://dl.gitea.com/screenshots/repo_commits.png) +![分支](https://dl.gitea.com/screenshots/repo_branches.png) +![標籤](https://dl.gitea.com/screenshots/repo_labels.png) +![里程碑](https://dl.gitea.com/screenshots/repo_milestones.png) +![發行版本](https://dl.gitea.com/screenshots/repo_releases.png) +![標籤](https://dl.gitea.com/screenshots/repo_tags.png) -#### 倉庫問題 +#### 儲存庫議題 -![List](https://dl.gitea.com/screenshots/repo_issues.png) -![Issue](https://dl.gitea.com/screenshots/repo_issue.png) +![清單](https://dl.gitea.com/screenshots/repo_issues.png) +![議題](https://dl.gitea.com/screenshots/repo_issue.png) -#### 倉庫拉取請求 +#### 儲存庫提取請求 -![List](https://dl.gitea.com/screenshots/repo_pull_requests.png) -![Pull Request](https://dl.gitea.com/screenshots/repo_pull_request.png) +![清單](https://dl.gitea.com/screenshots/repo_pull_requests.png) +![提取請求](https://dl.gitea.com/screenshots/repo_pull_request.png) ![File](https://dl.gitea.com/screenshots/repo_pull_request_file.png) ![Commits](https://dl.gitea.com/screenshots/repo_pull_request_commits.png) -#### 倉庫操作 +#### 儲存庫操作 ![List](https://dl.gitea.com/screenshots/repo_actions.png) -![Details](https://dl.gitea.com/screenshots/repo_actions_run.png) +![詳細資訊](https://dl.gitea.com/screenshots/repo_actions_run.png) -#### 倉庫活動 +#### 儲存庫活動 -![Activity](https://dl.gitea.com/screenshots/repo_activity.png) -![Contributors](https://dl.gitea.com/screenshots/repo_contributors.png) -![Code Frequency](https://dl.gitea.com/screenshots/repo_code_frequency.png) -![Recent Commits](https://dl.gitea.com/screenshots/repo_recent_commits.png) +![活動](https://dl.gitea.com/screenshots/repo_activity.png) +![貢獻者](https://dl.gitea.com/screenshots/repo_contributors.png) +![程式碼頻率](https://dl.gitea.com/screenshots/repo_code_frequency.png) +![最近的提交](https://dl.gitea.com/screenshots/repo_recent_commits.png) ### 組織 -![Home](https://dl.gitea.com/screenshots/org_home.png) +![首頁](https://dl.gitea.com/screenshots/org_home.png)
From b1ec826bde62e3f80802f512896c9746e60ee4bf Mon Sep 17 00:00:00 2001 From: tangyuan0821 Date: Sun, 2 Nov 2025 02:08:54 +0800 Subject: [PATCH 3/4] Update the Chinese README file, improving wording and formatting --- README.zh-cn.md | 41 ++++++++++++++++++++--------------------- README.zh-tw.md | 41 ++++++++++++++++++++--------------------- 2 files changed, 40 insertions(+), 42 deletions(-) diff --git a/README.zh-cn.md b/README.zh-cn.md index 917b2b2cf079d..3ae1dc63462a1 100644 --- a/README.zh-cn.md +++ b/README.zh-cn.md @@ -14,33 +14,32 @@ [English](./README.md) | [繁體中文](./README.zh-tw.md) ## 项目目标 + 本项目的核心目标,是让自建Git服务的过程,变得最简单、最高效、最省心。 Gitea基于Go语言开发,凡Go语言支持的平台与架构,它皆能适配,涵盖Linux、macOS、Windows系统,以及x86、amd64、ARM、PowerPC架构。项目自2016年11月从[Gogs](https://gogs.io) [分叉](https://blog.gitea.com/welcome-to-gitea/)而来,如今已是焕然一新。 -- 在线体验:访问[demo.gitea.com](https://demo.gitea.com) -- 免费服务(仓库数量有限):访问[gitea.com](https://gitea.com/user/login) -- 快速部署专属实例:前往[cloud.gitea.com](https://cloud.gitea.com)开启免费试用 +在线体验:访问[demo.gitea.com](https://demo.gitea.com)。 + +免费服务(仓库数量有限):访问[gitea.com](https://gitea.com/user/login)。 +快速部署专属实例:前往[cloud.gitea.com](https://cloud.gitea.com)开启免费试用。 ## 官方文档 + 你可在[官方文档网站](https://docs.gitea.com/)获取完整文档,内容涵盖安装部署、管理维护、使用指南、开发贡献等,助你快速上手并充分探索所有功能。 若有建议或想参与文档编写,可访问[文档仓库](https://gitea.com/gitea/docs)。 - ## 构建方法 + 进入源码根目录,执行以下命令构建: -``` -TAGS="bindata" make build -``` + TAGS="bindata" make build 若需支持SQLite数据库,执行: - ``` - TAGS="bindata sqlite sqlite_unlock_notify" make build - ``` + TAGS="bindata sqlite sqlite_unlock_notify" make build `build`目标分为两个子目标: @@ -49,29 +48,31 @@ TAGS="bindata" make build 构建需联网以下载Go和npm依赖包。若使用包含预构建前端文件的官方源码压缩包,无需触发`frontend`目标,无Node.js环境也可完成构建。 -更多细节:[https://docs.gitea.com/installation/install-from-source](https://docs.gitea.com/installation/install-from-source) - +更多细节:https://docs.gitea.com/installation/install-from-source ## 使用方法 + 构建完成后,源码根目录默认生成`gitea`可执行文件,运行命令: -``` -./gitea web -``` + ./gitea web > [!NOTE] > 若需调用API,我们已提供实验性支持,文档详见[此处](https://docs.gitea.com/api)。 ## 贡献指南 + 标准流程:Fork → Patch → Push → Pull Request > [!NOTE] +> > 1. 提交Pull Request前,务必阅读[《贡献者指南》](CONTRIBUTING.md)! > 2. 若发现项目漏洞,请通过邮件**security@gitea.io**私信反馈,感谢你的严谨! - ## 多语言翻译 + +[![Crowdin](https://badges.crowdin.net/gitea/localized.svg)](https://translate.gitea.com) + 翻译工作通过[Crowdin](https://translate.gitea.com)进行。若需新增翻译语言,可联系Crowdin项目管理员添加;也可提交issue申请,或在Discord的#translation频道咨询。 若需翻译上下文或发现翻译问题,可在对应文本下留言或通过Discord沟通。文档设有翻译相关专区(目前内容待补充),将根据问题逐步完善。 @@ -81,17 +82,15 @@ TAGS="bindata" make build ## 官方及第三方项目 -- 官方工具:[go-sdk](https://gitea.com/gitea/go-sdk)、命令行工具[tea](https://gitea.com/gitea/tea)、Gitea Action专用[运行器](https://gitea.com/gitea/act_runner) -- 第三方项目清单:[gitea/awesome-gitea](https://gitea.com/gitea/awesome-gitea),含SDK、插件、主题等资源 +我们提供官方[go-sdk](https://gitea.com/gitea/go-sdk)、命令行工具[tea](https://gitea.com/gitea/tea)及Gitea Action专用[运行器](https://gitea.com/gitea/act_runner)。 +我们在[gitea/awesome-gitea](https://gitea.com/gitea/awesome-gitea)维护Gitea相关项目清单,你可在此发现更多第三方项目,包括SDK、插件、主题等。 ## 交流渠道 [![](https://img.shields.io/discord/322538954119184384.svg?logo=discord&logoColor=white&label=Discord&color=5865F2)](https://discord.gg/Gitea "Join the Discord chat at https://discord.gg/Gitea") - -若文档未覆盖你的问题,可通过[Discord服务器](https://discord.gg/Gitea)联系我们,或在[论坛](https://forum.gitea.com/)发布帖子。 - +若[文档](https://docs.gitea.com/)未覆盖你的问题,可通过[Discord服务器](https://discord.gg/Gitea)联系我们,或在[论坛](https://forum.gitea.com/)发布帖子。 ## 项目成员 - [维护者](https://github.com/orgs/go-gitea/people) diff --git a/README.zh-tw.md b/README.zh-tw.md index 0975e0b1bd46a..3fc9c0958b31a 100644 --- a/README.zh-tw.md +++ b/README.zh-tw.md @@ -14,33 +14,32 @@ [English](./README.md) | [繁體中文](./README.zh-tw.md) ## 專案目標 + 本專案的核心目標,是讓自建 Git 服務的過程,變得最簡單、最高效、最省心。 Gitea 基於 Go 語言開發,凡 Go 語言支持的平台與架構,它皆能適配,涵蓋 Linux、macOS、Windows 系統,以及 x86、amd64、ARM、PowerPC 架構。專案自 2016 年 11 月從[Gogs](https://gogs.io)[分叉](https://blog.gitea.com/welcome-to-gitea/)而來,如今已是煥然一新。 -- 線上體驗:造訪[demo.gitea.com](https://demo.gitea.com) -- 免費服務(儲存庫數量有限):造訪[gitea.com](https://gitea.com/user/login) -- 快速部署專屬實例:前往[cloud.gitea.com](https://cloud.gitea.com)開啟免費試用 +線上體驗:造訪[demo.gitea.com](https://demo.gitea.com)。 + +免費服務(儲存庫數量有限):造訪[gitea.com](https://gitea.com/user/login)。 +快速部署專屬實例:前往[cloud.gitea.com](https://cloud.gitea.com)開啟免費試用。 ## 官方文件 + 你可在[官方文件網站](https://docs.gitea.com/)取得完整文件,內容涵蓋安裝部署、管理維護、使用指南、開發貢獻等,助你快速上手並充分探索所有功能。 若有建議或想參與文檔編寫,可造訪[文檔倉庫](https://gitea.com/gitea/docs)。 - ## 建構方法 + 進入原始碼根目錄,執行以下命令建構: -``` -TAGS="bindata" make build -``` + TAGS="bindata" make build 若需支持 SQLite 資料庫,執行: - ``` -TAGS="bindata sqlite sqlite_unlock_notify" make build -``` + TAGS="bindata sqlite sqlite_unlock_notify" make build `build`目標分為兩個子目標: @@ -49,29 +48,31 @@ TAGS="bindata sqlite sqlite_unlock_notify" make build 構建需聯網以下載 Go 和 npm 依賴套件。若使用包含預構建前端檔案的官方原始碼壓縮包,無需觸發`frontend`目標,無 Node.js 環境也可完成構建。 -更多細節:[https://docs.gitea.com/installation/install-from-source](https://docs.gitea.com/installation/install-from-source) - +更多細節:https://docs.gitea.com/installation/install-from-source ## 使用方法 + 構建完成後,原始碼根目錄預設會產生 `gitea` 可執行檔案,執行命令: -``` -./gitea web -``` + ./gitea web > [!NOTE] > 若需調用 API,我們已提供實驗性支援,文件詳見[此處](https://docs.gitea.com/api)。 ## 貢獻指南 + 標準流程:Fork → Patch → Push → Pull Request > [!NOTE] +> > 1. 提交 Pull Request 前,務必閱讀[《貢獻者指南》](CONTRIBUTING.md)! > 2. 若發現項目漏洞,請通過郵件**security@gitea.io**私信反饋,感謝你的嚴謹! - ## 多語言翻譯 + +[![Crowdin](https://badges.crowdin.net/gitea/localized.svg)](https://translate.gitea.com) + 翻譯工作透過 [Crowdin](https://translate.gitea.com) 進行。若需新增翻譯語言,可聯絡 Crowdin 專案管理員新增;也可提交 issue 申請,或在 Discord 的 #translation 頻道諮詢。 若需翻譯上下文或發現翻譯問題,可在對應文本下留言或透過 Discord 溝通。文件設有翻譯相關專區(目前內容待補充),將根據問題逐步完善。 @@ -81,17 +82,15 @@ TAGS="bindata sqlite sqlite_unlock_notify" make build ## 官方及第三方專案 -- 官方工具:[go-sdk](https://gitea.com/gitea/go-sdk)、命令列工具[tea](https://gitea.com/gitea/tea)、Gitea Action 專用[執行器](https://gitea.com/gitea/act_runner) -- 第三方專案清單:[gitea/awesome-gitea](https://gitea.com/gitea/awesome-gitea),含 SDK、外掛程式、主題等資源 +我們提供官方 [go-sdk](https://gitea.com/gitea/go-sdk)、命令列工具 [tea](https://gitea.com/gitea/tea) 及 Gitea Action 專用[執行器](https://gitea.com/gitea/act_runner)。 +我們在 [gitea/awesome-gitea](https://gitea.com/gitea/awesome-gitea) 維護 Gitea 相關專案清單,你可在此發現更多第三方專案,包括 SDK、外掛程式、主題等。 ## 交流頻道 [![](https://img.shields.io/discord/322538954119184384.svg?logo=discord&logoColor=white&label=Discord&color=5865F2)](https://discord.gg/Gitea "Join the Discord chat at https://discord.gg/Gitea") - -若文件未涵蓋你的問題,可透過[Discord 伺服器](https://discord.gg/Gitea)聯絡我們,或在[論壇](https://forum.gitea.com/)發布貼文。 - +若[文件](https://docs.gitea.com/)未涵蓋你的問題,可透過[Discord 伺服器](https://discord.gg/Gitea)聯絡我們,或在[論壇](https://forum.gitea.com/)發布貼文。 ## 專案成員 - [維護者](https://github.com/orgs/go-gitea/people) From 1fe797984df82418bfd1f494932b3cf01eba368a Mon Sep 17 00:00:00 2001 From: tangyuan0821 Date: Sun, 2 Nov 2025 02:13:58 +0800 Subject: [PATCH 4/4] Optimize the Chinese README file by adjusting its format and content to improve readability --- README.zh-cn.md | 25 +++++++++++++++---------- README.zh-tw.md | 25 +++++++++++++++---------- 2 files changed, 30 insertions(+), 20 deletions(-) diff --git a/README.zh-cn.md b/README.zh-cn.md index 3ae1dc63462a1..ff0794c93d813 100644 --- a/README.zh-cn.md +++ b/README.zh-cn.md @@ -59,7 +59,6 @@ Gitea基于Go语言开发,凡Go语言支持的平台与架构,它皆能适 > [!NOTE] > 若需调用API,我们已提供实验性支持,文档详见[此处](https://docs.gitea.com/api)。 - ## 贡献指南 标准流程:Fork → Patch → Push → Pull Request @@ -79,7 +78,6 @@ Gitea基于Go语言开发,凡Go语言支持的平台与架构,它皆能适 更多信息:[翻译贡献文档](https://docs.gitea.com/contributing/localization) - ## 官方及第三方项目 我们提供官方[go-sdk](https://gitea.com/gitea/go-sdk)、命令行工具[tea](https://gitea.com/gitea/tea)及Gitea Action专用[运行器](https://gitea.com/gitea/act_runner)。 @@ -93,17 +91,19 @@ Gitea基于Go语言开发,凡Go语言支持的平台与架构,它皆能适 若[文档](https://docs.gitea.com/)未覆盖你的问题,可通过[Discord服务器](https://discord.gg/Gitea)联系我们,或在[论坛](https://forum.gitea.com/)发布帖子。 ## 项目成员 + - [维护者](https://github.com/orgs/go-gitea/people) - [贡献者](https://github.com/go-gitea/gitea/graphs/contributors) - [译者](options/locale/TRANSLATORS) - ## 支持者 + 感谢所有支持者的鼎力相助!🙏 [[成为支持者](https://opencollective.com/gitea#backer)] ## 赞助商 + 成为赞助商支持项目,你的logo将在此展示并链接至官网。[[成为赞助商](https://opencollective.com/gitea#sponsor)] @@ -118,21 +118,26 @@ Gitea基于Go语言开发,凡Go语言支持的平台与架构,它皆能适 ## 常见问题 -### Q:Gitea如何发音? -A:发音为[/ɡɪ’ti:/](https://youtu.be/EM71-2uDAoY),类似“gi-tea”,“g”需发重音。 -### Q:为何项目代码未托管在Gitea自身实例上? -A:我们正推进此事,进展可查看[该issue](https://github.com/go-gitea/gitea/issues/1029)。 +**Gitea如何发音?** + +发音为[/ɡɪ'ti:/](https://youtu.be/EM71-2uDAoY),类似"gi-tea","g"需发重音。 + +**为何项目代码未托管在Gitea自身实例上?** -### Q:哪里可找到安全补丁? -A:在[发布日志](https://github.com/go-gitea/gitea/releases)或[更新日志](https://github.com/go-gitea/gitea/blob/main/CHANGELOG.md)中,搜索关键词`SECURITY`即可找到。 +我们正[推进此事](https://github.com/go-gitea/gitea/issues/1029)。 +**哪里可找到安全补丁?** + +在[发布日志](https://github.com/go-gitea/gitea/releases)或[更新日志](https://github.com/go-gitea/gitea/blob/main/CHANGELOG.md)中,搜索关键词`SECURITY`即可找到。 ## 许可证 -本项目采用MIT许可证,完整许可文本详见[LICENSE文件](https://github.com/go-gitea/gitea/blob/main/LICENSE)。 +本项目采用MIT许可证。 +完整许可文本详见[LICENSE文件](https://github.com/go-gitea/gitea/blob/main/LICENSE)。 ## 更多信息 +
寻找界面概述?查看这里! diff --git a/README.zh-tw.md b/README.zh-tw.md index 3fc9c0958b31a..d14b59fc6b216 100644 --- a/README.zh-tw.md +++ b/README.zh-tw.md @@ -59,7 +59,6 @@ Gitea 基於 Go 語言開發,凡 Go 語言支持的平台與架構,它皆能 > [!NOTE] > 若需調用 API,我們已提供實驗性支援,文件詳見[此處](https://docs.gitea.com/api)。 - ## 貢獻指南 標準流程:Fork → Patch → Push → Pull Request @@ -79,7 +78,6 @@ Gitea 基於 Go 語言開發,凡 Go 語言支持的平台與架構,它皆能 更多資訊:[翻譯貢獻文件](https://docs.gitea.com/contributing/localization) - ## 官方及第三方專案 我們提供官方 [go-sdk](https://gitea.com/gitea/go-sdk)、命令列工具 [tea](https://gitea.com/gitea/tea) 及 Gitea Action 專用[執行器](https://gitea.com/gitea/act_runner)。 @@ -93,17 +91,19 @@ Gitea 基於 Go 語言開發,凡 Go 語言支持的平台與架構,它皆能 若[文件](https://docs.gitea.com/)未涵蓋你的問題,可透過[Discord 伺服器](https://discord.gg/Gitea)聯絡我們,或在[論壇](https://forum.gitea.com/)發布貼文。 ## 專案成員 + - [維護者](https://github.com/orgs/go-gitea/people) - [貢獻者](https://github.com/go-gitea/gitea/graphs/contributors) - [譯者](options/locale/TRANSLATORS) - ## 支持者 + 感謝所有支持者的鼎力相助!🙏 [[成為支持者](https://opencollective.com/gitea#backer)] ## 贊助商 + 成為贊助商支持專案,你的 logo 將在此展示並連結至官網。[[成為贊助商](https://opencollective.com/gitea#sponsor)] @@ -118,21 +118,26 @@ Gitea 基於 Go 語言開發,凡 Go 語言支持的平台與架構,它皆能 ## 常見問題 -### Q:Gitea 如何發音? -A:發音為[/ɡɪ'ti:/](https://youtu.be/EM71-2uDAoY),類似「gi-tea」,「g」需發重音。 -### Q:為何專案代碼未託管在 Gitea 自身實例上? -A:我們正推進此事,進展可查看[該 issue](https://github.com/go-gitea/gitea/issues/1029)。 +**Gitea 如何發音?** + +發音為[/ɡɪ'ti:/](https://youtu.be/EM71-2uDAoY),類似「gi-tea」,「g」需發重音。 + +**為何專案代碼未託管在 Gitea 自身實例上?** -### Q:哪裡可找到安全補丁? -A:在[發布日誌](https://github.com/go-gitea/gitea/releases)或[更新日誌](https://github.com/go-gitea/gitea/blob/main/CHANGELOG.md)中,搜尋關鍵詞`SECURITY`即可找到。 +我們正[推進此事](https://github.com/go-gitea/gitea/issues/1029)。 +**哪裡可找到安全補丁?** + +在[發布日誌](https://github.com/go-gitea/gitea/releases)或[更新日誌](https://github.com/go-gitea/gitea/blob/main/CHANGELOG.md)中,搜尋關鍵詞`SECURITY`即可找到。 ## 授權條款 -本項目採用 MIT 授權條款,完整授權文本詳見 [LICENSE 檔案](https://github.com/go-gitea/gitea/blob/main/LICENSE)。 +本項目採用 MIT 授權條款。 +完整授權文本詳見 [LICENSE 檔案](https://github.com/go-gitea/gitea/blob/main/LICENSE)。 ## 更多資訊 +
尋找介面概述?查看這裡!