Skip to content

Commit 30ec08d

Browse files
committed
Translate hello to JA
Fix Japanese translations in hello.html and hello.js Signed-off-by: Non Kawana <[email protected]>
1 parent bb0cf24 commit 30ec08d

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
@@ -12,14 +12,14 @@ info =
1212
{
1313
present: "Goodbye",
1414
text: "You need to change the text Goodbye to something else.",
15-
text_ja: "「Goodbye」というテキストを別の文字に変更する必要があります.",
15+
text_ja: "Goodbyeというテキストを別の文字に変更する必要があります。",
1616
text_fr: "Vous devez remplacer le texte Goodbye par autre chose.",
1717
examples: [ [ "console.log(\"Goodbye.\");" ] ]
1818
},
1919
{
2020
present: "hello",
2121
text: "Please capitalize Hello.",
22-
text_ja: "Hello は大文字で入力してください。.",
22+
text_ja: "Hello は大文字で入力してください。",
2323
text_fr: "Veuillez mettre une majuscule Hello.",
2424
examples: [ [ "console.log(\"hello.\");" ] ]
2525
},
@@ -33,22 +33,22 @@ info =
3333
{
3434
present: "Hello[^,]",
3535
text: "Put a comma immediately after Hello.",
36-
text_ja: "Hello の直後にカンマを入れます",
36+
text_ja: "Hello の直後にカンマを入れてください。",
3737
text_fr: "Mettez une virgule immédiatement après Hello.",
3838
examples: [ [ "console.log(\"Hello world.\");" ] ]
3939
},
4040
{
4141
present: "Hello",
4242
absent: "[Ww]orld",
4343
text: "There's a Hello, but you need to also mention the world.",
44-
text_ja: "「Hello」がありますが、「world」という単語にも言及する必要があります。",
44+
text_ja: "Helloがありますが、worldという単語も必要です。",
4545
text_fr: "Il y a un Hello, mais il faut aussi mentionner le world.",
4646
examples: [ [ "console.log(\"Hello, \");" ] ]
4747
},
4848
{
4949
present: String.raw`world[^\!]`,
5050
text: "Put an exclamation point immediately after world.",
51-
text_ja: "world の直後に感嘆符を置きます。",
51+
text_ja: "world の直後に感嘆符を置いてください。",
5252
text_fr: "Mettez un point d'exclamation immédiatement après world.",
5353
examples: [ [ "console.log(\"Hello, world.\");" ] ]
5454
},
@@ -63,14 +63,14 @@ info =
6363
{
6464
present: String.raw`^ console \. log \( Hello`,
6565
text: "You must quote constant strings using \", ', or `",
66-
text_ja: "定数文字列は \"、'、または ` を使用して引用符で囲む必要があります。",
66+
text_ja: "文字列定数は \"、'、または ` を使用して引用符で囲む必要があります。",
6767
text_fr: "Vous devez citer les chaînes constantes en utilisant \", ' ou `",
6868
examples: [ [ "console.log(Hello, world" ], [ "console.log( Hello, world" ] ]
6969
},
7070
{
7171
absent: String.raw` ; $`,
7272
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.",
73-
text_ja: "このステートメントはセミコロンで終了してください。この場合、JavaScript ではセミコロンは必要ありませんが、通常、ソース コードを変更する場合は、現在のコードのスタイルに従う必要があります。",
73+
text_ja: "このステートメントはセミコロンで終了してください。JavaScript ではセミコロンは必要ありませんが、通常、ソースコードを変更する場合は、現在のコードのスタイルに従う必要があります。",
7474
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",
7575
examples: [ [ " console.log(\"Hello, world!\") " ] ]
7676
},

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)