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

Swedish translation #972

Merged
merged 7 commits into from
Nov 14, 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
4 changes: 3 additions & 1 deletion _includes/example.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ fn main() {
let greetings = ["Hello", "Hola", "Bonjour",
"Ciao", "こんにちは", "안녕하세요",
"Cześć", "Olá", "Здравствуйте",
"Chào bạn", "您好", "Hallo"];
"Chào bạn", "您好", "Hallo",
"Hej"];

for (num, greeting) in greetings.iter().enumerate() {
print!("{} : ", greeting);
Expand All @@ -19,6 +20,7 @@ fn main() {
9 => println!("Bạn có thể edit và run code trực tiếp!"),
10 => println!("这段代码是可以编辑并且能够运行的!"),
11 => println!("Dieser Code kann bearbeitet und ausgeführt werden!"),
12 => println!("Den här koden kan redigeras och köras!"),
_ => {},
}
}
Expand Down
1 change: 1 addition & 0 deletions _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
<a href="/pl-PL/">Polski</a>,
<a href="/pt-BR/">Português</a>,
<a href="/ru-RU/">Русский</a>,
<a href="/sv-SE/">Svenska</a>,
<a href="/vi-VN/">Tiếng việt</a>,
<a href="/zh-CN/">简体中文</a>
2 changes: 2 additions & 0 deletions _layouts/redirect.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
"vi-VN": "vi-VN",
"id": "id-ID",
"id-ID": "id-ID",
"sv": "sv-SE",
"sv-SE": "sv-SE",
};

// look up the provided language in the map
Expand Down
59 changes: 59 additions & 0 deletions _layouts/sv-SE/basic.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
<!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, programmeringsspråket rust, rustlang, rust-lang, Mozilla Rust">
<meta name="description" content="Ett systemprogrammeringsspråk som kör blixtsnabbt, förhindrar segmenteringsfel och garanterar trådsäkerhet.">

<link rel="stylesheet" href="/css/bootstrap.css">
<link rel="stylesheet" href="/css/style.css">
{% for css_name in page.extra_css %}
<link rel="stylesheet" href="/css/{{ css_name }}">
{% endfor %}
</head>

<body class="container">
<a href="https://github.com/rust-lang/rust">
<img class="ribbon" style="display: none" src="/logos/forkme.svg" alt="Forka mig på GitHub" width="298" height="298">
</a>

<header>
<ul class="row menu">
<li class="col-xs-12 col-md-2">
<a href="/sv-SE/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="Rusts logotyp" />
</a>
</li>
<li class="col-xs-12 col-md-10 menu">
<h2><a href="/sv-SE/documentation.html">Dokumentation</a></h2>
<h2><a href="/sv-SE/install.html">Installation</a></h2>
<h2><a href="/sv-SE/community.html">Community</a></h2>
<h2><a href="/sv-SE/contribute.html">Bidra</a></h2>
</li>
</ul>
</header>

{{ content }}

<footer>
<p>Vår webbsida på andra språk:
{% include footer.html %}
</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/sv-SE/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
layout: sv-SE/basic
---

<div class="content">
{{ content }}
</div>
10 changes: 10 additions & 0 deletions _layouts/sv-SE/faq.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
layout: sv-SE/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>
1 change: 1 addition & 0 deletions de-DE/community.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ Das Entwicklerteam von Rust koordiniert sich in [#rust-internals][internals_irc]
- [#rust-es][es_irc] es para una discusión general sobre Rust en español
- [#rust-fr][fr_irc] est dédié à la programmation en Rust en français
- [#rust-ru][ru_irc] для общих дискуссий о Rust на русском языке
- [#rust-sv](https://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust-sv) är för allmän diskussion om Rust på svenska
- [Rust中文][cn_org] Rust 语言中文 Chat 社区(非IRC频道)

### Teamkanäle (Englisch)
Expand Down
1 change: 1 addition & 0 deletions en-US/community.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ to ask questions about contributing to Rust.
- [#rust-es][es_irc] es para una discusión general sobre Rust en español
- [#rust-fr][fr_irc] est dédié à la programmation en Rust en français
- [#rust-ru][ru_irc] для общих дискуссий о Rust на русском языке
- [#rust-sv](https://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust-sv) är för allmän diskussion om Rust på svenska
- [Rust中文][cn_org] Rust 语言中文 Chat 社区(非IRC频道)

### Team channels
Expand Down
1 change: 1 addition & 0 deletions es-ES/community.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ adecuado para preguntas sobre como contribuir con Rust.
- [#rust-de][de_irc] ist für die allgemeine Diskussion über Rust auf Deutsch
- [#rust-es][es_irc] es para una discusión general sobre Rust en español
- [#rust-fr][fr_irc] est dédié à la programmation en Rust en français
- [#rust-sv](https://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust-sv) är för allmän diskussion om Rust på svenska
- [#rust-ru][ru_irc] для общих дискуссий о Rust на русском языке

### Canales de temas específicos
Expand Down
1 change: 1 addition & 0 deletions fr-FR/community.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ Les développeurs de Rust échangent sur [#rust-internals][internals_irc]. Ce ca
- [#rust-de][de_irc] ist für die allgemeine Diskussion über Rust auf Deutsch
- [#rust-es][es_irc] es para una discusión general sobre Rust en español
- [#rust-fr][fr_irc] est dédié à la programmation en Rust en français
- [#rust-sv](https://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust-sv) är för allmän diskussion om Rust på svenska
- [#rust-ru][ru_irc] для общих дискуссий о Rust на русском языке

### Les canaux thématiques
Expand Down
1 change: 1 addition & 0 deletions id-ID/community.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ mengajukan pertanyaan tentang berkontribusi pada Rust.
- [#rust-es][es_irc] es para una discusión general sobre Rust en español
- [#rust-fr][fr_irc] est dédié à la programmation en Rust en français
- [#rust-ru][ru_irc] для общих дискуссий о Rust на русском языке
- [#rust-sv](https://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust-sv) är för allmän diskussion om Rust på svenska
- [Rust中文][cn_org] Rust 语言中文 Chat 社区(非IRC频道)

### Saluran Tim
Expand Down
1 change: 1 addition & 0 deletions it-IT/community.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ Gli sviluppatori di Rust si organizzano su [#rust-internals][internals_irc]. Ded
- [#rust-es][es_irc] es para una discusión general sobre Rust en español
- [#rust-fr][fr_irc] est dédié à la programmation en Rust en français
- [#rust-ru][ru_irc] для общих дискуссий о Rust на русском языке
- [#rust-sv](https://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust-sv) är för allmän diskussion om Rust på svenska

### Canali specifici

Expand Down
1 change: 1 addition & 0 deletions ja-JP/community.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ Rust自体の開発についてリアルタイムで議論するための場で
- [#rust-es][es_irc] es para una discusión general sobre Rust en español
- [#rust-fr][fr_irc] est dédié à la programmation en Rust en français
- [#rust-ru][ru_irc] для общих дискуссий о Rust на русском языке
- [#rust-sv](https://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust-sv) är för allmän diskussion om Rust på svenska

### トピック別チャネル

Expand Down
1 change: 1 addition & 0 deletions ko-KR/community.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ Rust에 기여하는 데 대한 질문을 하는 데도 쓰입니다.
- [#rust-es][es_irc] es para una discusión general sobre Rust en español
- [#rust-fr][fr_irc] est dédié à la programmation en Rust en français
- [#rust-ru][ru_irc] для общих дискуссий о Rust на русском языке
- [#rust-sv](https://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust-sv) är för allmän diskussion om Rust på svenska
- [Rust中文][cn_org] Rust 语言中文 Chat 社区(非IRC频道)

### 팀 채널
Expand Down
1 change: 1 addition & 0 deletions pl-PL/community.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ Służy także do zadawania pytań o sposoby zaangażowania się w rozwój Rusta
- [#rust-es][es_irc] es para una discusión general sobre Rust en español
- [#rust-fr][fr_irc] est dédié à la programmation en Rust en français
- [#rust-ru][ru_irc] для общих дискуссий о Rust на русском языке
- [#rust-sv](https://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust-sv) är för allmän diskussion om Rust på svenska

### Kanały tematyczne

Expand Down
1 change: 1 addition & 0 deletions pt-BR/community.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ perguntar questões sobre contribuir para o Rust.
- [#rust-es][es_irc] es para una discusión general sobre Rust en español
- [#rust-fr][fr_irc] est dédié à la programmation en Rust en français
- [#rust-ru][ru_irc] для общих дискуссий о Rust на русском языке
- [#rust-sv](https://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust-sv) är för allmän diskussion om Rust på svenska

### Canais sobre tópicos

Expand Down
1 change: 1 addition & 0 deletions ru-RU/community.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ title: Сообщество Rust &middot; Язык Программирован
- [#rust-es][es_irc] es para una discusión general sobre Rust en español
- [#rust-fr][fr_irc] est dédié à la programmation en Rust en français
- [#rust-ru][ru_irc] для общих дискуссий о Rust на русском языке
- [#rust-sv](https://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust-sv) är för allmän diskussion om Rust på svenska

### Тематические каналы (англ.)

Expand Down
Loading