Skip to content

Commit a7b4b72

Browse files
authored
Merge pull request #2039 from rust-lang/remo/opsvttmlynos
Fix remaining weird-looking <hr/> tags
2 parents eeba7bb + 40f042a commit a7b4b72

File tree

14 files changed

+18
-18
lines changed

14 files changed

+18
-18
lines changed

locales/en-US/learn.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ learn-generating-steps = <p>Let’s write a small application with our new Rust
108108
{ $tree }
109109
<p><code>Cargo.toml</code> is the manifest file for Rust. It’s where you keep metadata for your project, as well as dependencies.</p>
110110
<p><code>src/main.rs</code> is where we’ll write our application code.</p>
111-
<hr class="get-started-hr" />
111+
<hr class="white-hr" />
112112
<p>The <code>cargo new</code> 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:</p>
113113
<p><code>cargo run</code></p>
114114
<p>You should see this in your terminal:</p>

locales/es/learn.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ learn-generating-steps =
8383
{ $tree }
8484
<p><code>Cargo.toml</code> es el archivo de manifiesto de Rust. Es donde mantenemos los metadatos del proyecto, así como la declaración de dependencias.</p>
8585
<p><code>src/main.rs</code> es donde escribimos el código de nuestra aplicación.</p>
86-
<hr class="get-started-hr" />
86+
<hr class="white-hr" />
8787
<p><code>cargo new</code> 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:</p>
8888
<p><code>cargo run</code></p>
8989
<p>Deberías ver esto en tu terminal:</p>

locales/fr/learn.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ learn-generating-steps =
8383
{ $tree }
8484
<p><code>Cargo.toml</code> est le fichier manifeste de Rust. C'est là que vous gardez les métadonnées pour votre projet, ainsi que les dépendances.</p>
8585
<p><code>src/main.rs</code> est l'endroit où vous écrirez le code de notre application.</p>
86-
<hr class="get-started-hr" />
86+
<hr class="white-hr" />
8787
<p><code>cargo new</code> 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 :</p>
8888
<p><code>cargo run</code></p>
8989
<p>Vous devriez voir ceci dans votre terminal :</p>

locales/it/learn.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ learn-generating-steps =
8383
{ $tree }
8484
<p><code>Cargo.toml</code> è il manifest per i progetti Rust. Contiene i metadati, così come l'elenco delle dipendenze.</p>
8585
<p><code>src/main.rs</code> il file che conterrà il codice della nostra applicazione.</p>
86-
<hr class="get-started-hr" />
86+
<hr class="white-hr" />
8787
<p><code>cargo new</code> crea un progetto del tipo "Hello, world!"! Possiamo eseguire questo programma scendendo nella directory che abbiamo appena creato e poi lanciare:</p>
8888
<p><code>cargo run</code></p>
8989
<p>Questo l'output che dovrebbe apparire sulla console:</p>

locales/ja/learn.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ learn-generating-steps =
8383
{ $tree }
8484
<p><code>Cargo.toml</code>はRust用のマニフェストファイルです。プロジェクトのメタデータに加え依存関係も記録されます。</p>
8585
<p><code>src/main.rs</code>がアプリケーションのコードを書く場所です。</p>
86-
<hr class="get-started-hr" />
86+
<hr class="white-hr" />
8787
<p><code>cargo new</code>は「Hello, world!」プロジェクトを生成します!ターミナルで作成した新しいディレクトリに移動し、以下を実行することでこのプログラムを実行できます:</p>
8888
<p><code>cargo run</code></p>
8989
<p>以下の出力が得られるはずです:</p>

locales/pl/learn.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ learn-generating-steps =
8383
{ $tree }
8484
<p><code>Cargo.toml</code> 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.</p>
8585
<p><code>src/main.rs</code> to plik, w którym będziemy pisać nasz program.</p>
86-
<hr class="get-started-hr" />
86+
<hr class="white-hr" />
8787
<p><code>cargo new</code> 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:</p>
8888
<p><code>cargo run</code></p>
8989
<p>Na ekranie powinniśmy zobaczyć:</p>

locales/pt-BR/learn.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ learn-generating-steps =
8383
{ $tree }
8484
<p><code>Cargo.toml</code> é o manifesto de um projeto Rust. Aqui você encontra todos os metadados do projeto, assim como as declarações de dependência.</p>
8585
<p><code>src/main.rs</code> é onde nos vamos escrever nossa aplicação.</p>
86-
<hr class="get-started-hr" />
86+
<hr class="white-hr" />
8787
<p><code>cargo new</code> 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:</p>
8888
<p><code>cargo run</code></p>
8989
<p>Você deveria ver a seguinte saída no terminal:</p>

locales/ru/learn.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ learn-generating-steps =
8383
{ $tree }
8484
<p><code>Cargo.toml</code> - это файл манифеста. Здесь хранятся метаданные вашего проекта, такие как описание.</p>
8585
<p>В файле <code>src/main.rs</code> вы пишете код приложения.</p>
86-
<hr class="get-started-hr" />
86+
<hr class="white-hr" />
8787
<p><code>cargo new</code> создал для нас проект "Hello, world!". Для запуска этой программы мы перейдём в директорию, которая была создана, и запустим в терминале:</p>
8888
<p><code>cargo run</code></p>
8989
<p>Вы должны увидеть следующее:</p>

locales/tr/learn.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ learn-generating-steps =
8080
{ $tree }
8181
<p><code>Cargo.toml</code>, 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.</p>
8282
<p>Uygulama kodunuzun bulunduğu yer ise <code>src/main.rs</code>'dir.</p>
83-
<hr class="get-started-hr" />
83+
<hr class="white-hr" />
8484
<p><code>cargo new</code>, 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:</p>
8585
<p><code>cargo run</code></p>
8686
<p>Uçbiriminizde şu çıktıyı almanız gerekmektedir:</p>

locales/zh-CN/learn.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ learn-generating-steps =
8787
{ $tree }
8888
<p><code>Cargo.toml</code> 为 Rust 的清单文件。其中包含了项目的元数据和依赖库。</p>
8989
<p><code>src/main.rs</code> 为编写应用代码的地方。</p>
90-
<hr class="get-started-hr" />
90+
<hr class="white-hr" />
9191
<p><code>cargo new</code> 会生成一个新的“Hello, world!”项目!我们可以进入新创建的目录中,执行下面的命令来运行此程序:</p>
9292
<p><code>cargo run</code></p>
9393
<p>您应该会在终端中看到如下内容:</p>

locales/zh-TW/learn.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ learn-generating-steps =
8383
{ $tree }
8484
<p><code>Cargo.toml</code> 是 Rust 的 manifest 檔案,它是保存專案 metadata 與相依套件資訊的地方。</p>
8585
<p><code>src/main.rs</code> 是我們要編寫程式碼的地方。</p>
86-
<hr class="get-started-hr" />
86+
<hr class="white-hr" />
8787
<p><code>cargo new</code> 會為我們產生一個「Hello, world!」的專案!我們可以移動到這個新的目錄並在我們的終端機上執行:</p>
8888
<p><code>cargo run</code></p>
8989
<p>您應該會在終端機上看到以下訊息:</p>

src/styles/app.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ blockquote::before {
531531
width: 80%;
532532
}
533533

534-
.get-started-hr {
534+
.white-hr {
535535
background-color: white;
536536
height: 1px;
537537
border: 0px;

templates/components/tools/rustup.html.hbs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@
4141
>
4242
{{fluent "tools-rustup-report"}}
4343
</a>
44-
<hr/>
44+
<hr class="white-hr" />
4545
<div>
4646
<p>
4747
{{fluent "tools-rustup-manual-unixy"}}
4848
</p>
4949
<code class="db w-100">curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh</code>
5050
</div>
51-
<hr>
51+
<hr class="white-hr" />
5252
<div>
5353
<p>
5454
{{fluent "tools-rustup-manual-windows"}}
@@ -62,7 +62,7 @@
6262
</p>
6363
<pre><code class="db w-100">curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh</code></pre>
6464
</div>
65-
<hr>
65+
<hr class="white-hr" />
6666
<div>
6767
<p>
6868
{{fluent "tools-rustup-manual-default-windows"}}

templates/learn/get-started.html.hbs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
</header>
1616
<p>{{fluent "learn-play"}}</p>
1717
<a href="https://play.rust-lang.org/" class="button button-secondary">{{fluent "learn-play-button"}}</a>
18-
<hr class="get-started-hr" />
18+
<hr class="white-hr" />
1919

2020
<h3>{{fluent "learn-install-rustup-header"}}</h3>
2121
<p>{{fluent "learn-install-rustup"}}</p>
@@ -25,12 +25,12 @@
2525
<p>{{#fluent "learn-install-rustup-update"}}{{#fluentparam "update-command"}}<code>rustup update</code>{{/fluentparam}}{{/fluent}}</p>
2626
<br />
2727
<a href="{{baseurl}}/tools/install" class="button button-secondary">{{fluent "learn-install-rustup-button"}}</a>
28-
<hr class="get-started-hr" />
28+
<hr class="white-hr" />
2929

3030
<h3>{{fluent "learn-install-cargo-header"}}</h3>
3131
{{fluent "learn-install-cargo"}}
3232
<a href="https://doc.rust-lang.org/cargo/index.html" class="button button-secondary">{{fluent "learn-install-cargo-button"}}</a>
33-
<hr class="get-started-hr" />
33+
<hr class="white-hr" />
3434

3535
<h3>{{fluent "learn-install-other"}}</h3>
3636
<p>{{fluent "learn-install-editors"}}</p>

0 commit comments

Comments
 (0)