Skip to content

Commit e45450b

Browse files
authored
docs: add Chinese translations for README files (#34132)
- Update README.md to include links to Traditional and Simplified Chinese translations. - Add README.zh-cn.md file containing the Simplified Chinese version of the README. - Add README.zh-tw.md file containing the Traditional Chinese version of the README. - Delete README_ZH.md file. --------- Signed-off-by: appleboy <[email protected]>
1 parent 8c9d2bd commit e45450b

File tree

4 files changed

+413
-157
lines changed

4 files changed

+413
-157
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
[![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)
1212
[![](https://badges.crowdin.net/gitea/localized.svg)](https://translate.gitea.com "Crowdin")
1313

14-
[View this document in Chinese](./README_ZH.md)
14+
[繁體中文](./README.zh-tw.md) | [简体中文](./README.zh-cn.md)
1515

1616
## Purpose
1717

README.zh-cn.md

+206
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,206 @@
1+
# Gitea
2+
3+
[![](https://github.com/go-gitea/gitea/actions/workflows/release-nightly.yml/badge.svg?branch=main)](https://github.com/go-gitea/gitea/actions/workflows/release-nightly.yml?query=branch%3Amain "Release Nightly")
4+
[![](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")
5+
[![](https://goreportcard.com/badge/code.gitea.io/gitea)](https://goreportcard.com/report/code.gitea.io/gitea "Go Report Card")
6+
[![](https://pkg.go.dev/badge/code.gitea.io/gitea?status.svg)](https://pkg.go.dev/code.gitea.io/gitea "GoDoc")
7+
[![](https://img.shields.io/github/release/go-gitea/gitea.svg)](https://github.com/go-gitea/gitea/releases/latest "GitHub release")
8+
[![](https://www.codetriage.com/go-gitea/gitea/badges/users.svg)](https://www.codetriage.com/go-gitea/gitea "Help Contribute to Open Source")
9+
[![](https://opencollective.com/gitea/tiers/backers/badge.svg?label=backers&color=brightgreen)](https://opencollective.com/gitea "Become a backer/sponsor of gitea")
10+
[![](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT "License: MIT")
11+
[![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)
12+
[![](https://badges.crowdin.net/gitea/localized.svg)](https://translate.gitea.com "Crowdin")
13+
14+
[English](./README.md) | [繁體中文](./README.zh-tw.md)
15+
16+
## 目的
17+
18+
这个项目的目标是提供最简单、最快速、最无痛的方式来设置自托管的 Git 服务。
19+
20+
由于 Gitea 是用 Go 语言编写的,它可以在 Go 支持的所有平台和架构上运行,包括 Linux、macOS 和 Windows 的 x86、amd64、ARM 和 PowerPC 架构。这个项目自 2016 年 11 月从 [Gogs](https://gogs.io) [分叉](https://blog.gitea.com/welcome-to-gitea/) 而来,但已经有了很多变化。
21+
22+
在线演示可以访问 [demo.gitea.com](https://demo.gitea.com)
23+
24+
要访问免费的 Gitea 服务(有一定数量的仓库限制),可以访问 [gitea.com](https://gitea.com/user/login)
25+
26+
要快速部署您自己的专用 Gitea 实例,可以在 [cloud.gitea.com](https://cloud.gitea.com) 开始免费试用。
27+
28+
## 文件
29+
30+
您可以在我们的官方 [文件网站](https://docs.gitea.com/) 上找到全面的文件。
31+
32+
它包括安装、管理、使用、开发、贡献指南等,帮助您快速入门并有效地探索所有功能。
33+
34+
如果您有任何建议或想要贡献,可以访问 [文件仓库](https://gitea.com/gitea/docs)
35+
36+
## 构建
37+
38+
从源代码树的根目录运行:
39+
40+
TAGS="bindata" make build
41+
42+
如果需要 SQLite 支持:
43+
44+
TAGS="bindata sqlite sqlite_unlock_notify" make build
45+
46+
`build` 目标分为两个子目标:
47+
48+
- `make backend` 需要 [Go Stable](https://go.dev/dl/),所需版本在 [go.mod](/go.mod) 中定义。
49+
- `make frontend` 需要 [Node.js LTS](https://nodejs.org/en/download/) 或更高版本。
50+
51+
需要互联网连接来下载 go 和 npm 模块。从包含预构建前端文件的官方源代码压缩包构建时,不会触发 `frontend` 目标,因此可以在没有 Node.js 的情况下构建。
52+
53+
更多信息:https://docs.gitea.com/installation/install-from-source
54+
55+
## 使用
56+
57+
构建后,默认情况下会在源代码树的根目录生成一个名为 `gitea` 的二进制文件。要运行它,请使用:
58+
59+
./gitea web
60+
61+
> [!注意]
62+
> 如果您对使用我们的 API 感兴趣,我们提供了实验性支持,并附有 [文件](https://docs.gitea.com/api)
63+
64+
## 贡献
65+
66+
预期的工作流程是:Fork -> Patch -> Push -> Pull Request
67+
68+
> [!注意]
69+
>
70+
> 1. **在开始进行 Pull Request 之前,您必须阅读 [贡献者指南](CONTRIBUTING.md)**
71+
> 2. 如果您在项目中发现了漏洞,请私下写信给 **[email protected]**。谢谢!
72+
73+
## 翻译
74+
75+
[![Crowdin](https://badges.crowdin.net/gitea/localized.svg)](https://translate.gitea.com)
76+
77+
翻译通过 [Crowdin](https://translate.gitea.com) 进行。如果您想翻译成新的语言,请在 Crowdin 项目中请求管理员添加新语言。
78+
79+
您也可以创建一个 issue 来添加语言,或者在 discord 的 #translation 频道上询问。如果您需要上下文或发现一些翻译问题,可以在字符串上留言或在 Discord 上询问。对于一般的翻译问题,文档中有一个部分。目前有点空,但我们希望随着问题的出现而填充它。
80+
81+
更多信息请参阅 [文件](https://docs.gitea.com/contributing/localization)
82+
83+
## 官方和第三方项目
84+
85+
我们提供了一个官方的 [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)
86+
87+
我们在 [gitea/awesome-gitea](https://gitea.com/gitea/awesome-gitea) 维护了一个 Gitea 相关项目的列表,您可以在那里发现更多的第三方项目,包括 SDK、插件、主题等。
88+
89+
## 通讯
90+
91+
[![](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")
92+
93+
如果您有任何文件未涵盖的问题,可以在我们的 [Discord 服务器](https://discord.gg/Gitea) 上与我们联系,或者在 [discourse 论坛](https://forum.gitea.com/) 上创建帖子。
94+
95+
## 作者
96+
97+
- [维护者](https://github.com/orgs/go-gitea/people)
98+
- [贡献者](https://github.com/go-gitea/gitea/graphs/contributors)
99+
- [翻译者](options/locale/TRANSLATORS)
100+
101+
## 支持者
102+
103+
感谢所有支持者! 🙏 [[成为支持者](https://opencollective.com/gitea#backer)]
104+
105+
<a href="https://opencollective.com/gitea#backers" target="_blank"><img src="https://opencollective.com/gitea/backers.svg?width=890"></a>
106+
107+
## 赞助商
108+
109+
通过成为赞助商来支持这个项目。您的标志将显示在这里,并带有链接到您的网站。 [[成为赞助商](https://opencollective.com/gitea#sponsor)]
110+
111+
<a href="https://opencollective.com/gitea/sponsor/0/website" target="_blank"><img src="https://opencollective.com/gitea/sponsor/0/avatar.svg"></a>
112+
<a href="https://opencollective.com/gitea/sponsor/1/website" target="_blank"><img src="https://opencollective.com/gitea/sponsor/1/avatar.svg"></a>
113+
<a href="https://opencollective.com/gitea/sponsor/2/website" target="_blank"><img src="https://opencollective.com/gitea/sponsor/2/avatar.svg"></a>
114+
<a href="https://opencollective.com/gitea/sponsor/3/website" target="_blank"><img src="https://opencollective.com/gitea/sponsor/3/avatar.svg"></a>
115+
<a href="https://opencollective.com/gitea/sponsor/4/website" target="_blank"><img src="https://opencollective.com/gitea/sponsor/4/avatar.svg"></a>
116+
<a href="https://opencollective.com/gitea/sponsor/5/website" target="_blank"><img src="https://opencollective.com/gitea/sponsor/5/avatar.svg"></a>
117+
<a href="https://opencollective.com/gitea/sponsor/6/website" target="_blank"><img src="https://opencollective.com/gitea/sponsor/6/avatar.svg"></a>
118+
<a href="https://opencollective.com/gitea/sponsor/7/website" target="_blank"><img src="https://opencollective.com/gitea/sponsor/7/avatar.svg"></a>
119+
<a href="https://opencollective.com/gitea/sponsor/8/website" target="_blank"><img src="https://opencollective.com/gitea/sponsor/8/avatar.svg"></a>
120+
<a href="https://opencollective.com/gitea/sponsor/9/website" target="_blank"><img src="https://opencollective.com/gitea/sponsor/9/avatar.svg"></a>
121+
122+
## 常见问题
123+
124+
**Gitea 怎么发音?**
125+
126+
Gitea 的发音是 [/ɡɪ’ti:/](https://youtu.be/EM71-2uDAoY),就像 "gi-tea" 一样,g 是硬音。
127+
128+
**为什么这个项目没有托管在 Gitea 实例上?**
129+
130+
我们正在 [努力](https://github.com/go-gitea/gitea/issues/1029)
131+
132+
**在哪里可以找到安全补丁?**
133+
134+
[发布日志](https://github.com/go-gitea/gitea/releases)[变更日志](https://github.com/go-gitea/gitea/blob/main/CHANGELOG.md) 中,搜索关键词 `SECURITY` 以找到安全补丁。
135+
136+
## 许可证
137+
138+
这个项目是根据 MIT 许可证授权的。
139+
请参阅 [LICENSE](https://github.com/go-gitea/gitea/blob/main/LICENSE) 文件以获取完整的许可证文本。
140+
141+
## 进一步信息
142+
143+
<details>
144+
<summary>寻找界面概述?查看这里!</summary>
145+
146+
### 登录/注册页面
147+
148+
![Login](https://dl.gitea.com/screenshots/login.png)
149+
![Register](https://dl.gitea.com/screenshots/register.png)
150+
151+
### 用户仪表板
152+
153+
![Home](https://dl.gitea.com/screenshots/home.png)
154+
![Issues](https://dl.gitea.com/screenshots/issues.png)
155+
![Pull Requests](https://dl.gitea.com/screenshots/pull_requests.png)
156+
![Milestones](https://dl.gitea.com/screenshots/milestones.png)
157+
158+
### 用户资料
159+
160+
![Profile](https://dl.gitea.com/screenshots/user_profile.png)
161+
162+
### 探索
163+
164+
![Repos](https://dl.gitea.com/screenshots/explore_repos.png)
165+
![Users](https://dl.gitea.com/screenshots/explore_users.png)
166+
![Orgs](https://dl.gitea.com/screenshots/explore_orgs.png)
167+
168+
### 仓库
169+
170+
![Home](https://dl.gitea.com/screenshots/repo_home.png)
171+
![Commits](https://dl.gitea.com/screenshots/repo_commits.png)
172+
![Branches](https://dl.gitea.com/screenshots/repo_branches.png)
173+
![Labels](https://dl.gitea.com/screenshots/repo_labels.png)
174+
![Milestones](https://dl.gitea.com/screenshots/repo_milestones.png)
175+
![Releases](https://dl.gitea.com/screenshots/repo_releases.png)
176+
![Tags](https://dl.gitea.com/screenshots/repo_tags.png)
177+
178+
#### 仓库问题
179+
180+
![List](https://dl.gitea.com/screenshots/repo_issues.png)
181+
![Issue](https://dl.gitea.com/screenshots/repo_issue.png)
182+
183+
#### 仓库拉取请求
184+
185+
![List](https://dl.gitea.com/screenshots/repo_pull_requests.png)
186+
![Pull Request](https://dl.gitea.com/screenshots/repo_pull_request.png)
187+
![File](https://dl.gitea.com/screenshots/repo_pull_request_file.png)
188+
![Commits](https://dl.gitea.com/screenshots/repo_pull_request_commits.png)
189+
190+
#### 仓库操作
191+
192+
![List](https://dl.gitea.com/screenshots/repo_actions.png)
193+
![Details](https://dl.gitea.com/screenshots/repo_actions_run.png)
194+
195+
#### 仓库活动
196+
197+
![Activity](https://dl.gitea.com/screenshots/repo_activity.png)
198+
![Contributors](https://dl.gitea.com/screenshots/repo_contributors.png)
199+
![Code Frequency](https://dl.gitea.com/screenshots/repo_code_frequency.png)
200+
![Recent Commits](https://dl.gitea.com/screenshots/repo_recent_commits.png)
201+
202+
### 组织
203+
204+
![Home](https://dl.gitea.com/screenshots/org_home.png)
205+
206+
</details>

0 commit comments

Comments
 (0)