From 4f8dad7662abe9196e82a62841a9fdae03dc00fd Mon Sep 17 00:00:00 2001 From: camperbot Date: Fri, 25 Feb 2022 18:50:33 +0530 Subject: [PATCH] chore(i18n,learn): processed translations (#45256) --- ...ing-a-subtle-pattern-as-a-background-image.md | 2 +- .../comparison-with-the-equality-operator.md | 10 ++++------ .../comparison-with-the-greater-than-operator.md | 10 ++++------ ...with-the-greater-than-or-equal-to-operator.md | 10 ++++------ .../comparison-with-the-inequality-operator.md | 12 +++++------- .../comparison-with-the-less-than-operator.md | 12 +++++------- ...on-with-the-less-than-or-equal-to-operator.md | 16 +++++++--------- ...mparison-with-the-strict-equality-operator.md | 6 ++---- ...arison-with-the-strict-inequality-operator.md | 8 +++----- 9 files changed, 35 insertions(+), 51 deletions(-) diff --git a/curriculum/challenges/portuguese/01-responsive-web-design/applied-visual-design/create-texture-by-adding-a-subtle-pattern-as-a-background-image.md b/curriculum/challenges/portuguese/01-responsive-web-design/applied-visual-design/create-texture-by-adding-a-subtle-pattern-as-a-background-image.md index af1fbca78d..185fc6d2a0 100644 --- a/curriculum/challenges/portuguese/01-responsive-web-design/applied-visual-design/create-texture-by-adding-a-subtle-pattern-as-a-background-image.md +++ b/curriculum/challenges/portuguese/01-responsive-web-design/applied-visual-design/create-texture-by-adding-a-subtle-pattern-as-a-background-image.md @@ -17,7 +17,7 @@ Usando o url `https://cdn-media-1.freecodecamp.org/imgr/MJAkxbh.png`, defina a p # --hints-- -O elemento `body` deve ter a propriedade `background` com a função `url()` apontando para o link forncido anteriormente. +O elemento `body` deve ter a propriedade `background` com a função `url()` apontando para o link fornecido anteriormente. ```js assert( diff --git a/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-equality-operator.md b/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-equality-operator.md index 94afde2001..6913dfbc73 100644 --- a/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-equality-operator.md +++ b/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-equality-operator.md @@ -25,14 +25,12 @@ function equalityTest(myVal) { Se `myVal` é igual a `10`, o operador de igualdade retorna `true`, assim o código nas chaves será executado e a função retornará `Equal`. Caso contrário, a função retornará `Not Equal`. Para que o JavaScript possa comparar dois tipos de dados diferentes (por exemplo, `numbers` e `strings`), deve converter um tipo para outro. Isto é conhecido como coerção de tipo (casting ou type coercion). No entanto, uma vez que a faça, você pode comparar os termos da seguinte forma: ```js -1 == 1 -1 == 2 -1 == '1' -"3" == 3 +1 == 1 // true +1 == 2 // false +1 == '1' // true +"3" == 3 // true ``` -Em ordem, essas expressões seriam avaliadas como `true`, `false`, `true` e `true`. - # --instructions-- Adicione o operador de igualdade à linha indicada para que a função retorne a string `Equal` quando `val` for equivalente a `12`. diff --git a/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-greater-than-operator.md b/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-greater-than-operator.md index af2bd69844..b061cf5726 100644 --- a/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-greater-than-operator.md +++ b/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-greater-than-operator.md @@ -16,14 +16,12 @@ Tal como o operador de igualdade, o operador maior que converterá os tipos de d **Exemplos** ```js -5 > 3 -7 > '3' -2 > 3 -'1' > 9 +5 > 3 // true +7 > '3' // true +2 > 3 // false +'1' > 9 // false ``` -Em ordem, essas expressões seriam iguais à `true`, `true`, `false` e `false`. - # --instructions-- Adicione o operador maior que para indicar as linhas indicadas para que as instruções de retorno façam sentido. diff --git a/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-greater-than-or-equal-to-operator.md b/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-greater-than-or-equal-to-operator.md index b60bafe849..9265ed044e 100644 --- a/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-greater-than-or-equal-to-operator.md +++ b/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-greater-than-or-equal-to-operator.md @@ -16,14 +16,12 @@ Tal como o operador de igualdade, o operador maior que converterá os tipos de d **Exemplos** ```js -6 >= 6 -7 >= '3' -2 >= 3 -'7' >= 9 +6 >= 6 // true +7 >= '3' // true +2 >= 3 // false +'7' >= 9 // false ``` -Em ordem, essas expressões seriam iguais à `true`, `true`, `false` e `false`. - # --instructions-- Adicione o operador maior ou igual que às linhas indicadas para que as instruções de retorno façam sentido. diff --git a/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-inequality-operator.md b/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-inequality-operator.md index 60e54cd23b..8ab62817a3 100644 --- a/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-inequality-operator.md +++ b/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-inequality-operator.md @@ -14,15 +14,13 @@ O operador de desigualdade (`!=`) é o oposto do operador de igualdade. Signific **Exemplos** ```js -1 != 2 -1 != "1" -1 != '1' -1 != true -0 != false +1 != 2 // true +1 != "1" // false +1 != '1' // false +1 != true // false +0 != false // false ``` -Em ordem, essas expressões seriam iguais à `true`, `false`, `false`, `false` e `false`. - # --instructions-- Adicione o operador de desigualdade `!=` na instrução `if` para que a função retorne a string `Not Equal` quando `val` não for equivalente a `99`. diff --git a/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-less-than-operator.md b/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-less-than-operator.md index 5847f79213..8ed11f8314 100644 --- a/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-less-than-operator.md +++ b/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-less-than-operator.md @@ -14,15 +14,13 @@ O operador menor que (`<`) compara os valores de dois números. Se o número à **Exemplos** ```js -2 < 5 -'3' < 7 -5 < 5 -3 < 2 -'8' < 4 +2 < 5 // true +'3' < 7 // true +5 < 5 // false +3 < 2 // false +'8' < 4 // false ``` -Em ordem, essas expressões seriam iguais à `true`, `true`, `false`, `false` e `false`. - # --instructions-- Adicione o operador menor que para indicar as linhas para que a instrução de retorno faça sentido. diff --git a/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-less-than-or-equal-to-operator.md b/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-less-than-or-equal-to-operator.md index 69629449c2..fd35ccf26a 100644 --- a/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-less-than-or-equal-to-operator.md +++ b/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-less-than-or-equal-to-operator.md @@ -14,15 +14,13 @@ O operador menor ou igual (`<=`) compara os valores de dois números. Se o núme **Exemplos** ```js -4 <= 5 -'7' <= 7 -5 <= 5 -3 <= 2 -'8' <= 4 +4 <= 5 // true +'7' <= 7 // true +5 <= 5 // true +3 <= 2 // false +'8' <= 4 // false ``` -Em ordem, essas expressões seriam iguais à `true`, `true`, `true`, `false` e `false`. - # --instructions-- Adicione o operador menor ou igual que para indicar as linhas para que as instruções de retorno façam sentido. @@ -59,13 +57,13 @@ assert(testLessOrEqual(23) === 'Smaller Than or Equal to 24'); assert(testLessOrEqual(24) === 'Smaller Than or Equal to 24'); ``` -`testLessOrEqual(25)` deve retornar a string `More than 24` +`testLessOrEqual(25)` deve retornar a string `More Than 24` ```js assert(testLessOrEqual(25) === 'More Than 24'); ``` -`testLessOrEqual(55)` deve retornar a string `More than 24` +`testLessOrEqual(55)` deve retornar a string `More Than 24` ```js assert(testLessOrEqual(55) === 'More Than 24'); diff --git a/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-strict-equality-operator.md b/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-strict-equality-operator.md index f222cc1084..9ebd7fbfd7 100644 --- a/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-strict-equality-operator.md +++ b/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-strict-equality-operator.md @@ -16,12 +16,10 @@ Se os valores que são comparados tiverem valores diferentes, são considerados **Exemplos** ```js -3 === 3 -3 === '3' +3 === 3 // true +3 === '3' // false ``` -Essas condições retornariam `true` e `false`, respectivamente. - No segundo exemplo, `3` é um tipo de `Number` e `'3'` é um tipo `String`. # --instructions-- diff --git a/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-strict-inequality-operator.md b/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-strict-inequality-operator.md index caae841cd7..868fc2481d 100644 --- a/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-strict-inequality-operator.md +++ b/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-strict-inequality-operator.md @@ -14,13 +14,11 @@ O operador de desigualdade estrito (`!==`) é o oposto lógico do operador de ig **Exemplos** ```js -3 !== 3 -3 !== '3' -4 !== 3 +3 !== 3 // false +3 !== '3' // true +4 !== 3 // true ``` -Em ordem, essas expressões seriam iguais à `false`, `true` e `true`. - # --instructions-- Adicione o operador de desigualdade estrita ao comando `if` para que a função retorne a string `Not Equal` quando `val` não é estritamente igual a `17`