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

fix the chinese Install page #650

Merged
merged 5 commits into from
Dec 22, 2016
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
2 changes: 1 addition & 1 deletion _layouts/ko-KR/basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</li>
<li class="col-xs-12 col-md-10 menu">
<h2><a href="/ko-KR/documentation.html">문서</a></h2>
<h2><a href="/ko-KR/install.html">Install</a></h2>
<h2><a href="/ko-KR/install.html">설치</a></h2>
<h2><a href="/ko-KR/community.html">커뮤니티</a></h2>
<h2><a href="/ko-KR/contribute.html">기여하기</a></h2>
</li>
Expand Down
2 changes: 1 addition & 1 deletion _layouts/zh-CN/basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</li>
<li class="col-xs-12 col-md-10 menu">
<h2><a href="/zh-CN/documentation.html">文档</a></h2>
<h2><a href="/zh-CN/install.html">Install</a></h2>
<h2><a href="/zh-CN/install.html">安装</a></h2>
<h2><a href="/zh-CN/community.html">社区</a></h2>
<h2><a href="/zh-CN/contribute.html">贡献</a></h2>
</li>
Expand Down
10 changes: 10 additions & 0 deletions _layouts/zh-CN/faq.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
layout: default
---

<link href='https://fonts.googleapis.com/css?family=Source+Serif+Pro:400,600' rel='stylesheet' type='text/css'>
<link href='/css/syntax-highlight.css' rel='stylesheet' type='text/css'>

<div class="faq">
{{ content }}
</div>
2 changes: 1 addition & 1 deletion zh-CN/contribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ libs / community building
-->

[#rust-internals]: https://client00.chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust-internals
: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md
[CONTRIBUTING.md]: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md
[bugs]: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[coc]: https://www.rust-lang.org/conduct.html
[community team]: https://www.rust-lang.org/team.html#Community
Expand Down
4 changes: 2 additions & 2 deletions zh-CN/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
</div>
<div class="col-md-4">
<a class="release-button" href="install.html">
<div class="release-version">Install Rust <span>{{ site.stable }}</span></div>
<div class="release-version">安装 Rust <span>{{ site.stable }}</span></div>
</a>
<div class="release-date">{{ site.stable_date | date: "%B %-d, %Y" }}</div>
<div class="release-date">{{ site.stable_date | date: "%Y 年 %b 月 %-d 日" }}</div>
</div>
</div>

Expand Down
14 changes: 7 additions & 7 deletions zh-CN/install.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: zh-CN/default
title: Installation &middot; The Rust Programming Language
---
<h1 class="rustup">Install Rust</h1>
<h1 class="rustup">安装 Rust</h1>

<div class="row rustup-row">
<div class="col-md-8 instr-column">
Expand All @@ -13,14 +13,14 @@ <h1 class="rustup">Install Rust</h1>

<div id="platform-instructions-win" class="instructions" style="display: none;">
<p>
To install Rust, download and run
安装 Rust:下载并运行
<a href="https://win.rustup.rs">rustup&#x2011;init.exe</a>
then follow the onscreen instructions.
然后按照屏幕上的说明进行操作
</p>
</div>

<div id="platform-instructions-android" class="instructions" style="display: none;">
<p>It looks like you are running Android.</p>
<p>您似乎正在安卓(Android)操作系统上浏览本页面</p>
<p>
The Rust compiler does not run on Android directly (yet),
but it does make it easy to cross-compile <em>to</em> Android.
Expand Down Expand Up @@ -59,9 +59,9 @@ <h1 class="rustup">Install Rust</h1>

<div>
<p>
If you are running Windows,<br/>download and run
您正在使用的是 Windows 操作系统<br/>下载并运行
<a href="https://win.rustup.rs">rustup&#x2011;init.exe</a>
then follow the onscreen instructions.
然后按照屏幕上的说明进行操作。
</p>
</div>
</div>
Expand All @@ -72,7 +72,7 @@ <h1 class="rustup">Install Rust</h1>
<div>
<div class="release-version">Rust <span>{{ site.stable }}</span></div>
<a href="{{ site.stable_blog }}">
<div class="release-date">{{ site.stable_date | date: "%B %-d, %Y" }}</div>
<div class="release-date">{{ site.stable_date | date: "%Y 年 %b 月 %-d日" }}</div>
</a>

<br>
Expand Down