chore(i18n,learn): processed translations (#45271)

This commit is contained in:
camperbot
2022-02-28 13:29:21 +05:30
committed by GitHub
parent 5e5015e47d
commit fbc7a26529
127 changed files with 1288 additions and 1079 deletions

View File

@ -33,29 +33,29 @@ function equalityTest(myVal) {
# --instructions--
Add the equality operator to the indicated line so that the function will return the string `Equal` when `val` is equivalent to `12`.
`val``12` と等しい場合に関数が文字列 `Equal` を返すように、指定された行に等価演算子を追加してください。
# --hints--
`testEqual(10)` should return the string `Not Equal`
`testEqual(10)` は文字列 `Not Equal` を返す必要があります。
```js
assert(testEqual(10) === 'Not Equal');
```
`testEqual(12)` should return the string `Equal`
`testEqual(12)` は文字列 `Equal` を返す必要があります。
```js
assert(testEqual(12) === 'Equal');
```
`testEqual("12")` should return the string `Equal`
`testEqual("12")` は文字列 `Equal` を返す必要があります。
```js
assert(testEqual('12') === 'Equal');
```
You should use the `==` operator
`==` 演算子を使用してください。
```js
assert(code.match(/==/g) && !code.match(/===/g));

View File

@ -24,53 +24,53 @@ dashedName: comparison-with-the-greater-than-operator
# --instructions--
Add the greater than operator to the indicated lines so that the return statements make sense.
return ステートメントの意味が正しくなるように、指定された行に大なり演算子を追加してください。
# --hints--
`testGreaterThan(0)` should return the string `10 or Under`
`testGreaterThan(0)` は文字列 `10 or Under` を返す必要があります。
```js
assert(testGreaterThan(0) === '10 or Under');
```
`testGreaterThan(10)` should return the string `10 or Under`
`testGreaterThan(10)` は文字列 `10 or Under` を返す必要があります。
```js
assert(testGreaterThan(10) === '10 or Under');
```
`testGreaterThan(11)` should return the string `Over 10`
`testGreaterThan(11)` は文字列 `Over 10` を返す必要があります。
```js
assert(testGreaterThan(11) === 'Over 10');
```
`testGreaterThan(99)` should return the string `Over 10`
`testGreaterThan(99)` は文字列 `Over 10` を返す必要があります。
```js
assert(testGreaterThan(99) === 'Over 10');
```
`testGreaterThan(100)` should return the string `Over 10`
`testGreaterThan(100)` は文字列 `Over 10` を返す必要があります。
```js
assert(testGreaterThan(100) === 'Over 10');
```
`testGreaterThan(101)` should return the string `Over 100`
`testGreaterThan(101)` は文字列 `Over 100` を返す必要があります。
```js
assert(testGreaterThan(101) === 'Over 100');
```
`testGreaterThan(150)` should return the string `Over 100`
`testGreaterThan(150)` は文字列 `Over 100` を返す必要があります。
```js
assert(testGreaterThan(150) === 'Over 100');
```
You should use the `>` operator at least twice
`>` 演算子を 2 回以上使用してください。
```js
assert(code.match(/val\s*>\s*('|")*\d+('|")*/g).length > 1);

View File

@ -24,53 +24,53 @@ dashedName: comparison-with-the-greater-than-or-equal-to-operator
# --instructions--
Add the greater than or equal to operator to the indicated lines so that the return statements make sense.
return ステートメントの意味が正しくなるように、指定された行に大なりイコール演算子を追加してください。
# --hints--
`testGreaterOrEqual(0)` should return the string `Less than 10`
`testGreaterOrEqual(0)` は文字列 `Less than 10` を返す必要があります。
```js
assert(testGreaterOrEqual(0) === 'Less than 10');
```
`testGreaterOrEqual(9)` should return the string `Less than 10`
`testGreaterOrEqual(9)` は文字列 `Less than 10` を返す必要があります。
```js
assert(testGreaterOrEqual(9) === 'Less than 10');
```
`testGreaterOrEqual(10)` should return the string `10 or Over`
`testGreaterOrEqual(10)` は文字列 `10 or Over` を返す必要があります。
```js
assert(testGreaterOrEqual(10) === '10 or Over');
```
`testGreaterOrEqual(11)` should return the string `10 or Over`
`testGreaterOrEqual(11)` は文字列 `10 or Over` を返す必要があります。
```js
assert(testGreaterOrEqual(11) === '10 or Over');
```
`testGreaterOrEqual(19)` should return the string `10 or Over`
`testGreaterOrEqual(19)` は文字列 `10 or Over` を返す必要があります。
```js
assert(testGreaterOrEqual(19) === '10 or Over');
```
`testGreaterOrEqual(100)` should return the string `20 or Over`
`testGreaterOrEqual(100)` は文字列 `20 or Over` を返す必要があります。
```js
assert(testGreaterOrEqual(100) === '20 or Over');
```
`testGreaterOrEqual(21)` should return the string `20 or Over`
`testGreaterOrEqual(21)` は文字列 `20 or Over` を返す必要があります。
```js
assert(testGreaterOrEqual(21) === '20 or Over');
```
You should use the `>=` operator at least twice
`>=` 演算子を 2 回以上使用してください。
```js
assert(code.match(/val\s*>=\s*('|")*\d+('|")*/g).length > 1);

View File

@ -23,41 +23,41 @@ dashedName: comparison-with-the-inequality-operator
# --instructions--
Add the inequality operator `!=` in the `if` statement so that the function will return the string `Not Equal` when `val` is not equivalent to `99`.
`val` `99` と等しくない場合に関数が文字列 `Not Equal` を返すように、`if` ステートメントに不等価演算子 `!=` を追加してください。
# --hints--
`testNotEqual(99)` should return the string `Equal`
`testNotEqual(99)` は文字列 `Equal` を返す必要があります。
```js
assert(testNotEqual(99) === 'Equal');
```
`testNotEqual("99")` should return the string `Equal`
`testNotEqual("99")` は文字列 `Equal` を返す必要があります。
```js
assert(testNotEqual('99') === 'Equal');
```
`testNotEqual(12)` should return the string `Not Equal`
`testNotEqual(12)` は文字列 `Not Equal` を返す必要があります。
```js
assert(testNotEqual(12) === 'Not Equal');
```
`testNotEqual("12")` should return the string `Not Equal`
`testNotEqual("12")` は文字列 `Not Equal` を返す必要があります。
```js
assert(testNotEqual('12') === 'Not Equal');
```
`testNotEqual("bob")` should return the string `Not Equal`
`testNotEqual("bob")` は文字列 `Not Equal` を返す必要があります。
```js
assert(testNotEqual('bob') === 'Not Equal');
```
You should use the `!=` operator
`!=` 演算子を使用してください。
```js
assert(code.match(/(?!!==)!=/));

View File

@ -23,47 +23,47 @@ dashedName: comparison-with-the-less-than-operator
# --instructions--
Add the less than operator to the indicated lines so that the return statements make sense.
return ステートメントの意味が正しくなるように、指定された行に小なり演算子を追加してください。
# --hints--
`testLessThan(0)` should return the string `Under 25`
`testLessThan(0)` は文字列 `Under 25` を返す必要があります。
```js
assert(testLessThan(0) === 'Under 25');
```
`testLessThan(24)` should return the string `Under 25`
`testLessThan(24)` は文字列 `Under 25` を返す必要があります。
```js
assert(testLessThan(24) === 'Under 25');
```
`testLessThan(25)` should return the string `Under 55`
`testLessThan(25)` は文字列 `Under 55` を返す必要があります。
```js
assert(testLessThan(25) === 'Under 55');
```
`testLessThan(54)` should return the string `Under 55`
`testLessThan(54)` は文字列 `Under 55` を返す必要があります。
```js
assert(testLessThan(54) === 'Under 55');
```
`testLessThan(55)` should return the string `55 or Over`
`testLessThan(55)` は文字列 `55 or Over` を返す必要があります。
```js
assert(testLessThan(55) === '55 or Over');
```
`testLessThan(99)` should return the string `55 or Over`
`testLessThan(99)` は文字列 `55 or Over` を返す必要があります。
```js
assert(testLessThan(99) === '55 or Over');
```
You should use the `<` operator at least twice
`<` 演算子を 2 回以上使用してください。
```js
assert(code.match(/val\s*<\s*('|")*\d+('|")*/g).length > 1);

View File

@ -23,53 +23,53 @@ dashedName: comparison-with-the-less-than-or-equal-to-operator
# --instructions--
Add the less than or equal to operator to the indicated lines so that the return statements make sense.
return ステートメントの意味が正しくなるように、指定された行に小なりイコール演算子を追加してください。
# --hints--
`testLessOrEqual(0)` should return the string `Smaller Than or Equal to 12`
`testLessOrEqual(0)` は文字列 `Smaller Than or Equal to 12` を返す必要があります。
```js
assert(testLessOrEqual(0) === 'Smaller Than or Equal to 12');
```
`testLessOrEqual(11)` should return the string `Smaller Than or Equal to 12`
`testLessOrEqual(11)` は文字列 `Smaller Than or Equal to 12` を返す必要があります。
```js
assert(testLessOrEqual(11) === 'Smaller Than or Equal to 12');
```
`testLessOrEqual(12)` should return the string `Smaller Than or Equal to 12`
`testLessOrEqual(12)` は文字列 `Smaller Than or Equal to 12` を返す必要があります。
```js
assert(testLessOrEqual(12) === 'Smaller Than or Equal to 12');
```
`testLessOrEqual(23)` should return the string `Smaller Than or Equal to 24`
`testLessOrEqual(23)` は文字列 `Smaller Than or Equal to 24` を返す必要があります。
```js
assert(testLessOrEqual(23) === 'Smaller Than or Equal to 24');
```
`testLessOrEqual(24)` should return the string `Smaller Than or Equal to 24`
`testLessOrEqual(24)` は文字列 `Smaller Than or Equal to 24` を返す必要があります。
```js
assert(testLessOrEqual(24) === 'Smaller Than or Equal to 24');
```
`testLessOrEqual(25)` should return the string `More Than 24`
`testLessOrEqual(25)` は文字列 `More Than 24` を返す必要があります。
```js
assert(testLessOrEqual(25) === 'More Than 24');
```
`testLessOrEqual(55)` should return the string `More Than 24`
`testLessOrEqual(55)` は文字列 `More Than 24` を返す必要があります。
```js
assert(testLessOrEqual(55) === 'More Than 24');
```
You should use the `<=` operator at least twice
`<=` 演算子を 2 回以上使用してください。
```js
assert(code.match(/val\s*<=\s*('|")*\d+('|")*/g).length > 1);

View File

@ -20,33 +20,33 @@ dashedName: comparison-with-the-strict-equality-operator
3 === '3' // false
```
In the second example, `3` is a `Number` type and `'3'` is a `String` type.
2 番目の例では、 `3` `Number` 型で、 `'3'` `String` 型です。
# --instructions--
Use the strict equality operator in the `if` statement so the function will return the string `Equal` when `val` is strictly equal to `7`.
`if` ステートメントで厳密等価演算子を使用して、`val``7` と厳密に等しい場合に関数が文字列 `Equal` を返すようにしてください。
# --hints--
`testStrict(10)` should return the string `Not Equal`
`testStrict(10)` は文字列 `Not Equal` を返す必要があります。
```js
assert(testStrict(10) === 'Not Equal');
```
`testStrict(7)` should return the string `Equal`
`testStrict(7)` は文字列 `Equal` を返す必要があります。
```js
assert(testStrict(7) === 'Equal');
```
`testStrict("7")` should return the string `Not Equal`
`testStrict("7")` は文字列 `Not Equal` を返す必要があります。
```js
assert(testStrict('7') === 'Not Equal');
```
You should use the `===` operator
`===` 演算子を使用してください
```js
assert(code.match(/(val\s*===\s*\d+)|(\d+\s*===\s*val)/g).length > 0);

View File

@ -21,35 +21,35 @@ dashedName: comparison-with-the-strict-inequality-operator
# --instructions--
Add the strict inequality operator to the `if` statement so the function will return the string `Not Equal` when `val` is not strictly equal to `17`
`val` `17` と厳密に等しくない場合に関数が文字列 `Not Equal` を返すように、`if` ステートメントに厳密不等価演算子を追加してください。
# --hints--
`testStrictNotEqual(17)` should return the string `Equal`
`testStrictNotEqual(17)` は文字列 `Equal` を返す必要があります。
```js
assert(testStrictNotEqual(17) === 'Equal');
```
`testStrictNotEqual("17")` should return the string `Not Equal`
`testStrictNotEqual("17")` は文字列 `Not Equal` を返す必要があります。
```js
assert(testStrictNotEqual('17') === 'Not Equal');
```
`testStrictNotEqual(12)` should return the string `Not Equal`
`testStrictNotEqual(12)` は文字列 `Not Equal` を返す必要があります。
```js
assert(testStrictNotEqual(12) === 'Not Equal');
```
`testStrictNotEqual("bob")` should return the string `Not Equal`
`testStrictNotEqual("bob")` は文字列 `Not Equal` を返す必要があります。
```js
assert(testStrictNotEqual('bob') === 'Not Equal');
```
You should use the `!==` operator
`!==` 演算子を使用してください。
```js
assert(code.match(/(val\s*!==\s*\d+)|(\d+\s*!==\s*val)/g).length > 0);