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

Commit 3067d00

Browse files
authored
Merge pull request #768 from justinchuby/patch-1
Translate the "Windows 注意事项" section into Chinese
2 parents 3f431e6 + 6b1f84f commit 3067d00

File tree

1 file changed

+17
-21
lines changed

1 file changed

+17
-21
lines changed

zh-CN/install.html

Lines changed: 17 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ <h1 class="rustup">安装 Rust</h1>
2222
<div id="platform-instructions-android" class="instructions" style="display: none;">
2323
<p>您似乎正在安卓(Android)操作系统上浏览本页面</p>
2424
<p>
25-
Rust 编译器(暂时)不能直接在安卓(Android)上运行,
26-
但它确实使得它很容易交叉编译<em></em>安卓(Android)上。
27-
请在支持的主机平台上安装 Rust ,
25+
Rust 编译器(暂时)不能直接在安卓(Android)上运行,
26+
但它确实使得它很容易交叉编译<em></em>安卓(Android)上。
27+
请在支持的主机平台上安装 Rust ,
2828
<a href="https://github.com/rust-lang-nursery/rustup.rs/#cross-compilation">
2929
遵循交叉编译指令
3030
</a>
@@ -37,7 +37,7 @@ <h1 class="rustup">安装 Rust</h1>
3737
<p>无法识别您的平台</p>
3838
<p>
3939
可以运行在 Windows, Linux, Mac OS X, FreeBSD 和 NetBSD 上。
40-
如果您正在这些平台上,并且看到这句话,请您
40+
如果您正在这些平台上,并且看到这句话,请您
4141
<a href="https://github.com/rust-lang/rust-www/issues/new">报告问题(issue)</a>,
4242
并且提供以下信息:
4343
</p>
@@ -114,13 +114,13 @@ <h3>使用 <code>rustup</code> 管理工具链</h3>
114114
<p>
115115
Rust 由
116116
<a href="https://github.com/rust-lang-nursery/rustup.rs"><code>rustup</code></a>
117-
工具来安装和管理。 Rust有一个6周的
117+
工具来安装和管理。 Rust 有一个6周的
118118
<a href="https://github.com/rust-lang/rfcs/blob/master/text/0507-release-channels.md">
119119
快速发布过程
120120
</a> 并且支持
121121
<a href="https://forge.rust-lang.org/platform-support.html">
122122
大量的平台
123-
</a>所以任何时候都有很多Rust构建可用
123+
</a>所以任何时候都有很多 Rust 构建可用
124124
<code>rustup</code> manages these builds in a consistent way on every
125125
platform that Rust supports, enabling installation of Rust from the
126126
beta and nightly release channels as well as support for additional
@@ -169,23 +169,20 @@ <h3>Windows 注意事项</h3>
169169
<!-- This anchor is probably linked in the wild and should not be broken -->
170170
<a id="win-foot"></a>
171171

172-
<p>
173-
On Windows, Rust additionally requires the C++ build tools
174-
for Visual Studio 2013 or later. The easiest way to acquire the build
175-
tools is by installing
176-
<a href="http://landinghub.visualstudio.com/visual-cpp-build-tools">
177-
Microsoft Visual C++ Build Tools 2015
172+
<p>
173+
在 Windows 上, Rust 需要 Visual C++ 生成工具 2013 或更新版本的支持。获取 Visual C++ 生成工具最方便的方法是安装
174+
<a href="http://landinghub.visualstudio.com/visual-cpp-build-tools">
175+
Microsoft Visual C++ Build Tools 2015
178176
</a>
179-
which provides just the Visual C++ build tools. Alternately, you
180-
can <a href="https://www.visualstudio.com/downloads/">install</a>
181-
Visual Studio 2015 or Visual Studio 2013 and during install select
182-
the "C++ tools".
183-
</p>
177+
。或者,你可以
178+
<a href="https://www.visualstudio.com/downloads/">安装</a>
179+
Visual Studio 2015 或 Visual Studio 2013 并在安装过程中选择安装 “C++ 工具”。
180+
</p>
184181

185182
<p>
186-
For further information about configuring Rust on Windows see the
183+
关于在 Windows 上配置 Rust 的更多信息请查看
187184
<a href="https://github.com/rust-lang-nursery/rustup.rs/blob/master/README.md#working-with-rust-on-windows">Windows-specific <code>rustup</code>
188-
documentation</a>.
185+
文档</a>
189186
</p>
190187

191188
</div>
@@ -198,7 +195,7 @@ <h2>其他安装方法</h3>
198195
<div class="row">
199196
<div class="col-md-12">
200197
<p>
201-
上述的通过 <code>rustup</code> 的安装方法是大多数开发者的首选。
198+
上述通过 <code>rustup</code> 的安装方法是大多数开发者的首选。
202199
但是 Rust 也可以
203200
<a href="other-installers.html">通过其他方法安装</a>
204201
</p>
@@ -208,4 +205,3 @@ <h2>其他安装方法</h3>
208205
<script type="text/javascript">
209206
{% include rustup.js %}
210207
</script>
211-

0 commit comments

Comments
 (0)