Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translate downloads/{branches,releases}/index.md (zh_cn) #3143

Merged
merged 1 commit into from
Nov 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions zh_cn/downloads/branches/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
layout: page
title: "Ruby 维护分支"
lang: zh_cn
---

本页面列出了当前各个 Ruby 分支的维护情况。
{: .summary}

对于特定版本的详细信息,可以参考
[版本页面](../releases/).

这是 Ruby 分支及其维护状态的初步列表。
显示的日期基于 版本发布 或 EOL声明 新闻的发布时间。

Ruby 分支或版本 分为以下集中状态:

* **正常维护** (错误修复):
能得到一般错误修复和安全修复。
* **安全维护** (security fix):
只有安全修复会向后移植。
* **eol** (生命周期终止):
Ruby 核心团队不再进行支持,不会得到任何修复。也不会发布新的补丁版本。

{% include branches-timeline.html %}

{% for branch in site.data.branches %}
### Ruby {{ branch.name }}

状态: {{ branch.status }}<br>
发布日期: {{ branch.date }}<br>
正常维护期至: {% if branch.security_maintenance_date %}{{ branch.security_maintenance_date }}{% else %}未定{% endif %}<br>
生命周期终止: {% if branch.eol_date %}{{ branch.eol_date }}{% else %}{% if branch.expected_eol_date %}{{ branch.expected_eol_date }} (预计){% else %}未定{% endif %}{% endif %}

{% endfor %}
4 changes: 2 additions & 2 deletions zh_cn/downloads/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ Ruby 源代码可从世界各地的[镜像站][mirrors]获得。请尝试离您

[license]: {{ site.license.url }}
[installation]: /zh_cn/documentation/installation/
[releases]: /en/downloads/releases/
[branches]: /en/downloads/branches/
[releases]: /zh_cn/downloads/releases/
[branches]: /zh_cn/downloads/branches/
[mirrors]: /en/downloads/mirrors/
[rvm]: http://rvm.io/
[rbenv]: https://github.com/rbenv/rbenv
Expand Down
33 changes: 33 additions & 0 deletions zh_cn/downloads/releases/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
layout: page
title: "Ruby 版本"
lang: zh_cn
---

本页面列出了各个 Ruby 发布版本。
{: .summary}

如需了解 Ruby 各版本的当前维护状态,可以参见
[分支页面](../branches/).

### Ruby 版本列表

下表列出了各 Ruby 发布版本。
其中显示的日期基于对应新闻的发布日期,可能与源代码包的实际创建时间有所差别。

<table class="release-list">
<tr>
<th>发布版本</th>
<th>发布日期</th>
<th>下载地址</th>
<th>发布文档</th>
</tr>
{% assign releases = site.data.releases | reverse | sort: "date" | reverse %}
{% for release in releases %}
<tr>
<td>Ruby {{ release.version }}</td>
<td>{{ release.date }}</td>
<td><a href="{{ release.url.gz }}">下载</a></td>
<td><a href="{{ release.post }}">查看…</a></td>
</tr>{% endfor %}
</table>