Skip to content

Commit 3c2baf3

Browse files
Merge pull request #787 from ninan27/translate-hello
Translate "Lab Exercise hello" into Japanese
2 parents bb1a408 + 30ec08d commit 3c2baf3

File tree

2 files changed

+26
-32
lines changed

2 files changed

+26
-32
lines changed

docs/labs/hello.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ info =
1515
{
1616
present: "Goodbye",
1717
text: "You need to change the text Goodbye to something else.",
18-
text_ja: "「Goodbye」というテキストを別の文字に変更する必要があります.",
18+
text_ja: "Goodbyeというテキストを別の文字に変更する必要があります。",
1919
text_fr: "Vous devez remplacer le texte Goodbye par autre chose.",
2020
examples: [ [ "console.log(\"Goodbye.\");" ] ]
2121
},
2222
{
2323
present: "hello",
2424
text: "Please capitalize Hello.",
25-
text_ja: "Hello は大文字で入力してください。.",
25+
text_ja: "Hello は大文字で入力してください。",
2626
text_fr: "Veuillez mettre une majuscule Hello.",
2727
examples: [ [ "console.log(\"hello.\");" ] ]
2828
},
@@ -36,22 +36,22 @@ info =
3636
{
3737
present: "Hello[^,]",
3838
text: "Put a comma immediately after Hello.",
39-
text_ja: "Hello の直後にカンマを入れます",
39+
text_ja: "Hello の直後にカンマを入れてください。",
4040
text_fr: "Mettez une virgule immédiatement après Hello.",
4141
examples: [ [ "console.log(\"Hello world.\");" ] ]
4242
},
4343
{
4444
present: "Hello",
4545
absent: "[Ww]orld",
4646
text: "There's a Hello, but you need to also mention the world.",
47-
text_ja: "「Hello」がありますが、「world」という単語にも言及する必要があります。",
47+
text_ja: "Helloがありますが、worldという単語も必要です。",
4848
text_fr: "Il y a un Hello, mais il faut aussi mentionner le world.",
4949
examples: [ [ "console.log(\"Hello, \");" ] ]
5050
},
5151
{
5252
present: String.raw`world[^\!]`,
5353
text: "Put an exclamation point immediately after world.",
54-
text_ja: "world の直後に感嘆符を置きます。",
54+
text_ja: "world の直後に感嘆符を置いてください。",
5555
text_fr: "Mettez un point d'exclamation immédiatement après world.",
5656
examples: [ [ "console.log(\"Hello, world.\");" ] ]
5757
},
@@ -66,14 +66,14 @@ info =
6666
{
6767
present: String.raw`^ console \. log \( Hello`,
6868
text: "You must quote constant strings using \", ', or `",
69-
text_ja: "定数文字列は \"、'、または ` を使用して引用符で囲む必要があります。",
69+
text_ja: "文字列定数は \"、'、または ` を使用して引用符で囲む必要があります。",
7070
text_fr: "Vous devez citer les chaînes constantes en utilisant \", ' ou `",
7171
examples: [ [ "console.log(Hello, world" ], [ "console.log( Hello, world" ] ]
7272
},
7373
{
7474
absent: String.raw` ; $`,
7575
text: "Please end this statement with a semicolon. JavaScript does not require a semicolon in this case, but usually when modifying source code you should follow the style of the current code.",
76-
text_ja: "このステートメントはセミコロンで終了してください。この場合、JavaScript ではセミコロンは必要ありませんが、通常、ソース コードを変更する場合は、現在のコードのスタイルに従う必要があります。",
76+
text_ja: "このステートメントはセミコロンで終了してください。JavaScript ではセミコロンは必要ありませんが、通常、ソースコードを変更する場合は、現在のコードのスタイルに従う必要があります。",
7777
text_fr: "Veuillez terminer cette déclaration par un point-virgule. JavaScript ne nécessite pas de point-virgule dans ce cas, mais généralement lors de la modification du code source, vous devez suivre le style du code actuel",
7878
examples: [ [ " console.log(\"Hello, world!\") " ] ]
7979
},

docs/labs/ja_hello.html

Lines changed: 19 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -14,48 +14,42 @@
1414
<body>
1515
<!-- For GitHub Pages formatting: -->
1616
<div class="container-lg px-3 my-5 markdown-body">
17-
<h1>ラボ演習hello</h1>
17+
<h1>ラボ演習 hello</h1>
1818
<p>
19-
これは安全なソフトウェアの開発に関するラボ演習です。
20-
詳細については、<a href="introduction.html" target="_blank">概要を参照してください。
21-
研究所</a>です。
19+
これはセキュアなソフトウェア開発に関するラボ演習です。
20+
ラボの詳細については、<a href="introduction.html" target="_blank">概要</a>をご覧ください。
2221

2322
<p>
2423
<h2>ゴール</h2>
2524
<p>
26-
<b>Hello, world!」と書いてラボの使い方を学びましょう。プログラム</b>
25+
<b>"Hello, world!" と書くプログラムでラボの使い方を学びましょう。</b>
2726

2827
<p>
2928
<h2>背景</h2>
3029
<p>
31-
32-
<a href="https://en.wikipedia.org/wiki/%22Hello,_World!%22_program"
33-
>「ハロー、ワールド!」プログラム</a>
34-
多くの場合、最初に書かれたプログラムは
35-
新しいプログラミング言語またはシステム。
36-
これらのラボがどのように機能するかを確認できるように、ラボを作成します。
30+
<a href="https://en.wikipedia.org/wiki/%22Hello,_World!%22_program">"Hello, world!"</a>は、
31+
新しいプログラミング言語やシステムで最初に書かれるプログラムです。
32+
ラボの仕組みを理解するために、このプログラムを書きましょう。
3733

3834
<p>
39-
<h2>タスク情報</h2>
35+
<h2>タスク</h2>
4036
<p>
41-
4237
<p>
43-
あなたのタスクは以下のプログラムを変更することです
44-
「Hello, world!」を印刷するには私たちのラボがどのように機能するかを学ぶために。
45-
以下のラベルが付いたボタンを試してください
46-
<i>ヒント</i><i>リセット</i><i>諦め</i>
38+
あなたのタスクは以下のプログラムを変更して"Hello, world!" と表示させ、このラボの機能を学ぶことです。
39+
下にある<i>ヒント</i><i>リセット</i><i>諦める</i>というボタンも試してみてください。
4740

4841
<p>
49-
正解すると、ポップアップ通知が表示されます
50-
入力ボックスの背景色が変わり、
51-
「インタラクティブ ラボ」の見出しが<i>完了!</i>」に変わります。
42+
正解するとポップアップ通知が表示されます
43+
また、入力ボックスの背景色が変わり、
44+
Interactive Labの横の見出しが<i>完了</i>」に変わります。
5245

5346
<p>
54-
<h2>インタラクティブラボ (<span id="grade"></span>)</h2>
47+
<h2>Interactive Lab (<span id="grade"></span>)</h2>
5548
<p>
56-
<b>「Hello, World!」を出力するには、以下のコードを変更してください。
57-
(引用符は含まれません)
58-
Node.js 上の JavaScript について学びながら、 ラボの仕組みも学びましょう</b>
49+
<b>"Hello, world!"(引用符("")を含まない)を表示するように、以下のコードを修正してください。
50+
Node.js上のJavaScriptについて学びながら、ラボの仕組みを学びましょう。
51+
</b>
52+
5953
<p>
6054
<!--
6155
You can use this an example for new labs.
@@ -69,7 +63,7 @@ <h2>インタラクティブラボ (<span id="grade"></span>)</h2>
6963
</code></pre>
7064
<button type="button" class="hintButton">ヒント</button>
7165
<button type="button" class="resetButton">リセット</button>
72-
<button type="button" class="giveUpButton">あきらめる</button>
66+
<button type="button" class="giveUpButton">諦める</button>
7367
<br><br>
7468
<p>
7569
<i>このラボは、David A. Wheeler によって開発されました。

0 commit comments

Comments
 (0)