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

Fixed language codes for fr-FR and es-ES #682

Merged
merged 2 commits into from
Jan 12, 2017
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
File renamed without changes.
4 changes: 2 additions & 2 deletions _layouts/basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ <h2><a href="/en-US/contribute.html">Contribute</a></h2>

<footer>
<p>Our site in other languages:
<a href="/es/">Español</a>,
<a href="/fr/">Français</a>,
<a href="/es-ES/">Español</a>,
<a href="/fr-FR/">Français</a>,
<a href="/ja-JP/">日本語</a>,
<a href="/ko-KR/">한국어</a>,
<a href="/pt-BR/">Português</a>,
Expand Down
63 changes: 63 additions & 0 deletions _layouts/es-ES/basic.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<!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.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="/en-US/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">Documentation</a></h2>
<h2><a href="/en-US/install.html">Install</a></h2>
<h2><a href="/en-US/community.html">Community</a></h2>
<h2><a href="/en-US/contribute.html">Contribute</a></h2>
</li>
</ul>
</header>

{{ content }}

<footer>
<p>Our site in other languages:
<a href="/es-ES/">Español</a>,
<a href="/fr-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="/vi-VN/">Tiếng việt</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>
2 changes: 1 addition & 1 deletion _layouts/fr/default.html → _layouts/es-ES/default.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: fr/basic
layout: es-ES/basic
---

<div class="content">
Expand Down
14 changes: 7 additions & 7 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 @@ -43,7 +43,7 @@ <h2><a href="/fr/contribute.html">Contribuer</a></h2>
<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="/vi-VN/">Tiếng việt</a>,
<a href="/zh-CN/">简体中文</a>
</p>
</footer>
Expand Down
7 changes: 7 additions & 0 deletions _layouts/fr-FR/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
layout: fr-FR/basic
---

<div class="content">
{{ content }}
</div>
6 changes: 3 additions & 3 deletions _layouts/ja-JP/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="ja">
<html lang="ja-JP">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
Expand Down Expand Up @@ -38,8 +38,8 @@ <h2><a href="/en-US/contribute.html">開発に参加する</a></h2>

<footer>
<p>他の言語のページ:
<a href="/en-US/">English</a>,
<a href="/fr/">Français</a>,
<a href="/en-US/">English</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>,
Expand Down
4 changes: 2 additions & 2 deletions _layouts/ko-KR/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="ko">
<html lang="ko-KR">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
Expand Down Expand Up @@ -39,7 +39,7 @@ <h2><a href="/ko-KR/contribute.html">기여하기</a></h2>
<footer>
<p>이 사이트를 다른 언어로 보기:
<a href="/en-US/">English</a>,
<a href="/fr/">Français</a>,
<a href="/fr-FR/">Français</a>,
<a href="/ja-JP/">日本語</a>,
<a href="/pt-BR/">Português</a>,
<a href="/ru-RU/">Русский</a>,
Expand Down
2 changes: 1 addition & 1 deletion _layouts/pt-BR/basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ <h2><a href="/pt-BR/contribute.html">Contribua</a></h2>
<footer>
<p>Nosso site em outros idiomas:
<a href="/en-US/">English</a>,
<a href="/fr/">Français</a>,
<a href="/fr-FR/">Français</a>,
<a href="/ja-JP/">日本語</a>,
<a href="/ko-KR/">한국어</a>,
<a href="/ru-RU/">Русский</a>,
Expand Down
4 changes: 2 additions & 2 deletions _layouts/ru-RU/basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ <h2><a href="/ru-RU/contribute.html">Участие</a></h2>
</header>

{{ content }}

<footer>
<p>Наш сайт на других языках:
<a href="/en-US/">English</a>,
<a href="/fr/">Français</a>,
<a href="/fr-FR/">Français</a>,
<a href="/ja-JP/">日本語</a>,
<a href="/ko-KR/">한국어</a>,
<a href="/pt-BR/">Português</a>,
Expand Down
2 changes: 1 addition & 1 deletion _layouts/vi-VN/basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ <h2><a href="/vi-VN/contribute.html">Đóng góp</a></h2>
<footer>
<p>Our site in other languages:
<a href="/en-US/">English</a>,
<a href="/fr/">Français</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>,
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 @@ -39,7 +39,7 @@ <h2><a href="/zh-CN/contribute.html">贡献</a></h2>
<footer>
<p>本土化页面:
<a href="/en-US/">English</a>,
<a href="/fr/">Français</a>,
<a href="/fr-FR/">Français</a>,
<a href="/ja-JP/">日本語</a>,
<a href="/ko-KR/">한국어</a>,
<a href="/pt-BR/">Português</a>,
Expand Down
2 changes: 1 addition & 1 deletion es/community.md → es-ES/community.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: es/default
layout: es-ES/default
title: La comunidad de Rust &middot; El lenguaje de programación Rust
---

Expand Down
2 changes: 1 addition & 1 deletion es/conduct.md → es-ES/conduct.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: es/default
layout: es-ES/default
title: El código de conducta de Rust &middot; El lenguaje de programación Rust
---

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion es/documentation.md → es-ES/documentation.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: es/default
layout: es-ES/default
title: Documentación de Rust &middot; El lenguaje de programación Rust
---

Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion es/friends.html → es-ES/friends.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: es/basic
layout: es-ES/basic
title: Amigos de Rust &middot; El lenguaje de programación Rust
---

Expand Down
2 changes: 1 addition & 1 deletion es/index.html → es-ES/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: es/basic
layout: es-ES/basic
title: El lenguaje de programación Rust
---

Expand Down
4 changes: 2 additions & 2 deletions es/install.html → es-ES/install.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: es/default
layout: es-ES/default
title: Instalación &middot; El lenguaje de programación Rust
---
<h1 class="rustup">Instalar Rust</h1>
Expand All @@ -19,7 +19,7 @@ <h1 class="rustup">Instalar Rust</h1>
</p>
</div>

<div id="platform-instructions-android" class="instructions" style="display: none;">
<div id="platform-instructions-android" class="instructions" style="display: none;">
<p>Parece que estas ejecutando Android.</p>
<p>
The Rust compiler does not run on Android directly (yet),
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion es/team.md → es-ES/team.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: es/default
layout: es-ES/default
title: El equipo de Rust &middot; El lenguaje de programación de Rust
---

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion fr/community.md → fr-FR/community.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: fr/default
layout: fr-FR/default
title: La communauté Rust &middot; Rust, le langage de programmation
---

Expand Down
2 changes: 1 addition & 1 deletion fr/conduct.md → fr-FR/conduct.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: fr/default
layout: fr-FR/default
title: Code de conduite Rust &middot; Rust, le langage de programmation
---

Expand Down
2 changes: 1 addition & 1 deletion fr/contribute-bugs.md → fr-FR/contribute-bugs.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: fr/default
layout: fr-FR/default
title: Contribuer à Rust &mdash; trouver, trier et corriger les problèmes &middot; Rust, le langage de programmation
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: fr/default
layout: fr-FR/default
title: Contribuer à Rust &mdash; construire la communauté &middot; Rust, le langage de programmation
---

Expand Down
2 changes: 1 addition & 1 deletion fr/contribute-compiler.md → fr-FR/contribute-compiler.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: fr/default
layout: fr-FR/default
title: Contribuer à Rust &mdash; le langage, le compilateur et la bibliothèque standard &middot; Rust, le langage de programmation
---

Expand Down
2 changes: 1 addition & 1 deletion fr/contribute-docs.md → fr-FR/contribute-docs.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: fr/default
layout: fr-FR/default
title: Contribuer à Rust &mdash; la documentation &middot; Rust, le langage de programmation
---

Expand Down
2 changes: 1 addition & 1 deletion fr/contribute-libs.md → fr-FR/contribute-libs.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: fr/default
layout: fr-FR/default
title: Contribuer à Rust &mdash; les bibliothèques &middot; Rust, le langage de programmation
---

Expand Down
2 changes: 1 addition & 1 deletion fr/contribute-tools.md → fr-FR/contribute-tools.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: fr/default
layout: fr-FR/default
title: Contribuer à Rust &mdash; les outils, les EDI et l'infrastructure &middot; Rust, le langage de programmation
---

Expand Down
2 changes: 1 addition & 1 deletion fr/contribute.md → fr-FR/contribute.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: fr/default
layout: fr-FR/default
title: Contribuer à Rust &middot; Rust, le langage de programmation
---

Expand Down
2 changes: 1 addition & 1 deletion fr/documentation.md → fr-FR/documentation.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: fr/default
layout: fr-FR/default
title: La documentation Rust &middot; Rust, le langage de programmation
---

Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion fr/friends.html → fr-FR/friends.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: fr/basic
layout: fr-FR/basic
title: Amis de Rust &middot; Rust, le langage de programmation
---

Expand Down
6 changes: 3 additions & 3 deletions fr/index.html → fr-FR/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: fr/basic
layout: fr-FR/basic
title: Langage de programmation Rust
---
<!-- -->
Expand Down Expand Up @@ -39,12 +39,12 @@ <h2>Fonctionnalités</h2>
<div class="col-md-8">
<div id="active-code">
<button type="button" class="btn btn-primary btn-sm" id="run-code">Exécuter</button>
<div id="editor">{% include fr/example.rs %}</div>
<div id="editor">{% include fr-FR/example.rs %}</div>
<div id="result">
<a id="playlink"><i class="icon-link-ext"></i></a>
</div>
</div>
<div id="static-code">{% include fr/example.rs.html %}</div>
<div id="static-code">{% include fr-FR/example.rs.html %}</div>
<div class="more-examples">
<a href="http://rustbyexample.com/">Plus d’exemples</a>
</div>
Expand Down
Loading