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

Fix French translation. #659

Closed
wants to merge 48 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
d087902
Update community.md
ValentinNikolaev Sep 23, 2016
d0925c6
Update community.md
ValentinNikolaev Sep 23, 2016
0e13f93
Merge pull request #5 from ValentinNikolaev/patch-1
mkpankov Sep 23, 2016
2aa07ad
Fix according to review
mkpankov Sep 24, 2016
88a917d
Translate to Spanish: index
alx741 Dec 22, 2016
d6c8fc2
Translate to Spanish: install
alx741 Dec 22, 2016
cdd68c6
Add redirect to viet nam version
Dec 21, 2016
9b2b616
Add Vietnam translation
Dec 21, 2016
d56488b
Edit
Dec 21, 2016
3323df2
Add link vi-VN before zh-CN
Dec 21, 2016
e56c581
Частично переводим страницу установки на русский
mkpankov Dec 23, 2016
e0e55e9
Merge remote-tracking branch 'rurust/master'
mkpankov Dec 23, 2016
180ae51
Translate to Spanish: friends
alx741 Dec 23, 2016
961a763
Merge pull request #15 from rust-lang/master
3442853561 Dec 29, 2016
661bf1c
Switched fr locale to fr-FR
Dec 31, 2016
6c106a2
Fixed links
Dec 31, 2016
fcf7000
Fix minor nitpick in the FAQ
Dec 31, 2016
395df54
16.12.31
3442853561 Dec 31, 2016
d3e0fb9
fix(font): use Mozilla CDN to fix bugs associated with Fira Font
ashleygwilliams Jan 2, 2017
0cc1d5b
fix(css): include all Mozilla CDN font files locally
ashleygwilliams Jan 2, 2017
f95467e
Add 360dialog
steveklabnik Jan 2, 2017
64eb543
fixed something
3442853561 Jan 3, 2017
c5dc740
Merge pull request #668 from 3442853561/中文17.1.3
nikomatsakis Jan 3, 2017
860b891
Merge pull request #651 from alx741/spanish
brson Jan 3, 2017
6299909
Merge pull request #665 from ashleygwilliams/mozilla-cdn-fira
brson Jan 3, 2017
48e8fe2
Update french translation of install.html
crowdagger Jan 4, 2017
acab741
Merge pull request #667 from steveklabnik/gh666
brson Jan 5, 2017
b3b9716
Update onesignal blog
brson Jan 5, 2017
467c7cb
Merge pull request #672 from brson/ones
steveklabnik Jan 5, 2017
489df4a
Merge pull request #671 from lise-henry/master
nikomatsakis Jan 5, 2017
618f662
Add SmartThings to friends page
nastevens Jan 6, 2017
93836ee
Merge pull request #674 from nastevens/add-smartthings-friend
steveklabnik Jan 6, 2017
e653b41
Specify correct logo email in _data/users.yml
nastevens Jan 6, 2017
b43d3ce
Merge pull request #675 from nastevens/fix-rust-users-email-address
steveklabnik Jan 6, 2017
b6f4062
Merge pull request #648 from hngiang/master
steveklabnik Jan 10, 2017
ca0671e
Merge pull request #653 from ruRust/master
steveklabnik Jan 10, 2017
c895374
Merge pull request #660 from nc-x/master
steveklabnik Jan 10, 2017
09ee1ea
Merge pull request #662 from 3442853561/日本語16.12.31
steveklabnik Jan 10, 2017
950996d
Translate to Spanish: community
alx741 Dec 29, 2016
189334f
Translate to Spanish: home page
alx741 Jan 3, 2017
e932734
Translate to Spanish: team
alx741 Jan 3, 2017
844ea6a
Translate to Spanish: documentation
alx741 Jan 3, 2017
99c522a
Translate to Spanish: conduct
alx741 Jan 3, 2017
c06f89c
Add Spanish directory extra files
alx741 Jan 10, 2017
9bea5e3
Merge pull request #670 from alx741/spanish
steveklabnik Jan 10, 2017
585fb46
Switched fr locale to fr-FR
Dec 31, 2016
82a24ac
Fixed links
Dec 31, 2016
e266b37
Resolve merge
Jan 11, 2017
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
14 changes: 12 additions & 2 deletions _data/users.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# the name and email of a contact within your organization who the
# Rust team can contact should we need to make changes to the web
# page. You may either do this on the pull request itself, or
# alternately email rust-logos@rust-lang.org with the subject line
# alternately email user-logos@rust-lang.org with the subject line
# "Rust User Logo Contact". This information will be kept private.

# Logos will be displayed against a white background and constrained
Expand All @@ -27,6 +27,11 @@
url: https://1aim.com/
logo: 1aim.svg
how: "Modern, secure and universal access management."
-
name: 360dialog
url: http://www.360dialog.com
logo: 360dialog.png
how: "Most of our service consumers are written with Rust."
-
name: 3DR
url: https://3dr.com/
Expand Down Expand Up @@ -196,7 +201,7 @@
name: OneSignal
url: https://onesignal.com
logo: onesignal.svg
how: "High volume, cross platform push notification <a href='https://onesignal.com/blog/announcing-our-new-delivery-backend/'>delivery</a>."
how: "High volume, cross platform push notification <a href='https://onesignal.com/blog/rust-at-onesignal/'>delivery</a>."
-
name: OVH
url: https://www.ovh.com
Expand Down Expand Up @@ -232,6 +237,11 @@
url: http://www.slowtec.de/
logo: slowtec.svg
how: "Our robust & reliable automation systems are entirely written in Rust."
-
name: SmartThings
url: http://www.smartthings.com/
logo: smartthings.png
how: "Memory-safe embedded applications on our <a href='https://www.smartthings.com/how-it-works'>SmartThings Hub</a> and supporting services in the cloud."
-
name: Snips
url: https://snips.ai/
Expand Down
22 changes: 22 additions & 0 deletions _includes/ja-JP/example.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// This code is editable and runnable!
fn main() {
// A simple integer calculator:
// `+` or `-` means add or subtract by 1
// `*` or `/` means multiply or divide by 2

let program = "+ + * - /";
let mut accumulator = 0;

for token in program.chars() {
match token {
'+' => accumulator += 1,
'-' => accumulator -= 1,
'*' => accumulator *= 2,
'/' => accumulator /= 2,
_ => { /* ignore everything else */ }
}
}

println!("The program \"{}\" calculates the value {}",
program, accumulator);
}
23 changes: 23 additions & 0 deletions _includes/ja-JP/example.rs.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<pre class='rust'>
<span class='kw'>fn</span> main() {
<span class='comment'>// A simple integer calculator:
// `+` or `-` means add or subtract by 1
// `*` or `/` means multiply or divide by 2</span>

<span class='kw'>let</span> program = <span class='string'>"+ + * - /"</span>;
<span class='kw'>let</span> <span class='kw'>mut</span> accumulator = <span class='number'>0</span>;

<span class='kw'>for</span> token in program.chars() {
<span class='kw'>match</span> token {
<span class='string'>'+'</span> => accumulator <span class='op'>+=</span> <span class='number'>1</span>,
<span class='string'>'-'</span> => accumulator <span class='op'>-=</span> <span class='number'>1</span>,
<span class='string'>'*'</span> => accumulator <span class='op'>*=</span> <span class='number'>2</span>,
<span class='string'>'/'</span> => accumulator <span class='op'>/=</span> <span class='number'>2</span>,
_ => { <span class='comment'>/* ignore everything else */</span> }
}
}

<span class='prelude-val'>println!</span>(<span class='string'>"The program \"{}\" calculates the value {}"</span>,
program, accumulator);
}
</pre>
5 changes: 4 additions & 1 deletion _layouts/basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,13 @@ <h2><a href="/en-US/contribute.html">Contribute</a></h2>

<footer>
<p>Our site in other languages:
<a href="/fr/">Français</a>,
<a href="/es/">Español</a>,
<a href="/ja-JP/">日本語</a>,
<a href="/fr-FR/">Français</a>,
<a href="/ko-KR/">한국어</a>,
<a href="/pt-BR/">Português</a>,
<a href="/ru-RU/">Русский</a>,
<a href="/vi-VN/">Tiếng việt</a>,
<a href="/zh-CN/">简体中文</a>
</p>
</footer>
Expand Down
14 changes: 8 additions & 6 deletions _layouts/fr/basic.html → _layouts/fr-FR/basic.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<!-- Page last generated {{ site.time }} -->
<html lang="fr">
<html lang="fr-FR">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
Expand All @@ -21,15 +21,15 @@
<header>
<ul class="row menu">
<li class="col-xs-12 col-md-2">
<a href="/fr/index.html">
<a href="/fr-FR/index.html">
<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 logo" />
</a>
</li>
<li class="col-xs-12 col-md-10 menu">
<h2><a href="/fr/documentation.html">Documentation</a></h2>
<h2><a href="/fr/install.html">Install</a></h2>
<h2><a href="/fr/community.html">Communauté</a></h2>
<h2><a href="/fr/contribute.html">Contribuer</a></h2>
<h2><a href="/fr-FR/documentation.html">Documentation</a></h2>
<h2><a href="/fr-FR/install.html">Install</a></h2>
<h2><a href="/fr-FR/community.html">Communauté</a></h2>
<h2><a href="/fr-FR/contribute.html">Contribuer</a></h2>
</li>
</ul>
</header>
Expand All @@ -39,9 +39,11 @@ <h2><a href="/fr/contribute.html">Contribuer</a></h2>
<footer>
<p>Notre site dans d'autres langues&nbsp;:
<a href="/en-US/">English</a>,
<a href="/ja-JP/">日本語</a>,
<a href="/ko-KR/">한국어</a>,
<a href="/pt-BR/">Português</a>,
<a href="/ru-RU/">Русский</a>,
<a href="/vi-VN/">Tiếng việt</a>,
<a href="/zh-CN/">简体中文</a>
</p>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion _layouts/fr/default.html → _layouts/fr-FR/default.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: fr/basic
layout: fr-FR/basic
---

<div class="content">
Expand Down
61 changes: 61 additions & 0 deletions _layouts/ja-JP/basic.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<!DOCTYPE html>
<!-- Page last generated {{ site.time }} -->
<html lang="ja">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ page.title }}</title>
<meta name="keywords" content="Rust, Rust言語, rustlang, rust-lang, Mozilla Rust">
<meta name="description" content="Rustは速度、安全性、並行性の3つのゴールにフォーカスしたシステムプログラミング言語です。">

<link rel="stylesheet" href="/css/bootstrap.css">
<link rel="stylesheet" href="/css/style.css">
</head>

<body class="container">
<a href="https://github.com/rust-lang/rust">
<img class="ribbon" style="display: none" src="/logos/forkme.png" alt="Fork me on GitHub" width="298" height="298">
</a>

<header>
<ul class="row menu">
<li class="col-xs-12 col-md-2">
<a href="/ja-JP/index.html">
<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 logo" />
</a>
</li>
<li class="col-xs-12 col-md-10 menu">
<h2><a href="/en-US/documentation.html">ドキュメンテーション</a></h2>
<h2><a href="/en-US/install.html">インストール</a></h2>
<h2><a href="/en-US/community.html">コミュニティ</a></h2>
<h2><a href="/en-US/contribute.html">開発に参加する</a></h2>
</li>
</ul>
</header>

{{ content }}

<footer>
<p>他の言語のページ:
<a href="/en-US/">English</a>,
<a href="/fr/">Français</a>,
<a href="/ko-KR/">한국어</a>,
<a href="/pt-BR/">Português</a>,
<a href="/ru-RU/">Русский</a>,
<a href="/zh-CN/">简体中文</a>
</p>
</footer>

<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-58390457-1', 'auto');
ga('send', 'pageview');

</script>
</body>
</html>
7 changes: 7 additions & 0 deletions _layouts/ja-JP/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
layout: ja-JP/basic
---

<div class="content">
{{ content }}
</div>
10 changes: 10 additions & 0 deletions _layouts/ja-JP/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: 2 additions & 0 deletions _layouts/ko-KR/basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,10 @@ <h2><a href="/ko-KR/contribute.html">기여하기</a></h2>
<p>이 사이트를 다른 언어로 보기:
<a href="/en-US/">English</a>,
<a href="/fr/">Français</a>,
<a href="/ja-JP/">日本語</a>,
<a href="/pt-BR/">Português</a>,
<a href="/ru-RU/">Русский</a>,
<a href="/vi-VN/">Tiếng việt</a>,
<a href="/zh-CN/">简体中文</a>
</p>
</footer>
Expand Down
2 changes: 2 additions & 0 deletions _layouts/pt-BR/basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,10 @@ <h2><a href="/pt-BR/contribute.html">Contribua</a></h2>
<p>Nosso site em outros idiomas:
<a href="/en-US/">English</a>,
<a href="/fr/">Français</a>,
<a href="/ja-JP/">日本語</a>,
<a href="/ko-KR/">한국어</a>,
<a href="/ru-RU/">Русский</a>,
<a href="/vi-VN/">Tiếng việt</a>,
<a href="/zh-CN/">简体中文</a>
</p>
</footer>
Expand Down
4 changes: 2 additions & 2 deletions _layouts/redirect.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
var languages = {
"en": "en-US",
"en-US": "en-US",
"fr": "fr",
"fr-FR": "fr", // Prevents 404 on existing links
"fr": "fr-FR",
"fr-FR": "fr-FR",
"ko": "ko-KR",
"ko-KR": "ko-KR",
"pt": "pt-BR", // For now, since there's no pt-PT page, redirect to pt-BR
Expand Down
4 changes: 3 additions & 1 deletion _layouts/ru-RU/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="/ru-RU/documentation.html">Документация</a></h2>
<h2><a href="/ru-RU/install.html">Install</a></h2>
<h2><a href="/ru-RU/install.html">Установка</a></h2>
<h2><a href="/ru-RU/community.html">Сообщество</a></h2>
<h2><a href="/ru-RU/contribute.html">Участие</a></h2>
</li>
Expand All @@ -40,8 +40,10 @@ <h2><a href="/ru-RU/contribute.html">Участие</a></h2>
<p>Наш сайт на других языках:
<a href="/en-US/">English</a>,
<a href="/fr/">Français</a>,
<a href="/ja-JP/">日本語</a>,
<a href="/ko-KR/">한국어</a>,
<a href="/pt-BR/">Português</a>,
<a href="/vi-VN/">Tiếng việt</a>,
<a href="/zh-CN/">简体中文</a>
</p>
</footer>
Expand Down
61 changes: 61 additions & 0 deletions _layouts/vi-VN/basic.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<!DOCTYPE html>
<!-- Page last generated {{ site.time }} -->
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ page.title }}</title>
<meta name="keywords" content="Rust, Rust programming language, rustlang, rust-lang, Mozilla Rust">
<meta name="description" content="A systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety.">

<link rel="stylesheet" href="/css/bootstrap.css">
<link rel="stylesheet" href="/css/style-vi.css">
</head>

<body class="container">
<a href="https://github.com/rust-lang/rust">
<img class="ribbon" style="display: none" src="/logos/forkme.png" alt="Fork me on GitHub" width="298" height="298">
</a>

<header>
<ul class="row menu">
<li class="col-xs-12 col-md-2">
<a href="/vi-VN/index.html">
<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 logo" />
</a>
</li>
<li class="col-xs-12 col-md-10 menu">
<h2><a href="/vi-VN/documentation.html">Tài liệu</a></h2>
<h2><a href="/vi-VN/install.html">Cài đặt</a></h2>
<h2><a href="/vi-VN/community.html">Cộng đồng</a></h2>
<h2><a href="/vi-VN/contribute.html">Đóng góp</a></h2>
</li>
</ul>
</header>

{{ content }}

<footer>
<p>Our site in other languages:
<a href="/en-US/">English</a>,
<a href="/fr/">Français</a>,
<a href="/ko-KR/">한국어</a>,
<a href="/pt-BR/">Português</a>,
<a href="/ru-RU/">Русский</a>,
<a href="/zh-CN/">简体中文</a>
</p>
</footer>

<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-58390457-1', 'auto');
ga('send', 'pageview');

</script>
</body>
</html>
7 changes: 7 additions & 0 deletions _layouts/vi-VN/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
layout: vi-VN/basic
---

<div class="content">
{{ content }}
</div>
4 changes: 3 additions & 1 deletion _layouts/zh-CN/basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,11 @@ <h2><a href="/zh-CN/contribute.html">贡献</a></h2>
<p>本土化页面:
<a href="/en-US/">English</a>,
<a href="/fr/">Français</a>,
<a href="/ja-JP/">日本語</a>,
<a href="/ko-KR/">한국어</a>,
<a href="/pt-BR/">Português</a>,
<a href="/ru-RU/">Русский</a>
<a href="/ru-RU/">Русский</a>,
<a href="/vi-VN/">Tiếng việt</a>
</p>
</footer>

Expand Down
2 changes: 1 addition & 1 deletion _layouts/zh-CN/faq.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: default
layout: zh-CN/default
---

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