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

Commit e83d78e

Browse files
authored
Merge pull request #3 from rust-lang/master
16.10.12.18.8
2 parents c29cbb3 + ceaa9fe commit e83d78e

39 files changed

+4230
-70
lines changed

_data/users.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,11 @@
8282
url: http://ceph.com
8383
logo: ceph.png
8484
how: "Rust <a href='https://github.com/ceph/ceph-rust'>bindings for librbd</a>, an interface into the Ceph storage platform."
85+
-
86+
name: Chef
87+
url: https://www.chef.io/
88+
logo: chef.svg
89+
how: "<a href='https://github.com/chef/delivery-cli'>Chef lets you develop, deploy and manage infrastructure, run-time environments and applications.</a>"
8590
-
8691
name: Coursera
8792
url: https://www.coursera.org
@@ -92,6 +97,11 @@
9297
url: http://www.coturnix.fr/
9398
logo: coturnix.png
9499
how: "Machine learning and optimization for minimizing energy consumption in buildings."
100+
-
101+
name: craft ai
102+
url: http://craft.ai
103+
logo: craftai.png
104+
how: "Our core machine learning engine is written in Rust."
95105
-
96106
name: Dropbox
97107
url: https://www.dropbox.com

_includes/ko-KR/example.rs

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// 여기에서 코드를 수정하고 실행할 수 있습니다!
2+
fn main() {
3+
// 간단한 정수 계산기:
4+
// `+` 또는 `-`는 1을 더하거나 뺍니다
5+
// `*` 또는 `/`는 2를 곱하거나 나눕니다
6+
7+
let program = "+ + * - /";
8+
let mut accumulator = 0;
9+
10+
for token in program.chars() {
11+
match token {
12+
'+' => accumulator += 1,
13+
'-' => accumulator -= 1,
14+
'*' => accumulator *= 2,
15+
'/' => accumulator /= 2,
16+
_ => { /* 다른 문자를 무시 */ }
17+
}
18+
}
19+
20+
println!("프로그램 \"{}\"의 계산값은 {}입니다",
21+
program, accumulator);
22+
}

_includes/ko-KR/example.rs.html

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<pre class='rust'>
2+
<span class='kw'>fn</span> main() {
3+
<span class='comment'>// 간단한 정수 계산기:
4+
// `+` 또는 `-`는 1을 더하거나 뺍니다
5+
// `*` 또는 `/`는 2를 곱하거나 나눕니다</span>
6+
7+
<span class='kw'>let</span> program = <span class='string'>"+ + * - /"</span>;
8+
<span class='kw'>let</span> <span class='kw'>mut</span> accumulator = <span class='number'>0</span>;
9+
10+
<span class='kw'>for</span> token in program.chars() {
11+
<span class='kw'>match</span> token {
12+
<span class='string'>'+'</span> => accumulator <span class='op'>+=</span> <span class='number'>1</span>,
13+
<span class='string'>'-'</span> => accumulator <span class='op'>-=</span> <span class='number'>1</span>,
14+
<span class='string'>'*'</span> => accumulator <span class='op'>*=</span> <span class='number'>2</span>,
15+
<span class='string'>'/'</span> => accumulator <span class='op'>/=</span> <span class='number'>2</span>,
16+
_ => { <span class='comment'>/* 다른 문자를 무시 */</span> }
17+
}
18+
}
19+
20+
<span class='prelude-val'>println!</span>(<span class='string'>"프로그램 \"{}\"의 계산값은 {}입니다"</span>,
21+
program, accumulator);
22+
}
23+
</pre>

_layouts/basic.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,11 @@ <h2><a href="/contribute.html">Contribute</a></h2>
3838

3939
<footer>
4040
<p>Our site in other languages:
41+
<a href="/fr-FR/">Français</a>,
42+
<a href="/ko-KR/">한국어</a>,
4143
<a href="/pt-BR/">Português</a>,
4244
<a href="/ru-RU/">Русский</a>,
43-
<a href="/zh-CN/">简体中文</a>
44-
<a href="/fr-FR/">Français</a>
45+
<a href="/zh-CN/">简体中文</a>
4546
</p>
4647
</footer>
4748

_layouts/fr-FR/basic.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,16 @@ <h2><a href="/fr-FR/contribute.html">Contribuer</a></h2>
3636

3737
{{ content }}
3838

39+
<footer>
40+
<p>Notre site dans d'autres langues&nbsp;:
41+
<a href="/en-US/">English</a>,
42+
<a href="/ko-KR/">한국어</a>,
43+
<a href="/pt-BR/">Português</a>,
44+
<a href="/ru-RU/">Русский</a>,
45+
<a href="/zh-CN/">简体中文</a>
46+
</p>
47+
</footer>
48+
3949
<script>
4050
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
4151
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

_layouts/ko-KR/basic.html

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
<!DOCTYPE html>
2+
<!-- Page last generated {{ site.time }} -->
3+
<html lang="ko">
4+
<head>
5+
<meta charset="utf-8">
6+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
7+
<meta name="viewport" content="width=device-width, initial-scale=1">
8+
<title>{{ page.title }}</title>
9+
<meta name="keywords" content="Rust, Rust 프로그래밍 언어, rustlang, rust-lang, Mozilla Rust, 러스트, Mozilla, 모질라">
10+
<meta name="description" content="매우 빠르며, 세그폴트를 방지하고, 스레드 안전성을 보장하는 시스템 프로그래밍 언어">
11+
12+
<link rel="stylesheet" href="/css/bootstrap.css">
13+
<link rel="stylesheet" href="/css/style.css">
14+
</head>
15+
16+
<body class="container">
17+
<a href="https://github.com/rust-lang/rust">
18+
<img class="ribbon" style="display: none" src="/logos/forkme.png" alt="GitHub에서 포크" width="298" height="298">
19+
</a>
20+
21+
<header>
22+
<ul class="row menu">
23+
<li class="col-xs-12 col-md-2">
24+
<a href="/ko-KR/index.html">
25+
<img class="img-responsive" src="/logos/rust-logo-blk.svg" onerror="this.src='/logos/rust-logo-256x256-blk.png'" height="128" width="128" alt="Rust 로고" />
26+
</a>
27+
</li>
28+
<li class="col-xs-12 col-md-10 menu">
29+
<h2><a href="/ko-KR/documentation.html">문서</a></h2>
30+
<h2><a href="/ko-KR/community.html">커뮤니티</a></h2>
31+
<h2><a href="/ko-KR/downloads.html">다운로드</a></h2>
32+
<h2><a href="/ko-KR/contribute.html">기여하기</a></h2>
33+
</li>
34+
</ul>
35+
</header>
36+
37+
{{ content }}
38+
39+
<footer>
40+
<p>이 사이트를 다른 언어로 보기:
41+
<a href="/en-US/">English</a>,
42+
<a href="/pt-BR/">Português</a>,
43+
<a href="/ru-RU/">Русский</a>,
44+
<a href="/zh-CN/">简体中文</a>,
45+
<a href="/fr-FR/">Français</a>
46+
</p>
47+
</footer>
48+
49+
<script>
50+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
51+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
52+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
53+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
54+
55+
ga('create', 'UA-58390457-1', 'auto');
56+
ga('send', 'pageview');
57+
58+
</script>
59+
</body>
60+
</html>

_layouts/ko-KR/default.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
layout: ko-KR/basic
3+
---
4+
5+
<div class="content">
6+
{{ content }}
7+
</div>

_layouts/ko-KR/faq.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
layout: ko-KR/default
3+
---
4+
5+
<link href='https://fonts.googleapis.com/css?family=Source+Serif+Pro:400,600' rel='stylesheet' type='text/css'>
6+
<link href='/css/syntax-highlight.css' rel='stylesheet' type='text/css'>
7+
8+
<div class="faq">
9+
{{ content }}
10+
</div>

_layouts/pt-BR/basic.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
</a>
2727
</li>
2828
<li class="col-xs-12 col-md-10 menu">
29-
<h2><a href="/documentation.html">Documentação</a></h2>
30-
<h2><a href="/community.html">Comunidade</a></h2>
31-
<h2><a href="/downloads.html">Downloads</a></h2>
32-
<h2><a href="/contribute.html">Contribua</a></h2>
29+
<h2><a href="/pt-BR/documentation.html">Documentação</a></h2>
30+
<h2><a href="/pt-BR/community.html">Comunidade</a></h2>
31+
<h2><a href="/pt-BR/downloads.html">Downloads</a></h2>
32+
<h2><a href="/pt-BR/contribute.html">Contribua</a></h2>
3333
</li>
3434
</ul>
3535
</header>

_layouts/redirect.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
"zh-CN": "zh-CN",
1818
"fr": "fr-FR",
1919
"fr-FR": "fr-FR",
20+
"ko": "ko-KR",
21+
"ko-KR": "ko-KR",
2022
};
2123

2224
// look up the provided language in the map

_layouts/ru-RU/basic.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
</a>
2727
</li>
2828
<li class="col-xs-12 col-md-10 menu">
29-
<h2><a href="/documentation.html">Документация</a></h2>
30-
<h2><a href="/community.html">Сообщество</a></h2>
31-
<h2><a href="/downloads.html">Загрузки</a></h2>
32-
<h2><a href="/contribute.html">Участие</a></h2>
29+
<h2><a href="/ru-RU/documentation.html">Документация</a></h2>
30+
<h2><a href="/ru-RU/community.html">Сообщество</a></h2>
31+
<h2><a href="/ru-RU/downloads.html">Загрузки</a></h2>
32+
<h2><a href="/ru-RU/contribute.html">Участие</a></h2>
3333
</li>
3434
</ul>
3535
</header>

_layouts/zh-CN/basic.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
</a>
2727
</li>
2828
<li class="col-xs-12 col-md-10 menu">
29-
<h2><a href="/documentation.html">文档</a></h2>
30-
<h2><a href="/community.html">社区</a></h2>
31-
<h2><a href="/downloads.html">下载</a></h2>
32-
<h2><a href="/contribute.html">贡献</a></h2>
29+
<h2><a href="/zh-CN/documentation.html">文档</a></h2>
30+
<h2><a href="/zh-CN/community.html">社区</a></h2>
31+
<h2><a href="/zh-CN/downloads.html">下载</a></h2>
32+
<h2><a href="/zh-CN/contribute.html">贡献</a></h2>
3333
</li>
3434
</ul>
3535
</header>
@@ -38,7 +38,9 @@ <h2><a href="/contribute.html">贡献</a></h2>
3838

3939
<footer>
4040
<p>外语页面:
41-
<a href="/en-US/">English</a>,
41+
<a href="/en-US/">English</a>,
42+
<a href="/fr-FR/">Français</a>,
43+
<a href="/ko-KR/">한국어</a>,
4244
<a href="/pt-BR/">Português</a>,
4345
<a href="/ru-RU/">Русский</a>
4446
</p>

fr-FR/documentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Si vous découvrez Rust, la première chose à lire est l'introduction du livre
3131

3232
[La référence Rust][ref]. Bien que Rust n'ait pas de spécification, cette référence tente de décrire en détails son fonctionnement. Ces documents ne sont généralement pas à jour.
3333

34-
[L'index syntaxique][syn]. Cette annexe contient des exemples pour tous les élémennts de syntaxe qui composent Rust ainsi que des références aux portions du livre qui les décrivent.
34+
[L'index syntaxique][syn]. Cette annexe contient des exemples pour tous les éléments de syntaxe qui composent Rust ainsi que des références aux portions du livre qui les décrivent.
3535

3636
[Le guide Cargo][cargo]. La documentation pour Cargo, le gestionnaire de paquet de Rust.
3737

fr-FR/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
<div class="col-md-8">
88
<p class="pitch">
99
<b>Rust</b> est un langage de programmation système ultra-rapide,
10-
qui prévient les erreurs de segmentations
11-
et garantie la sureté entre threads.
10+
qui prévient les erreurs de segmentation
11+
et garantit la sûreté entre threads.
1212
<br/>
13-
<a href="https://doc.rust-lang.org/book/README.html">Montre-moi!</a>
13+
<a href="https://doc.rust-lang.org/book/README.html">Montre-moi&nbsp;!</a>
1414
</p>
1515
</div>
1616
<div class="col-md-4 install-box">
1717
<span class="version-rec-box-inner">
18-
Version recommandée:<br>
18+
Version recommandée&nbsp;:<br>
1919
<span id="install-version">
2020
{{ site.stable }}
2121
(<span>source</span>)
@@ -33,7 +33,7 @@ <h2>Fonctionnalités</h2>
3333
<ul class="laundry-list">
3434
<li>abstractions sans coût</li>
3535
<li>sémantique de mouvement</li>
36-
<li>garantie de sureté de la mémoire</li>
36+
<li>garantie de sûreté de la mémoire</li>
3737
<li>fils d’exécution sans accès concurrent</li>
3838
<li>généricité avec les <i>traits</i></li>
3939
<li>filtrage par motif</li>

0 commit comments

Comments
 (0)