Skip to content
This repository was archived by the owner on Sep 30, 2020. It is now read-only.

Commit 80bf405

Browse files
authored
Merge pull request #607 from 3442853561/中文16.10.30
Some new Chinese translation and modified some link which on the localization page
2 parents f1ff41a + 3e90fcf commit 80bf405

File tree

3 files changed

+39
-43
lines changed

3 files changed

+39
-43
lines changed

_layouts/ru-RU/basic.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,17 @@ <h2><a href="/ru-RU/contribute.html">Участие</a></h2>
3535
</header>
3636

3737
{{ content }}
38+
39+
<footer>
40+
<p>Наш сайт на других языках:
41+
<a href="/en-US/">English</a>,
42+
<a href="/fr-FR/">Français</a>,
43+
<a href="/ko-KR/">한국어</a>,
44+
<a href="/pt-BR/">Português</a>,
45+
<a href="/zh-CN/">简体中文</a>
46+
</p>
47+
</footer>
48+
3849

3950
<script>
4051
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){

zh-CN/documentation.md

Lines changed: 17 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -5,55 +5,42 @@ title: Rust 语言文档 &middot; Rust 程序设计语言
55

66
# Rust 语言文档
77

8-
If you haven't seen Rust at all yet, the first thing you should read
9-
is the introduction to the book, [Rust 程序设计语言][book]。It will give you a good idea of what Rust is like,
10-
show you how to install it, and explain its syntax and concepts. Upon
11-
completing the book, you'll be an intermediate Rust developer, and
12-
will have a good grasp of the fundamental ideas behind Rust.
8+
如果您还不了解 Rust ,那么请先阅读 [Rust 程序设计语言][book]
9+
它将会帮您理清思路: Rust 是什么样的语言、如何按照它、以及它的语法概念(syntax and concepts)。
10+
在看完本书后,您将成为一个登堂入室(intermediate)的 Rust 开发人员,并将很好地理解 Rust 背后的基本理念。
1311

1412
## 学习 Rust
1513

16-
[Rust 程序设计语言][book]. Also known as "The Book",
17-
The Rust Programming Language is the most comprehensive resource for
18-
all topics related to Rust, and is the primary official document of
19-
the language.
14+
[Rust 程序设计语言][book]: Rust 相关的所有主题最全面的资料,重要的官方文档。
2015

21-
[在实践中学 Rust][rbe]。 A collection of self-contained Rust
22-
examples on a variety of topics, executable in-browser.
16+
[在实践中学 Rust][rbe]: 关于各种主题的 Rust 示例的合集,可在线预览。
2317

24-
[Frequently asked questions][faq].
18+
[Rust 高级教程][nomicon]: 为高级 Rust 工程师准备的专门讲解如何编写不安全的Rust代码的书。
2519

26-
[The Rustonomicon][nomicon]. An entire book dedicated to
27-
explaining how to write unsafe Rust code. It is for advanced Rust
28-
programmers.
20+
[学习 Rust]: 由社区维护、收集的学习 Rust 资料合集。
2921

30-
[rust-learning]. A community-maintained collection of resources
31-
for learning Rust.
22+
[常见问题][faq]
3223

3324
[book]: https://kaisery.gitbooks.io/rust-book-chinese/content/
34-
[rbe]: http://rustbyexample.com
35-
[faq]: faq.html
25+
[rbe]: https://rustwiki.org/rust-by-example/
3626
[nomicon]: https://doc.rust-lang.org/nomicon/
3727
[rust-learning]: https://github.com/ctjhoa/rust-learning
28+
[faq]: faq.html
3829

39-
## References
30+
## 参考文献
4031

41-
[Standard Library API Reference][api]. Documentation for the
42-
standard library.
32+
[标准库][api]: Rust 标准库文档
4333

44-
[The Rust Reference][ref]. While Rust does not have a
34+
[Rust 语言参考手册][ref]. While Rust does not have a
4535
specification, the reference tries to describe its working in
4636
detail. It tends to be out of date.
4737

48-
[Syntax Index][syn]. This appendix from The Book contains examples
49-
of all syntax in Rust cross-referenced with the section of The Book
50-
that describes it.
38+
[语法索引][syn]: 本索引中包含 Rust 中与《Rust 程序设计语言》的部分交叉引用的所有语法示例。
39+
40+
[Cargo 使用指导][cargo]: Cargo(Rust 的包管理器)的文档。
5141

52-
[The Cargo Guide][cargo]. The documentation for Cargo,
53-
Rust's package manager.
5442

55-
[Compiler Error Index][err]. Extended explanations of
56-
the errors produced by the Rust compiler.
43+
[编译器错误索引][err]: 编译器生成错误报告的扩展说明。
5744

5845
[Release Notes][release_notes]. A recording of changes made during each release.
5946

zh-CN/downloads.html

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -178,25 +178,23 @@ <h2 id="nightly">开发版(Nightly)&nbsp; ({{ site.nightly }})</h2>
178178
<a href="https://www.visualstudio.com">Visual Studio</a>,
179179
,而使用 GNU ABI 则需要
180180
<a href="https://gcc.gnu.org/">GCC 工具链</a>.
181-
Which version of Rust you need depends largely on what C/C++ libraries you want to interoperate with:
182-
for interop with software produced by Visual Studio use the MSVC build of Rust; for interop with
183-
GNU software built using the
181+
您选择哪个版本的 Rust 主要取决于您想要互操作的 C/C++ 库:
182+
Visual Studio 生成的软件的 interop 使用 Rust 的 MSVC build;
183+
用于与使用
184184
<a href="https://msys2.github.io/">MinGW/MSYS2 工具链</a>
185-
use the GNU build.
185+
构建的GNU软件进行互操作,使用GNU构建。
186186
</p>
187187
<p>
188-
MSVC builds of Rust additionally require the Microsoft Visual
189-
C++ build tools for Visual Studio 2013 或更高版本。
190-
The easiest way to acquire the build tools is by installing
188+
MSVC 构建的 Rust 需要 Visual Studio 2013 或更高版本中的 Microsoft Visual C++ 构建工具。
189+
获取构建工具的快捷方法是安装
191190
<a href="http://landinghub.visualstudio.com/visual-cpp-build-tools">
192-
Microsoft Visual C++ Build Tools 2015</a>
193-
which provides just the Visual C++ build tools.
194-
Alternately, you can <a href="https://www.visualstudio.com/downloads/">安装</a>
195-
Visual Studio 2015 or Visual Studio 2013 and during install select the "C++ tools".
196-
No additional software installation is necessary for basic use of the GNU build.
191+
Microsoft Visual C++ 构建工具 2015</a>,它仅仅提供 Visual C++ 构建工具。
192+
您也可以<a href="https://www.visualstudio.com/downloads/">安装</a>
193+
Visual Studio 2015 或 Visual Studio 2013 并在安装期间勾选“C++ tools”。
194+
对于GNU构建的基本使用则不需要额外的安装。
197195
</p>
198196
<p>
199-
Rust 对 GNU ABI 的支持更加成熟,建议作为典型用途
197+
Rust 对 GNU ABI 的支持更加成熟,建议作为首选
200198
</p>
201199
</div>
202200
</div>

0 commit comments

Comments
 (0)