diff --git a/locales/en-US/learn.ftl b/locales/en-US/learn.ftl index 6f36970c6..0d86e903b 100644 --- a/locales/en-US/learn.ftl +++ b/locales/en-US/learn.ftl @@ -108,7 +108,7 @@ learn-generating-steps =
Let’s write a small application with our new Rust { $tree }
Cargo.toml
is the manifest file for Rust. It’s where you keep metadata for your project, as well as dependencies.
src/main.rs
is where we’ll write our application code.
The cargo new
step generated a "Hello, world!" project for us! We can run this program by moving into the new directory that we made and running this in our terminal:
cargo run
You should see this in your terminal:
diff --git a/locales/es/learn.ftl b/locales/es/learn.ftl index db878efd0..b723aa073 100644 --- a/locales/es/learn.ftl +++ b/locales/es/learn.ftl @@ -83,7 +83,7 @@ learn-generating-steps = { $tree }Cargo.toml
es el archivo de manifiesto de Rust. Es donde mantenemos los metadatos del proyecto, así como la declaración de dependencias.
src/main.rs
es donde escribimos el código de nuestra aplicación.
cargo new
genera un proyecto de "Hello, world" para nosotros. Podemos ejecutar el programa si nos movemos al nuevo directorio recién creado ejecutando en tu terminal:
cargo run
Deberías ver esto en tu terminal:
diff --git a/locales/fr/learn.ftl b/locales/fr/learn.ftl index 87a4744ad..b6ed126a5 100644 --- a/locales/fr/learn.ftl +++ b/locales/fr/learn.ftl @@ -83,7 +83,7 @@ learn-generating-steps = { $tree }Cargo.toml
est le fichier manifeste de Rust. C'est là que vous gardez les métadonnées pour votre projet, ainsi que les dépendances.
src/main.rs
est l'endroit où vous écrirez le code de notre application.
cargo new
génère pour nous un projet "Hello, world!". Nous pouvons exécuter ce programme en nous déplaçant dans le nouveau répertoire que nous avons créé et en exécutant ceci dans notre terminal :
cargo run
Vous devriez voir ceci dans votre terminal :
diff --git a/locales/it/learn.ftl b/locales/it/learn.ftl index 434b8ed0c..e832b826f 100644 --- a/locales/it/learn.ftl +++ b/locales/it/learn.ftl @@ -83,7 +83,7 @@ learn-generating-steps = { $tree }Cargo.toml
è il manifest per i progetti Rust. Contiene i metadati, così come l'elenco delle dipendenze.
src/main.rs
il file che conterrà il codice della nostra applicazione.
cargo new
crea un progetto del tipo "Hello, world!"! Possiamo eseguire questo programma scendendo nella directory che abbiamo appena creato e poi lanciare:
cargo run
Questo l'output che dovrebbe apparire sulla console:
diff --git a/locales/ja/learn.ftl b/locales/ja/learn.ftl index ea4807e75..567889f41 100644 --- a/locales/ja/learn.ftl +++ b/locales/ja/learn.ftl @@ -83,7 +83,7 @@ learn-generating-steps = { $tree }Cargo.toml
はRust用のマニフェストファイルです。プロジェクトのメタデータに加え依存関係も記録されます。
src/main.rs
がアプリケーションのコードを書く場所です。
cargo new
は「Hello, world!」プロジェクトを生成します!ターミナルで作成した新しいディレクトリに移動し、以下を実行することでこのプログラムを実行できます:
cargo run
以下の出力が得られるはずです:
diff --git a/locales/pl/learn.ftl b/locales/pl/learn.ftl index 5c429c953..b9052ffad 100644 --- a/locales/pl/learn.ftl +++ b/locales/pl/learn.ftl @@ -83,7 +83,7 @@ learn-generating-steps = { $tree }Cargo.toml
to plik manifestowy projektu Rust. Jest to miejsce, w którym trzymane są metadane dotyczące naszego projektu oraz jego zależności w postaci rozmaitych bibliotek kodu.
src/main.rs
to plik, w którym będziemy pisać nasz program.
cargo new
tworzy dla nas domyślny projekt "Hello, world!". Możemy uruchomić tak powstałą aplikację, wchodząc w katalog projektu i uruchamiając następujące polecenie:
cargo run
Na ekranie powinniśmy zobaczyć:
diff --git a/locales/pt-BR/learn.ftl b/locales/pt-BR/learn.ftl index c56da5527..5cbf0e5f4 100644 --- a/locales/pt-BR/learn.ftl +++ b/locales/pt-BR/learn.ftl @@ -83,7 +83,7 @@ learn-generating-steps = { $tree }Cargo.toml
é o manifesto de um projeto Rust. Aqui você encontra todos os metadados do projeto, assim como as declarações de dependência.
src/main.rs
é onde nos vamos escrever nossa aplicação.
cargo new
gera um projeto "Hello, world!" para você! Você pode executar esse programa entrando no diretório recém criado e executando o seguinte no seu terminal:
cargo run
Você deveria ver a seguinte saída no terminal:
diff --git a/locales/ru/learn.ftl b/locales/ru/learn.ftl index 4f4be8306..29e93bab6 100644 --- a/locales/ru/learn.ftl +++ b/locales/ru/learn.ftl @@ -83,7 +83,7 @@ learn-generating-steps = { $tree }Cargo.toml
- это файл манифеста. Здесь хранятся метаданные вашего проекта, такие как описание.
В файле src/main.rs
вы пишете код приложения.
cargo new
создал для нас проект "Hello, world!". Для запуска этой программы мы перейдём в директорию, которая была создана, и запустим в терминале:
cargo run
Вы должны увидеть следующее:
diff --git a/locales/tr/learn.ftl b/locales/tr/learn.ftl index 8f4f9fca8..09820898c 100644 --- a/locales/tr/learn.ftl +++ b/locales/tr/learn.ftl @@ -80,7 +80,7 @@ learn-generating-steps = { $tree }Cargo.toml
, Rust için manifesto dosyasıdır. Burası projenizin metaverisini sakladığınız yer olmakla birlikte, bağımlılıkların da belirtildiği yerdir.
Uygulama kodunuzun bulunduğu yer ise src/main.rs
'dir.
cargo new
, bizim için yeni bir "Merhaba, dünya!" projesi oluşturur! Bu programı yeni bir dizine taşıyıp, aşağıdaki kodla uçbirimimizde çalıştırabiliriz:
cargo run
Uçbiriminizde şu çıktıyı almanız gerekmektedir:
diff --git a/locales/zh-CN/learn.ftl b/locales/zh-CN/learn.ftl index 45e40f48c..30376d97f 100644 --- a/locales/zh-CN/learn.ftl +++ b/locales/zh-CN/learn.ftl @@ -87,7 +87,7 @@ learn-generating-steps = { $tree }Cargo.toml
为 Rust 的清单文件。其中包含了项目的元数据和依赖库。
src/main.rs
为编写应用代码的地方。
cargo new
会生成一个新的“Hello, world!”项目!我们可以进入新创建的目录中,执行下面的命令来运行此程序:
cargo run
您应该会在终端中看到如下内容:
diff --git a/locales/zh-TW/learn.ftl b/locales/zh-TW/learn.ftl index 9dd3bb8d6..4f2da3cbc 100644 --- a/locales/zh-TW/learn.ftl +++ b/locales/zh-TW/learn.ftl @@ -83,7 +83,7 @@ learn-generating-steps = { $tree }Cargo.toml
是 Rust 的 manifest 檔案,它是保存專案 metadata 與相依套件資訊的地方。
src/main.rs
是我們要編寫程式碼的地方。
cargo new
會為我們產生一個「Hello, world!」的專案!我們可以移動到這個新的目錄並在我們的終端機上執行:
cargo run
您應該會在終端機上看到以下訊息:
diff --git a/src/styles/app.scss b/src/styles/app.scss index 78b6e8061..6575850a4 100644 --- a/src/styles/app.scss +++ b/src/styles/app.scss @@ -558,6 +558,13 @@ blockquote::before { width: 80%; } +.get-started-hr { + background-color: white; + height: 1px; + border: 0px; + margin: 25px 0px; +} + .hidden { border: 0; clip: rect(0 0 0 0); diff --git a/templates/components/what/embedded/get-started.html.hbs b/templates/components/what/embedded/get-started.html.hbs index ff6ba0e1c..747681cd2 100644 --- a/templates/components/what/embedded/get-started.html.hbs +++ b/templates/components/what/embedded/get-started.html.hbs @@ -45,8 +45,7 @@ -
{{fluent "embedded-get-started-more-documentation-link"}}
diff --git a/templates/learn/get-started.html.hbs b/templates/learn/get-started.html.hbs
index 6ea8a11e6..f24678f98 100644
--- a/templates/learn/get-started.html.hbs
+++ b/templates/learn/get-started.html.hbs
@@ -15,7 +15,7 @@
{{fluent "learn-play"}}
{{fluent "learn-install-rustup"}}
@@ -25,12 +25,12 @@{{#fluent "learn-install-rustup-update"}}{{#fluentparam "update-command"}}rustup update
{{/fluentparam}}{{/fluent}}
{{fluent "learn-install-editors"}}