From 39f62d15ab05aa00a3798de961a733c76b37421c Mon Sep 17 00:00:00 2001 From: camperbot Date: Fri, 21 Apr 2023 19:49:45 +0530 Subject: [PATCH] chore(i18n,learn): processed translations (#50122) --- .../build-a-data-graph-explorer.md | 2 +- .../build-three-math-games.md | 2 +- .../build-a-data-graph-explorer.md | 2 +- .../build-three-math-games.md | 2 +- .../build-a-data-graph-explorer.md | 2 +- .../build-three-math-games.md | 2 +- .../build-a-data-graph-explorer.md | 2 +- .../build-three-math-games.md | 2 +- .../build-a-data-graph-explorer.md | 2 +- .../build-three-math-games.md | 2 +- .../build-a-data-graph-explorer.md | 2 +- .../build-three-math-games.md | 2 +- .../basic-javascript/record-collection.md | 22 +++++++------- .../understanding-boolean-values.md | 2 +- .../basic-javascript/word-blanks.md | 16 +++++----- ...syntax-to-define-a-constructor-function.md | 22 +++++++------- .../616965351e74d4689eb6de30.md | 8 ++--- .../61764c602bee6974e7790f35.md | 6 ++-- .../6143d2842b497779bad947de.md | 8 ++--- .../6144d66a5358db0c80628757.md | 4 +-- .../5dc24073f86c76b9248c6ebb.md | 4 +-- .../62017f47c87be96457c49f46.md | 16 +++++----- .../62017fa5bbef406580ceb44f.md | 2 +- .../620186f4b6b8356d2def576b.md | 2 +- .../62018ba1aa263770c953be66.md | 2 +- .../62018ec29b3ae674f40bef31.md | 2 +- .../62019093fe30e278e797d2f6.md | 2 +- .../620192a767533a7ad19d96d7.md | 2 +- .../6201995d9ab88e80f1989dce.md | 2 +- .../6201a1a7af32c287bd6b8183.md | 2 +- .../6201a1cc668a34888f5b2f52.md | 2 +- .../6201a20d742f5c89736c8cfb.md | 2 +- .../6201a42e39bf3b95b6a33bf3.md | 2 +- .../6201a4adcc6414968b391592.md | 2 +- .../6201a59be346d399c21d10b1.md | 2 +- .../64076bbeba941114b0027b6a.md | 4 +-- .../build-a-data-graph-explorer.md | 2 +- .../build-three-math-games.md | 2 +- ...te-random-whole-numbers-with-javascript.md | 18 +++++------ ...ate-random-whole-numbers-within-a-range.md | 8 ++--- .../build-a-data-graph-explorer.md | 30 +++++++++---------- .../build-a-financial-calculator.md | 24 +++++++-------- .../build-a-graphing-calculator.md | 24 +++++++-------- .../build-a-multi-function-calculator.md | 24 +++++++-------- .../build-three-math-games.md | 28 ++++++++--------- .../more-resources-in-colab.md | 14 ++++----- .../spreadsheets-and-additional-resources.md | 6 ++-- .../factoring.md | 16 +++++----- .../converting-fractions-and-decimals.md | 10 +++---- .../fractions-and-decimals-extra.md | 16 +++++----- .../functions-and-graphing-extra.md | 12 ++++---- .../learn-functions-and-graphing/functions.md | 12 ++++---- .../graphing-systems-of-equations-extra.md | 16 +++++----- .../graphing-systems.md | 18 +++++------ .../solving-systems-of-equations-extra.md | 16 +++++----- .../solving-systems.md | 18 +++++------ .../linear-functions-extra.md | 8 ++--- .../learn-linear-functions/slope.md | 8 ++--- .../learn-quadratic-equations/quadratics.md | 8 ++--- .../build-a-data-graph-explorer.md | 2 +- .../build-three-math-games.md | 2 +- .../problem-21-amicable-numbers.md | 10 +++---- 62 files changed, 257 insertions(+), 257 deletions(-) diff --git a/curriculum/challenges/arabic/17-college-algebra-with-python/build-a-data-graph-explorer-project/build-a-data-graph-explorer.md b/curriculum/challenges/arabic/17-college-algebra-with-python/build-a-data-graph-explorer-project/build-a-data-graph-explorer.md index 5a53c50f3a3..f9f9b1e150f 100644 --- a/curriculum/challenges/arabic/17-college-algebra-with-python/build-a-data-graph-explorer-project/build-a-data-graph-explorer.md +++ b/curriculum/challenges/arabic/17-college-algebra-with-python/build-a-data-graph-explorer-project/build-a-data-graph-explorer.md @@ -9,7 +9,7 @@ dashedName: build-a-data-graph-explorer You will be working on this project with Google Colaboratory. -After going to that link, create a copy of the notebook either in your own account or locally. Once you complete the project and it passes the test (included at that link), submit your project link below. If you are submitting a Google Colaboratory link, make sure to turn on link sharing for "anyone with the link." +Once you complete the project, submit your project link below. If you are submitting a Google Colaboratory link, make sure to turn on link sharing for "anyone with the link." # --instructions-- diff --git a/curriculum/challenges/arabic/17-college-algebra-with-python/build-three-math-games-project/build-three-math-games.md b/curriculum/challenges/arabic/17-college-algebra-with-python/build-three-math-games-project/build-three-math-games.md index 3018ad84048..d5aa6f892a2 100644 --- a/curriculum/challenges/arabic/17-college-algebra-with-python/build-three-math-games-project/build-three-math-games.md +++ b/curriculum/challenges/arabic/17-college-algebra-with-python/build-three-math-games-project/build-three-math-games.md @@ -9,7 +9,7 @@ dashedName: build-three-math-games You will be working on this project with Google Colaboratory. -After going to that link, create a copy of the notebook either in your own account or locally. Once you complete the project and it passes the test (included at that link), submit your project link below. If you are submitting a Google Colaboratory link, make sure to turn on link sharing for "anyone with the link." +Once you complete the project, submit your project link below. If you are submitting a Google Colaboratory link, make sure to turn on link sharing for "anyone with the link." # --instructions-- diff --git a/curriculum/challenges/chinese-traditional/17-college-algebra-with-python/build-a-data-graph-explorer-project/build-a-data-graph-explorer.md b/curriculum/challenges/chinese-traditional/17-college-algebra-with-python/build-a-data-graph-explorer-project/build-a-data-graph-explorer.md index 99653efcd2a..28e4d275a92 100644 --- a/curriculum/challenges/chinese-traditional/17-college-algebra-with-python/build-a-data-graph-explorer-project/build-a-data-graph-explorer.md +++ b/curriculum/challenges/chinese-traditional/17-college-algebra-with-python/build-a-data-graph-explorer-project/build-a-data-graph-explorer.md @@ -9,7 +9,7 @@ dashedName: build-a-data-graph-explorer 你將使用 Google Colaboratory 來完成這個項目。 -進入該鏈接後,在你自己的賬戶或本地創建一個筆記本的副本。 完成項目並通過測試(在那個鏈接中)後,請在下面提交你的項目鏈接。 如果你提交的是 Google Colaboratory 的鏈接,請確保鏈接分享選項爲 “anyone with the link”。 +Once you complete the project, submit your project link below. 如果你提交的是 Google Colaboratory 的鏈接,請確保鏈接分享選項爲 “anyone with the link”。 # --instructions-- diff --git a/curriculum/challenges/chinese-traditional/17-college-algebra-with-python/build-three-math-games-project/build-three-math-games.md b/curriculum/challenges/chinese-traditional/17-college-algebra-with-python/build-three-math-games-project/build-three-math-games.md index 04db2ca73b3..43ccce59d1c 100644 --- a/curriculum/challenges/chinese-traditional/17-college-algebra-with-python/build-three-math-games-project/build-three-math-games.md +++ b/curriculum/challenges/chinese-traditional/17-college-algebra-with-python/build-three-math-games-project/build-three-math-games.md @@ -9,7 +9,7 @@ dashedName: build-three-math-games 你將使用 Google Colaboratory 來完成這個項目。 -點擊鏈接後,在自己的賬戶中或在本地創建一個筆記本的副本。 完成項目並通過測試(在那個鏈接中)後,請在下面提交你的項目鏈接。 如果你提交的是 Google Colaboratory 的鏈接,請確保鏈接分享選項爲 “anyone with the link”。 +Once you complete the project, submit your project link below. 如果你提交的是 Google Colaboratory 的鏈接,請確保鏈接分享選項爲 “anyone with the link”。 # --instructions-- diff --git a/curriculum/challenges/chinese/17-college-algebra-with-python/build-a-data-graph-explorer-project/build-a-data-graph-explorer.md b/curriculum/challenges/chinese/17-college-algebra-with-python/build-a-data-graph-explorer-project/build-a-data-graph-explorer.md index d07c50a96b1..cffc8806e58 100644 --- a/curriculum/challenges/chinese/17-college-algebra-with-python/build-a-data-graph-explorer-project/build-a-data-graph-explorer.md +++ b/curriculum/challenges/chinese/17-college-algebra-with-python/build-a-data-graph-explorer-project/build-a-data-graph-explorer.md @@ -9,7 +9,7 @@ dashedName: build-a-data-graph-explorer 你将使用 Google Colaboratory 来完成这个项目。 -进入该链接后,在你自己的账户或本地创建一个笔记本的副本。 完成项目并通过测试(在那个链接中)后,请在下面提交你的项目链接。 如果你提交的是 Google Colaboratory 的链接,请确保链接分享选项为 “anyone with the link”。 +Once you complete the project, submit your project link below. 如果你提交的是 Google Colaboratory 的链接,请确保链接分享选项为 “anyone with the link”。 # --instructions-- diff --git a/curriculum/challenges/chinese/17-college-algebra-with-python/build-three-math-games-project/build-three-math-games.md b/curriculum/challenges/chinese/17-college-algebra-with-python/build-three-math-games-project/build-three-math-games.md index d1954a2744e..8d2ea16b9eb 100644 --- a/curriculum/challenges/chinese/17-college-algebra-with-python/build-three-math-games-project/build-three-math-games.md +++ b/curriculum/challenges/chinese/17-college-algebra-with-python/build-three-math-games-project/build-three-math-games.md @@ -9,7 +9,7 @@ dashedName: build-three-math-games 你将使用 Google Colaboratory 来完成这个项目。 -点击链接后,在自己的账户中或在本地创建一个笔记本的副本。 完成项目并通过测试(在那个链接中)后,请在下面提交你的项目链接。 如果你提交的是 Google Colaboratory 的链接,请确保链接分享选项为 “anyone with the link”。 +Once you complete the project, submit your project link below. 如果你提交的是 Google Colaboratory 的链接,请确保链接分享选项为 “anyone with the link”。 # --instructions-- diff --git a/curriculum/challenges/espanol/17-college-algebra-with-python/build-a-data-graph-explorer-project/build-a-data-graph-explorer.md b/curriculum/challenges/espanol/17-college-algebra-with-python/build-a-data-graph-explorer-project/build-a-data-graph-explorer.md index 5a53c50f3a3..f9f9b1e150f 100644 --- a/curriculum/challenges/espanol/17-college-algebra-with-python/build-a-data-graph-explorer-project/build-a-data-graph-explorer.md +++ b/curriculum/challenges/espanol/17-college-algebra-with-python/build-a-data-graph-explorer-project/build-a-data-graph-explorer.md @@ -9,7 +9,7 @@ dashedName: build-a-data-graph-explorer You will be working on this project with Google Colaboratory. -After going to that link, create a copy of the notebook either in your own account or locally. Once you complete the project and it passes the test (included at that link), submit your project link below. If you are submitting a Google Colaboratory link, make sure to turn on link sharing for "anyone with the link." +Once you complete the project, submit your project link below. If you are submitting a Google Colaboratory link, make sure to turn on link sharing for "anyone with the link." # --instructions-- diff --git a/curriculum/challenges/espanol/17-college-algebra-with-python/build-three-math-games-project/build-three-math-games.md b/curriculum/challenges/espanol/17-college-algebra-with-python/build-three-math-games-project/build-three-math-games.md index 3018ad84048..d5aa6f892a2 100644 --- a/curriculum/challenges/espanol/17-college-algebra-with-python/build-three-math-games-project/build-three-math-games.md +++ b/curriculum/challenges/espanol/17-college-algebra-with-python/build-three-math-games-project/build-three-math-games.md @@ -9,7 +9,7 @@ dashedName: build-three-math-games You will be working on this project with Google Colaboratory. -After going to that link, create a copy of the notebook either in your own account or locally. Once you complete the project and it passes the test (included at that link), submit your project link below. If you are submitting a Google Colaboratory link, make sure to turn on link sharing for "anyone with the link." +Once you complete the project, submit your project link below. If you are submitting a Google Colaboratory link, make sure to turn on link sharing for "anyone with the link." # --instructions-- diff --git a/curriculum/challenges/german/17-college-algebra-with-python/build-a-data-graph-explorer-project/build-a-data-graph-explorer.md b/curriculum/challenges/german/17-college-algebra-with-python/build-a-data-graph-explorer-project/build-a-data-graph-explorer.md index 5a53c50f3a3..f9f9b1e150f 100644 --- a/curriculum/challenges/german/17-college-algebra-with-python/build-a-data-graph-explorer-project/build-a-data-graph-explorer.md +++ b/curriculum/challenges/german/17-college-algebra-with-python/build-a-data-graph-explorer-project/build-a-data-graph-explorer.md @@ -9,7 +9,7 @@ dashedName: build-a-data-graph-explorer You will be working on this project with Google Colaboratory. -After going to that link, create a copy of the notebook either in your own account or locally. Once you complete the project and it passes the test (included at that link), submit your project link below. If you are submitting a Google Colaboratory link, make sure to turn on link sharing for "anyone with the link." +Once you complete the project, submit your project link below. If you are submitting a Google Colaboratory link, make sure to turn on link sharing for "anyone with the link." # --instructions-- diff --git a/curriculum/challenges/german/17-college-algebra-with-python/build-three-math-games-project/build-three-math-games.md b/curriculum/challenges/german/17-college-algebra-with-python/build-three-math-games-project/build-three-math-games.md index 3018ad84048..d5aa6f892a2 100644 --- a/curriculum/challenges/german/17-college-algebra-with-python/build-three-math-games-project/build-three-math-games.md +++ b/curriculum/challenges/german/17-college-algebra-with-python/build-three-math-games-project/build-three-math-games.md @@ -9,7 +9,7 @@ dashedName: build-three-math-games You will be working on this project with Google Colaboratory. -After going to that link, create a copy of the notebook either in your own account or locally. Once you complete the project and it passes the test (included at that link), submit your project link below. If you are submitting a Google Colaboratory link, make sure to turn on link sharing for "anyone with the link." +Once you complete the project, submit your project link below. If you are submitting a Google Colaboratory link, make sure to turn on link sharing for "anyone with the link." # --instructions-- diff --git a/curriculum/challenges/italian/17-college-algebra-with-python/build-a-data-graph-explorer-project/build-a-data-graph-explorer.md b/curriculum/challenges/italian/17-college-algebra-with-python/build-a-data-graph-explorer-project/build-a-data-graph-explorer.md index 3757075f84b..2c7996cf13c 100644 --- a/curriculum/challenges/italian/17-college-algebra-with-python/build-a-data-graph-explorer-project/build-a-data-graph-explorer.md +++ b/curriculum/challenges/italian/17-college-algebra-with-python/build-a-data-graph-explorer-project/build-a-data-graph-explorer.md @@ -9,7 +9,7 @@ dashedName: build-a-data-graph-explorer Lavorerai a questo progetto con Google Colaboratory. -Dopo aver visitato il link, crea una copia del notebook nel tuo account o localmente. Una volta completato il progetto e superato il test (incluso in quel link), invia il link del progetto qui sotto. Se stai inviando un link di Google Colaboratory, assicurati di attivare la condivisione del link per "anyone with the link" +Once you complete the project, submit your project link below. Se stai inviando un link di Google Colaboratory, assicurati di attivare la condivisione del link per "anyone with the link" # --instructions-- diff --git a/curriculum/challenges/italian/17-college-algebra-with-python/build-three-math-games-project/build-three-math-games.md b/curriculum/challenges/italian/17-college-algebra-with-python/build-three-math-games-project/build-three-math-games.md index 2a099bf10a2..ca81cb9619a 100644 --- a/curriculum/challenges/italian/17-college-algebra-with-python/build-three-math-games-project/build-three-math-games.md +++ b/curriculum/challenges/italian/17-college-algebra-with-python/build-three-math-games-project/build-three-math-games.md @@ -9,7 +9,7 @@ dashedName: build-three-math-games Lavorerai a questo progetto con Google Colaboratory. -Dopo aver visitato il link, crea una copia del notebook nel tuo account o localmente. Una volta completato il progetto e superato il test (incluso in quel link), invia il link del progetto qui sotto. Se stai inviando un link di Google Colaboratory, assicurati di attivare la condivisione del link per "anyone with the link" +Once you complete the project, submit your project link below. Se stai inviando un link di Google Colaboratory, assicurati di attivare la condivisione del link per "anyone with the link" # --instructions-- diff --git a/curriculum/challenges/japanese/02-javascript-algorithms-and-data-structures/basic-javascript/record-collection.md b/curriculum/challenges/japanese/02-javascript-algorithms-and-data-structures/basic-javascript/record-collection.md index 9939dcf6338..03f2d9c2199 100644 --- a/curriculum/challenges/japanese/02-javascript-algorithms-and-data-structures/basic-javascript/record-collection.md +++ b/curriculum/challenges/japanese/02-javascript-algorithms-and-data-structures/basic-javascript/record-collection.md @@ -8,7 +8,7 @@ dashedName: record-collection # --description-- -あなたは音楽アルバムコレクションのメンテナンスに役立つ関数を作成しています。 コレクションは、オブジェクトである複数のアルバムを含むオブジェクトとして構成されています。 各アルバムはコレクション内で一意の `id` をプロパティ名として保有し表されます。 Within each album object, there are various properties describing information about the album. Not all albums have complete information. +あなたは音楽アルバムコレクションのメンテナンスに役立つ関数を作成しています。 コレクションは、オブジェクトである複数のアルバムを含むオブジェクトとして構成されています。 各アルバムはコレクション内で一意の `id` をプロパティ名として保有し表されます。 Within each album object, there are various properties describing information about the album. 情報が完全ではないアルバムもあります。 The `updateRecords` function takes 4 arguments represented by the following function parameters: @@ -17,18 +17,18 @@ The `updateRecords` function takes 4 arguments represented by the following func - `prop` - a string representing the name of the album’s property to update - `value` - a string containing the information used to update the album’s property -Complete the function using the rules below to modify the object passed to the function. +次に示すルールに従って、渡されたオブジェクトを変更する関数を完成させてください。 - Your function must always return the entire `records` object. -- If `value` is an empty string, delete the given `prop` property from the album. +- `value` が空文字列の場合は、指定された `prop` プロパティをアルバムから削除します。 - If `prop` isn't `tracks` and `value` isn't an empty string, assign the `value` to that album's `prop`. - If `prop` is `tracks` and value isn't an empty string, add the `value` to the end of the album's `tracks` array. You need to create this array first if the album does not have a `tracks` property. -**Note:** A copy of the `recordCollection` object is used for the tests. You should not directly modify the `recordCollection` object. +**注:** テストには `recordCollection` オブジェクトのコピーが使用されます。 You should not directly modify the `recordCollection` object. # --hints-- -After `updateRecords(recordCollection, 5439, "artist", "ABBA")`, `artist` should be the string `ABBA` +`updateRecords(recordCollection, 5439, "artist", "ABBA")` の実行後、`artist` は文字列 `ABBA` になる必要があります。 ```js assert( @@ -37,7 +37,7 @@ assert( ); ``` -After `updateRecords(recordCollection, 5439, "tracks", "Take a Chance on Me")`, `tracks` should have the string `Take a Chance on Me` as the last and only element. +`updateRecords(recordCollection, 5439, "tracks", "Take a Chance on Me")` の実行後、`tracks` 配列は、文字列 `Take a Chance on Me` が末尾かつ唯一の要素になる必要があります。 ```js assert( @@ -47,14 +47,14 @@ assert( ); ``` -After `updateRecords(recordCollection, 2548, "artist", "")`, `artist` should not be set +`updateRecords(recordCollection, 2548, "artist", "")` の実行後、`artist` は未設定であるべきです。 ```js updateRecords(_recordCollection, 2548, 'artist', ''); assert(!_recordCollection[2548].hasOwnProperty('artist')); ``` -After `updateRecords(recordCollection, 1245, "tracks", "Addicted to Love")`, `tracks` should have the string `Addicted to Love` as the last element. +`updateRecords(recordCollection, 1245, "tracks", "Addicted to Love")` の実行後、`tracks` の末尾の要素は文字列 `Addicted to Love` になる必要があります。 ```js assert( @@ -64,7 +64,7 @@ assert( ); ``` -After `updateRecords(recordCollection, 2468, "tracks", "Free")`, `tracks` should have the string `1999` as the first element. +`updateRecords(recordCollection, 2468, "tracks", "Free")` の実行後、`tracks` の先頭の要素は文字列 `1999` であるべきです。 ```js assert( @@ -74,14 +74,14 @@ assert( ); ``` -After `updateRecords(recordCollection, 2548, "tracks", "")`, `tracks` should not be set +`updateRecords(recordCollection, 2548, "tracks", "")` の実行後、`tracks` は未設定であるべきです。 ```js updateRecords(_recordCollection, 2548, 'tracks', ''); assert(!_recordCollection[2548].hasOwnProperty('tracks')); ``` -After `updateRecords(recordCollection, 1245, "albumTitle", "Riptide")`, `albumTitle` should be the string `Riptide` +`updateRecords(recordCollection, 1245, "albumTitle", "Riptide")` の実行後、`albumTitle` は文字列 `Riptide` になる必要があります。 ```js assert( diff --git a/curriculum/challenges/japanese/02-javascript-algorithms-and-data-structures/basic-javascript/understanding-boolean-values.md b/curriculum/challenges/japanese/02-javascript-algorithms-and-data-structures/basic-javascript/understanding-boolean-values.md index 15a5c19daba..fa91279e212 100644 --- a/curriculum/challenges/japanese/02-javascript-algorithms-and-data-structures/basic-javascript/understanding-boolean-values.md +++ b/curriculum/challenges/japanese/02-javascript-algorithms-and-data-structures/basic-javascript/understanding-boolean-values.md @@ -15,7 +15,7 @@ dashedName: understanding-boolean-values # --instructions-- -Modify the `welcomeToBooleans` function so that it returns `true` instead of `false`. +`false` ではなく `true` を返すように、`welcomeToBooleans` 関数を変更してください。 # --hints-- diff --git a/curriculum/challenges/japanese/02-javascript-algorithms-and-data-structures/basic-javascript/word-blanks.md b/curriculum/challenges/japanese/02-javascript-algorithms-and-data-structures/basic-javascript/word-blanks.md index 4167c76f48f..ddc650094fb 100644 --- a/curriculum/challenges/japanese/02-javascript-algorithms-and-data-structures/basic-javascript/word-blanks.md +++ b/curriculum/challenges/japanese/02-javascript-algorithms-and-data-structures/basic-javascript/word-blanks.md @@ -17,7 +17,7 @@ Consider this sentence: It was really ____, and we ____ ourselves ____. ``` -This sentence has three missing pieces- an adjective, a verb and an adverb, and we can add words of our choice to complete it. We can then assign the completed sentence to a variable as follows: +この文章は形容詞、動詞、副詞の 3 つが空欄になっており、好きな単語を入れて文章を完成させることができます。 そして、次のように完成した文章を変数に代入します。 ```js const sentence = "It was really " + "hot" + ", and we " + "laughed" + " ourselves " + "silly" + "."; @@ -25,21 +25,21 @@ const sentence = "It was really " + "hot" + ", and we " + "laughed" + " ourselve # --instructions-- -In this challenge, we provide you with a noun, a verb, an adjective and an adverb. You need to form a complete sentence using words of your choice, along with the words we provide. +このチャレンジでは、名詞、動詞、形容詞、副詞が提示されます。 提示された単語と、自分の選んだ言葉を使用して文章を完成させてください。 -You will need to use the string concatenation operator `+` to build a new string, using the provided variables: `myNoun`, `myAdjective`, `myVerb`, and `myAdverb`. You will then assign the formed string to the `wordBlanks` variable. You should not change the words assigned to the variables. +用意された変数 (`myNoun`、`myAdjective`、`myVerb`、`myAdverb`) を使用して新しい文字列を作成するために、文字列連結演算子 `+` を使用する必要があります。 そして、作成した文字列を `wordBlanks` 変数に代入します。 あらかじめ変数に代入されている単語を変更してはいけません。 -You will also need to account for spaces in your string, so that the final sentence has spaces between all the words. The result should be a complete sentence. +文字列内のスペースにも気を付ける必要があります。最終的な文章ではすべての単語間にスペースが含まれるようにします。 結果が完全な文章になるようにしてください。 # --hints-- -`wordBlanks` should be a string. +`wordBlanks` は文字列である必要があります。 ```js assert(typeof wordBlanks === 'string'); ``` -You should not change the values assigned to `myNoun`, `myVerb`, `myAdjective` or `myAdverb`. +`myNoun`、`myVerb`、`myAdjective`、`myAdverb` に割り当てられた値を変更しないでください。 ```js assert( @@ -50,7 +50,7 @@ assert( ); ``` -You should not directly use the values `dog`, `ran`, `big`, or `quickly` to create `wordBlanks`. +`wordBlanks` を作成するために、`dog`、`ran`、`big`、`quickly` の値を直接使用しないでください。 ```js const newCode = removeAssignments(code); @@ -62,7 +62,7 @@ assert( ); ``` -`wordBlanks` should contain all of the words assigned to the variables `myNoun`, `myVerb`, `myAdjective` and `myAdverb` separated by non-word characters (and any additional words of your choice). +`wordBlanks` には変数の `myNoun`、`myVerb`、`myAdjective`、`myAdverb` に割り当てられた単語がすべて含まれている必要があり、それらの間は単語以外の文字 (および、あなたが追加した単語) で区切られる必要があります。 ```js assert( diff --git a/curriculum/challenges/japanese/02-javascript-algorithms-and-data-structures/es6/use-class-syntax-to-define-a-constructor-function.md b/curriculum/challenges/japanese/02-javascript-algorithms-and-data-structures/es6/use-class-syntax-to-define-a-constructor-function.md index 97140e729c2..a1956a1f7d0 100644 --- a/curriculum/challenges/japanese/02-javascript-algorithms-and-data-structures/es6/use-class-syntax-to-define-a-constructor-function.md +++ b/curriculum/challenges/japanese/02-javascript-algorithms-and-data-structures/es6/use-class-syntax-to-define-a-constructor-function.md @@ -10,9 +10,9 @@ dashedName: use-class-syntax-to-define-a-constructor-function ES6 では、class キーワードを使用してオブジェクトを作成する新しい構文が提供されています。 -In ES5, an object can be created by defining a `constructor` function and using the `new` keyword to instantiate the object. +ES5 では、`constructor` 関数を定義して、`new` キーワードを使ってオブジェクトをインスタンス化することによってオブジェクトを作成できました。 -In ES6, a `class` declaration has a `constructor` method that is invoked with the `new` keyword. If the `constructor` method is not explicitly defined, then it is implicitly defined with no arguments. +ES6 では、`class` 宣言が `new` キーワードにより呼び出される `constructor` メソッドを持ちます。 `constructor` メソッドが明示的に定義されない場合は、暗黙的に引数なしで定義されます。 ```js // Explicit constructor @@ -41,21 +41,21 @@ const atlas = new Rocket(); atlas.launch(); ``` -It should be noted that the `class` keyword declares a new function, to which a constructor is added. This constructor is invoked when `new` is called to create a new object. +`class` キーワードは、新しい関数を宣言していることに注意してください。そこにコンストラクターを追加します。 このコンストラクターは、新しいオブジェクトを作成するために `new` が呼び出されたときに実行されます。 -**Note:** UpperCamelCase should be used by convention for ES6 class names, as in `SpaceShuttle` used above. +**注:** ES6 のクラス名には、上記の `SpaceShuttle` のように「アッパーキャメルケース」を使用するのが慣例になっています。 -The `constructor` method is a special method for creating and initializing an object created with a class. You will learn more about it in the Object Oriented Programming section of the JavaScript Algorithms And Data Structures Certification. +`constructor` メソッドは、class を使用して作成されるオブジェクトを生成、初期化するための特別なメソッドです。 詳細については、「JavaScript アルゴリズムとデータ構造」認定講座の「オブジェクト指向プログラミング」のセクションを参照してください。 # --instructions-- -Use the `class` keyword and write a `constructor` to create the `Vegetable` class. +`class` キーワードを使用して `constructor` を記述し、`Vegetable` クラスを作成してください。 -The `Vegetable` class allows you to create a vegetable object with a property `name` that gets passed to the `constructor`. +`Vegetable` クラスを使用すると、`constructor` に渡されたプロパティ `name` を持つ野菜オブジェクトを作成できるようにします。 # --hints-- -`Vegetable` should be a `class` with a defined `constructor` method. +`Vegetable` は、`constructor` メソッドが定義された `class` である必要があります。 ```js assert( @@ -63,13 +63,13 @@ assert( ); ``` -The `class` keyword should be used. +`class` キーワードを使用する必要があります。 ```js assert(code.match(/class/g)); ``` -`Vegetable` should be able to be instantiated. +`Vegetable` をインスタンス化できる必要があります。 ```js assert(() => { @@ -78,7 +78,7 @@ assert(() => { }); ``` -`carrot.name` should return `carrot`. +`carrot.name` は `carrot` を返す必要があります。 ```js assert(carrot.name == 'carrot'); diff --git a/curriculum/challenges/japanese/14-responsive-web-design-22/learn-css-colors-by-building-a-set-of-colored-markers/616965351e74d4689eb6de30.md b/curriculum/challenges/japanese/14-responsive-web-design-22/learn-css-colors-by-building-a-set-of-colored-markers/616965351e74d4689eb6de30.md index a82155f4e9f..ad95d5e78a0 100644 --- a/curriculum/challenges/japanese/14-responsive-web-design-22/learn-css-colors-by-building-a-set-of-colored-markers/616965351e74d4689eb6de30.md +++ b/curriculum/challenges/japanese/14-responsive-web-design-22/learn-css-colors-by-building-a-set-of-colored-markers/616965351e74d4689eb6de30.md @@ -9,24 +9,24 @@ dashedName: step-5 You can have multiple self-closing `meta` elements on a web page. What distinguishes one `meta` element from the other is the attribute. You should add a new meta element for each attribute you want to specify. -Add another self-closing `meta` element within the `head`. Give it a `name` attribute set to `viewport` and a `content` attribute set to `width=device-width, initial-scale=1.0` so your page looks the same on all devices. +自己終了要素である `meta` 要素をもう 1 つ、`head` 要素内に追加してください。 `name` 属性を `viewport` に、`content` 属性を `width=device-width, initial-scale=1.0` に設定してください。これにより、あらゆるデバイスでページが同じように表示されます。 # --hints-- -You should have two `meta` elements. +2 つの `meta` 要素が必要です。 ```js const meta = document.querySelectorAll('meta'); assert(meta?.length === 2); ``` -Your new `meta` element should be a self-closing element. +新しい `meta` 要素は自己終了要素である必要があります。 ```js assert(code.match(/<\/meta>/i) === null); ``` -Your new `meta` element should have a `name` attribute set to `viewport`, and a `content` attribute set to `width=device-width, initial-scale=1.0`. +新しい `meta` 要素の `name` 属性には `viewport` を、`content` 属性には `width=device-width, initial-scale=1.0` を設定する必要があります。 ```js const meta = [...document.querySelectorAll('meta')]; diff --git a/curriculum/challenges/japanese/14-responsive-web-design-22/learn-css-colors-by-building-a-set-of-colored-markers/61764c602bee6974e7790f35.md b/curriculum/challenges/japanese/14-responsive-web-design-22/learn-css-colors-by-building-a-set-of-colored-markers/61764c602bee6974e7790f35.md index b3a0dcc2746..fce34131742 100644 --- a/curriculum/challenges/japanese/14-responsive-web-design-22/learn-css-colors-by-building-a-set-of-colored-markers/61764c602bee6974e7790f35.md +++ b/curriculum/challenges/japanese/14-responsive-web-design-22/learn-css-colors-by-building-a-set-of-colored-markers/61764c602bee6974e7790f35.md @@ -15,19 +15,19 @@ dashedName: step-16 If you add multiple classes to an HTML element, the styles of the first classes you list may be overridden by later classes. -To begin, add the class `one` to the first marker `div` element. +はじめに、クラス `one` を最初のマーカーの `div` 要素に追加してください。 # --hints-- -You should add the class `one` to the first marker `div` element. +クラス `one` を最初のマーカーの `div` 要素に追加してください。 ```js const containerFirstChild = [...document.querySelector('.container')?.children][0]; assert(containerFirstChild?.classList?.contains('one')); ``` -Your first marker `div` should have the classes `marker` and `one`. +最初のマーカーの `div` には `marker` と `one` というクラスが必要です。 ```js const containerFirstChild = [...document.querySelector('.container')?.children][0]; diff --git a/curriculum/challenges/japanese/14-responsive-web-design-22/learn-css-grid-by-building-a-magazine/6143d2842b497779bad947de.md b/curriculum/challenges/japanese/14-responsive-web-design-22/learn-css-grid-by-building-a-magazine/6143d2842b497779bad947de.md index e409e6b5712..1132851b305 100644 --- a/curriculum/challenges/japanese/14-responsive-web-design-22/learn-css-grid-by-building-a-magazine/6143d2842b497779bad947de.md +++ b/curriculum/challenges/japanese/14-responsive-web-design-22/learn-css-grid-by-building-a-magazine/6143d2842b497779bad947de.md @@ -7,25 +7,25 @@ dashedName: step-26 # --description-- -To start your CSS, normalize the CSS rules by targeting all elements with `*`, including the `::before` and `::after` pseudo-selectors. +CSS を書き始めるためにまず、ブラウザによる表示の差異が統一されるように CSS ルールをリセットしましょう。`*` を使用してすべての要素をターゲットにし、`::before` および `::after` 疑似セレクターもそこに含めてください。 Set the `padding` and `margin` properties both to `0` and set the `box-sizing` property to `border-box`. # --hints-- -You should have a `*, ::before, ::after` selector. +`*, ::before, ::after` セレクターが 1 つ必要です。 ```js assert(new __helpers.CSSHelp(document).getStyle('*, ::before, ::after')); ``` -Your `*, ::before, ::after` selector should have a `padding` property set to `0`. +`*, ::before, ::after` セレクターの `padding` プロパティを `0` に設定する必要があります。 ```js assert(new __helpers.CSSHelp(document).getStyle('*, ::before, ::after')?.padding === '0px'); ``` -Your `*, ::before, ::after` selector should have a `margin` property set to `0`. +`*, ::before, ::after` セレクターの `margin` プロパティを `0` に設定する必要があります。 ```js assert(new __helpers.CSSHelp(document).getStyle('*, ::before, ::after')?.margin === '0px'); diff --git a/curriculum/challenges/japanese/14-responsive-web-design-22/learn-css-grid-by-building-a-magazine/6144d66a5358db0c80628757.md b/curriculum/challenges/japanese/14-responsive-web-design-22/learn-css-grid-by-building-a-magazine/6144d66a5358db0c80628757.md index b5717eb638e..1be7f7d00ae 100644 --- a/curriculum/challenges/japanese/14-responsive-web-design-22/learn-css-grid-by-building-a-magazine/6144d66a5358db0c80628757.md +++ b/curriculum/challenges/japanese/14-responsive-web-design-22/learn-css-grid-by-building-a-magazine/6144d66a5358db0c80628757.md @@ -13,13 +13,13 @@ dashedName: step-27 # --hints-- -You should create an `html` selector. +`html` セレクターを作成する必要があります。 ```js assert(new __helpers.CSSHelp(document).getStyle('html')); ``` -Your `html` selector should have a `font-size` property set to `62.5%`. +`html` セレクターの `font-size` プロパティを `62.5%` に設定する必要があります。 ```js assert(new __helpers.CSSHelp(document).getStyle('html')?.fontSize === '62.5%'); diff --git a/curriculum/challenges/japanese/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dc24073f86c76b9248c6ebb.md b/curriculum/challenges/japanese/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dc24073f86c76b9248c6ebb.md index 26388ee650d..da70bae27c9 100644 --- a/curriculum/challenges/japanese/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dc24073f86c76b9248c6ebb.md +++ b/curriculum/challenges/japanese/14-responsive-web-design-22/learn-html-by-building-a-cat-photo-app/5dc24073f86c76b9248c6ebb.md @@ -33,13 +33,13 @@ assert(document.querySelector('img')); assert(document.querySelector('img').src); ``` -`img` 要素の `src` 属性は '`https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg`' に設定される必要があります。 You have either omitted the URL or have a typo. The case of the URL is important. +`img` 要素の `src` 属性は '`https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg`' に設定される必要があります。 URL が設定されていないか、誤字脱字があります。 URL の大文字小文字も重要です。 ```js assert(document.querySelector('img').src === 'https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg'); ``` -Although you have set the `img` element's `src` to the correct URL, it is recommended to always surround the value of an attribute with quotation marks. +`img` 要素の `src` は正しい URL に設定されていますが、属性の値は常に引用符 (") で囲むことが推奨されています。 ```js assert(!/\