Skip to content

Add nomicon translate for zh-CN and fix dead links #1617

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 14, 2021
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: 4 additions & 0 deletions locales/en-US/learn.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ learn-rustlings = Alternatively, Rustlings guides you through downloading and se
learn-rustlings-button = Do the Rustlings course!
learn-rbe = If reading multiple hundreds of pages about a language isn’t your style, then Rust By Example has you covered. While the book talks about code with a lot of words, RBE shows off a bunch of code, and keeps the talking to a minimum. It also includes exercises!
learn-rbe-button = Check out Rust by Example!
translated-rbe = {""}
translated-rbe-button = {""}

learn-use = Grow with Rust

Expand Down Expand Up @@ -59,6 +61,8 @@ learn-reference-button = Read the reference
learn-nomicon-alt = Two hands cradling fire
learn-nomicon = The Rustonomicon is your guidebook to the dark arts of unsafe Rust. It’s also sometimes called “the ’nomicon.”
learn-nomicon-button = Read the ’nomicon
translated-nomicon = { "" }
translated-nomicon-button = { "" }

learn-unstable-alt = A hand sharing sparkles
learn-unstable = The Unstable Book has documentation for unstable features that you can only use with nightly Rust.
Expand Down
4 changes: 4 additions & 0 deletions locales/es/learn.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ learn-rustlings = Como alternativa, Rustlings te guía en la descarga y la confi
learn-rustlings-button = ¡Haz el curso Rustlings!
learn-rbe = Si leer cientos de páginas sobre un lenguaje no es tu estilo, entonces Rust by Example es la solución. Mientras el libro habla del código con muchas palabras, Rust by Example enseña un montón de código y limita el texto al mínimo. ¡También incluye ejercicios!
learn-rbe-button = ¡Explora Rust By Example!
translated-rbe = {""}
translated-rbe-button = {""}
learn-use = Crece con Rust
learn-doc-heading = Lee la documentación principal
learn-doc = Toda esta documentación está también disponible en local usando el comando <code>rustup doc</code>, que mostrará todas las páginas en tu navegador sin necesidad de acceso a internet.
Expand Down Expand Up @@ -40,6 +42,8 @@ learn-reference-button = Lee la Referencia
learn-nomicon-alt = Dos manos sosteniendo una llama
learn-nomicon = El Rustonomicon es tu guía para el oscuro arte del uso de <i>unsafe</i> Rust. También se lo conoce como "el nomicon".
learn-nomicon-button = Lee el "nomicon"
translated-nomicon = { "" }
translated-nomicon-button = { "" }
learn-unstable-alt = Una mano soltando chispas
learn-unstable = El Unstable Book contiene documentación sobre funcionalidades inestables que puedes usar solo con Rust nightly.
learn-unstable-button = Lee el Unstable Book
Expand Down
4 changes: 4 additions & 0 deletions locales/fr/learn.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ learn-rustlings = Sinon, "Rustlings" vous guide au travers du téléchargement e
learn-rustlings-button = Faire le cours "Rustlings" !
learn-rbe = Si lire plusieurs centaines de pages à propos d'un langage n'est pas votre style, alors "Rust by Example" est fait pour vous. Alors que le "Book" parle du code avec beaucoup de mots, RBE montre beaucoup de code, et limite la discussion au minimum. Ça inclut aussi des exercices !
learn-rbe-button = Consulter Rust by Example !
translated-rbe = {""}
translated-rbe-button = {""}
learn-use = S'épanouir avec Rust
learn-doc-heading = Lire la documentation centrale
learn-doc = Toute cette documentation est également disponible localement en utilisant la commande <code>rustup doc</code>, qui ouvrira ces ressources pour vous directement dans votre navigateur et même hors connexion !
Expand Down Expand Up @@ -40,6 +42,8 @@ learn-reference-button = Lire la référence
learn-nomicon-alt = deux mains couvrant une flamme
learn-nomicon = Le Rustonomicon est votre guide dans les arts sombres du Rust unsafe. Il est parfois appelé "le ’nomicon" .
learn-nomicon-button = Lire le ’nomicon.
translated-nomicon = { "" }
translated-nomicon-button = { "" }
learn-unstable-alt = Une main lâchant des objets scintillants.
learn-unstable = Le Unstable Book contient la documentation des fonctionnalités instables que vous pouvez seulement utiliser avec les versions nightly de Rust
learn-unstable-button = Lire le Unstable Book
Expand Down
4 changes: 4 additions & 0 deletions locales/it/learn.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ learn-rustlings = In alternativa, le guide "Rustlings" ti guideranno attraverso
learn-rustlings-button = Fai il corso Rustlings!
learn-rbe = Se leggere centinaia di pagine di manualistica non è il tuo stile, allora "Rust by Example" fa per te. Il Libro parla di codice in maniera piuttosto prolissa, mentre RBE ti mostra il codice e pochi fronzoli: inclusi anche gli esercizi!
learn-rbe-button = Vai su Rust by Example!
translated-rbe = {""}
translated-rbe-button = {""}
learn-use = Diventa esperto con Rust
learn-doc-heading = Leggi la documentazione
learn-doc = Tutta la documentazione è anche disponibile in locale; tramite il comando <code>rustup doc</code> si aprirà una pagina nel browser, non occorre alcuna connessione di rete!
Expand Down Expand Up @@ -40,6 +42,8 @@ learn-reference-button = Leggi la Reference
learn-nomicon-alt = due mani che reggono un fuoco
learn-nomicon = Il Rustonomicon è il tuo mauale di magia nera sul codice Rust unsafe. Noto anche come "il 'nomicon".
learn-nomicon-button = Leggi il ’nomicon
translated-nomicon = { "" }
translated-nomicon-button = { "" }
learn-unstable-alt = una mano che fa scintille
learn-unstable = L'Unstable Book contiene documentazione su feature non ancora stabilizzate che sono disponibili solo su Rust nightly.
learn-unstable-button = Leggi il Unstable Book
Expand Down
4 changes: 4 additions & 0 deletions locales/ja/learn.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ learn-rustlings = あるいはRustlingsなら、コマンドライン上で、Ru
learn-rustlings-button = Rustlingsコースをやってみよう!
learn-rbe = ひとつの言語について何百ページも読むのがあなたの好みに合わなければ、 Rust By Exampleにお任せください。the bookはコードをたくさんの言葉で説明しますが、 RBE (Rust By Example)はたくさんのコード例を示し、説明は最小限です。練習問題もあります!
learn-rbe-button = Rust by Exampleを見てみよう!
translated-rbe = {""}
translated-rbe-button = {""}
learn-use = Rustと共に成長する
learn-doc-heading = コアドキュメントを読む
learn-doc = このドキュメントの全てはローカルでも<code>rustup doc</code>コマンドで参照可能で、ネットワーク接続なしにブラウザで開けます!
Expand Down Expand Up @@ -40,6 +42,8 @@ learn-reference-button = リファレンスを読む
learn-nomicon-alt = 火をそっと抱える二つの手
learn-nomicon = Rustonomiconは黒魔術であるアンセーフなRustへの手引書です。しばしば「’nomicon」とも呼ばれます。
learn-nomicon-button = ’nomiconを読む
translated-nomicon = { "" }
translated-nomicon-button = { "" }
learn-unstable-alt = 火花を出す手
learn-unstable = Unstableブックにはnightly Rustのみで使える不安定な機能に関する記述があります。
learn-unstable-button = unstableブックを読む
Expand Down
2 changes: 2 additions & 0 deletions locales/ko/learn.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ translated-book = { "" }
translated-book-button = { "" }
learn-rustlings-button = Rustlings 코스 시작하기
learn-rbe-button = 예제로 알아보는 Rust 살펴보기
translated-rbe = {""}
translated-rbe-button = {""}
learn-use = Rust로 성장하기
learn-doc-heading = 핵심 문서 읽기
learn-doc-std = Rust 표준 라이브러리 API에 대한 포괄적인 가이드입니다.
Expand Down
4 changes: 4 additions & 0 deletions locales/pl/learn.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ learn-rustlings = Alternatywnie, Rustlings przeprowadzi Cię przez pobranie i in
learn-rustlings-button = Wykonaj kurs Rustlings!
learn-rbe = Jeśli czytanie kilkuset stronicowej książki o języku programowania nie jest w twoim stylu, to być może bardziej spodoba Ci się Rust By Example. Podczas gdy główny podręcznik opisuje język słowami, RBE pokazuje go na przykładach kodu i zadaniach, które możesz wykonać!
learn-rbe-button = Zobacz Rust by Example!
translated-rbe = {""}
translated-rbe-button = {""}
learn-use = Rozwijaj się z Rustem
learn-doc-heading = Przeczytaj dokumentację języka
learn-doc = Cała ta dokumentacja jest też dostępna lokalnie. Wystarczy użyć komendy <code>rustup doc</code>, aby otworzyć w przeglądarce przechowywane na dysku pliki dokumentacji. Połączenie z internetem nie jest potrzebne!
Expand Down Expand Up @@ -40,6 +42,8 @@ learn-reference-button = Czytaj Dokument Referencyjny
learn-nomicon-alt = Dwie ręce trzymające ogień
learn-nomicon = Niechaj Rustonomikon poprowadzi Cię przez czarną magię sekcji niebezpiecznego kodu Rust. Niektórzy nazywają go skrótowo po prostu "nomikonem".
learn-nomicon-button = Czytaj nomikon.
translated-nomicon = { "" }
translated-nomicon-button = { "" }
learn-unstable-alt = Ręka dzieląca się iskrami
learn-unstable = Podręcznik Niestabilności dokumentuje niestabilne funkcje języka które są dostępne jedynie w wersjach nightly.
learn-unstable-button = Czytaj podręcznik niestabilności
Expand Down
4 changes: 4 additions & 0 deletions locales/pt-BR/learn.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ learn-rustlings = Alternativamente, <i>Rustlings</i> te guiará através do proc
learn-rustlings-button = Faça o curso <i>Rustlings</i>!
learn-rbe = Se ler centenas de páginas sobre uma linguagem não for o seu estilo, então o Rust por Exemplo tem a solução. Enquanto o livro fala sobre código usando muitas palavras, o RPE trás muitas linhas de código e limita o texto ao mínimo. Também inclui exercícios!
learn-rbe-button = Veja o livro Rust por Exemplos!
translated-rbe = {""}
translated-rbe-button = {""}
learn-use = Cresça com Rust
learn-doc-heading = Leia a documentação principal
learn-doc = Toda a documentação também está disponível localmente usando o comando <code>rustup doc</code>, que irá apresentar todos esses recursos no seu navegador sem precisar de acesso a internet.
Expand Down Expand Up @@ -40,6 +42,8 @@ learn-reference-button = Leia a referência
learn-nomicon-alt = Duas mãos carregando fogo
learn-nomicon = O Rustnomicon é o seu guia para a arte secreta para usar <i>unsafe</i> em Rust. Algumas vezes também é chamado de "o nomicon".
learn-nomicon-button = Leia o 'nomicon
translated-nomicon = { "" }
translated-nomicon-button = { "" }
learn-unstable-alt = Uma mão espalhando faíscas
learn-unstable = O Livro Instável é a documentação para funcionalidades instáveis que podem ser usadas apenas no Rust <i>nightly</i>.
learn-unstable-button = Leia o Livro Instável (<i>The Unstable book</i>)
Expand Down
4 changes: 4 additions & 0 deletions locales/ru/learn.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ learn-rustlings = Другой вариант, Rustlings, поможет вам
learn-rustlings-button = Пройдите курс Rustlings!
learn-rbe = Если чтение сотен страниц о языке &mdash; не ваш стиль, то вам стоит взглянуть на "Rust на примерах" ("Rust By Example", RBE). Пока "Книга" большим количеством слов рассуждает о коде, RBE показывает куски кода и сводит рассуждения к минимуму. Также она содержит упражнения!
learn-rbe-button = Перейти в Rust by Example!
translated-rbe = {""}
translated-rbe-button = {""}
learn-use = Совершенствуйтесь с Rust
learn-doc-heading = Прочитайте основную документацию
learn-doc = Вся документация также доступна локально. Команда <code>rustup doc</code> откроет её в вашем браузере даже без сети!
Expand Down Expand Up @@ -40,6 +42,8 @@ learn-reference-button = Читать Reference
learn-nomicon-alt = Две руки держат огонь
learn-nomicon = Rustonomicon - это ваш путеводитель в тёмное искусство небезопасного Rust. Иногда его называют "’nomicon".
learn-nomicon-button = Читать ’nomicon
translated-nomicon = { "" }
translated-nomicon-button = { "" }
learn-unstable-alt = Рука выпускает искры
learn-unstable = Unstable Book содержит документацию о нестабильных возможностях, которые вы можете использовать только в ночной версии Rust.
learn-unstable-button = Читать Unstable Book
Expand Down
2 changes: 2 additions & 0 deletions locales/tr/learn.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ learn-reference-button = Referans'ı oku
learn-nomicon-alt = Ateşi kucaklayan iki el
learn-nomicon = Rustonomicon, Rust'ın emniyetsiz karanlık sanatları için bir rehber niteliğindedir. Bazen "the ’nomicon.” da denir.
learn-nomicon-button = 'nomicon'u Oku
translated-nomicon = { "" }
translated-nomicon-button = { "" }
learn-unstable-alt = Işık saçan bir el
learn-unstable = Kararsız sürümle ilgili kitap, kararsız özellikler için belgelendirmelere sahiptir ve sadece Rust'ın nightly sürümü ile kullanılabilir.
learn-unstable-button = Kararsız sürümle ilgili kitabı oku
Expand Down
2 changes: 2 additions & 0 deletions locales/zh-CN/learn.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ learn-rustlings = 此外,Rustlings 课程会指导您下载并设置 Rust 工
learn-rustlings-button = 学习 Rustlings 课程!
learn-rbe = 如果您不喜欢阅读大量的文档来学习语言,那么《通过例子学 Rust》就能涵盖您要学的知识。虽然本书花了很多篇幅来解释代码,但它展示的代码很丰富,并且尽量减少了文字解释。它还包括很多练习!
learn-rbe-button = 阅读《通过例子学 Rust》!
translated-rbe = https://rustwiki.org/zh-CN/rust-by-example/
translated-rbe-button = 阅读非官方翻译
learn-use = 与 Rust 共同成长
learn-doc-heading = 阅读核心文档
learn-doc = 以下所有文档都可以用 <code>rustup doc</code> 命令在本地阅读,它会在您的浏览器中离线打开这些资源!
Expand Down
4 changes: 4 additions & 0 deletions locales/zh-TW/learn.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ learn-rustlings = 除此之外,Rustlings 課程會引導您下載並設置 Rus
learn-rustlings-button = 開始 Rustlings 的課程!
learn-rbe = 如果閱讀一本數百頁的書並不適合您的話,那《透過範例學習 Rust》將是您的選擇。當書本使用一堆文字教學時,《透過範例學習 Rust》則是展示各種範例,並附上最少的文字說明,同時還附有練習題!
learn-rbe-button = 閱讀《透過範例學習 Rust》!
translated-rbe = {""}
translated-rbe-button = {""}
learn-use = 與 Rust 一同成長
learn-doc-heading = 閱讀核心技術文件
learn-doc = 這些文件您都能在本機端使用 <code>rustup doc</code> 指令來取得,它能在沒有網路連線的狀況下使用您的瀏覽器開啟這些文件!
Expand Down Expand Up @@ -40,6 +42,8 @@ learn-reference-button = 閱讀《參考手冊》
learn-nomicon-alt = 雙手捧著火的圖示
learn-nomicon = 《Rust 祕笈》是教您 unsafe Rust 的黑魔法指南,它有時也被稱為「 ’nomicon」。
learn-nomicon-button = 閱讀《Rust 祕笈》
translated-nomicon = { "" }
translated-nomicon-button = { "" }
learn-unstable-alt = 手撒出亮光
learn-unstable = 《Unstable 手冊》紀載還尚未穩定的功能,您也只能在 nightly Rust 中使用。
learn-unstable-button = 閱讀《Unstable 手冊》
Expand Down
1 change: 1 addition & 0 deletions templates/learn/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
<p class="flex-grow-1">{{fluent "learn-rbe"}}</p>
<div class="buttons">
<a class="button button-secondary" href="https://doc.rust-lang.org/stable/rust-by-example/">{{fluent "learn-rbe-button"}}</a>
{{#if (fluent "translated-rbe")}}<a class="button-additional" href={{fluent "translated-rbe"}}>{{fluent "translated-rbe-button"}}</a>{{/if}}
</div>
</div>
</div>
Expand Down