aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathália Pissuti <nathaliapissuti@gmail.com>2021-10-10 19:46:07 -0300
committerGitHub <noreply@github.com>2021-10-10 19:46:07 -0300
commit2d656a91c64f9c18922276890f6018364f56b310 (patch)
tree9ae3c2dcccbf940c00494171a34cd3244a426f24
parenta8bab2f3420425f3bc7a7eb5443b9626179ddf00 (diff)
downloadtranslated-content-2d656a91c64f9c18922276890f6018364f56b310.tar.gz
translated-content-2d656a91c64f9c18922276890f6018364f56b310.tar.bz2
translated-content-2d656a91c64f9c18922276890f6018364f56b310.zip
Minor fixes in translation (#2672)
-rw-r--r--files/pt-br/web/javascript/guide/regular_expressions/index.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/files/pt-br/web/javascript/guide/regular_expressions/index.html b/files/pt-br/web/javascript/guide/regular_expressions/index.html
index 17363ea837..210d917d50 100644
--- a/files/pt-br/web/javascript/guide/regular_expressions/index.html
+++ b/files/pt-br/web/javascript/guide/regular_expressions/index.html
@@ -544,7 +544,7 @@ console.log(myArray);
// e pode ter vários espaços entre o nome e o sobrenome.
var names = "Harry Trump ;Fred Barney; Helen Rigby ; Bill Abel ; Chris Hand ";
-var output = ["---------- Original String\n", names + "\n"];
+var output = ["---------- String original\n", names + "\n"];
// Prepare dois padrões de expressão regular e armazenamento em array.
// Divide a string em elementos da matriz.
@@ -574,7 +574,7 @@ var bySurnameList = [];
// As variáveis ​​$ 1 e $ 2 se referem às partes
// memorizado enquanto corresponde ao padrão.
-output.push("---------- After Split by Regular Expression");
+output.push("---------- Após Separar pela Expressão Regular");
var i, len;
for (i = 0, len = nameList.length; i &lt; len; i++){
@@ -583,19 +583,19 @@ for (i = 0, len = nameList.length; i &lt; len; i++){
}
// Exibe a nova matriz.
-output.push("---------- Names Reversed");
+output.push("---------- Nomes Invertidos");
for (i = 0, len = bySurnameList.length; i &lt; len; i++){
output.push(bySurnameList[i]);
}
// Classifica pelo sobrenome e exibe a matriz classificada.
bySurnameList.sort();
-output.push("---------- Sorted");
+output.push("---------- Ordenado");
for (i = 0, len = bySurnameList.length; i &lt; len; i++){
output.push(bySurnameList[i]);
}
-output.push("---------- End");
+output.push("---------- Fim");
console.log(output.join("\n"));
</pre>