-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tradução Capítulo 9 #468
base: 3rd
Are you sure you want to change the base?
Tradução Capítulo 9 #468
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bilianesilva -- primeira revisão iniciada com alguns itens.
|
||
{{quote {author: "Jamie Zawinski", chapter: true} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reparei que você removeu do arquivo todos os metadados (tudo que está entre {{}}
). Você poderia, por gentileza, manter a estrutura do arquivo original, sem remover essas informações?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Eu acredito que tenha sido a minha extensão que uso no VScode. Vou dar uma olhada e consertar.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bilianesilva deixei alguns comentários para ajuste. Lembre-se de que estamos apenas traduzindo o conteúdo e queremos manter a estrutura o máximo possível igual ao arquivo original. Isso inclui os blocos de códigos também. Qualquer coisa só mandar mensagem que vamos conversando.
|
||
{{quote {author: "Jamie Zawinski", chapter: true} | ||
|
||
Some people, when confronted with a problem, think 'I know, I'll use | ||
regular expressions.' Now they have two problems. | ||
> "Algumas pessoas, quando confrontadas com um problema, pensam "Eu sei, terei que usar expressões regulares." Agora elas têm dois problemas. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remover >
Yuan-Ma said, 'When you cut against the grain of the wood, much | ||
strength is needed. When you program against the grain of the problem, | ||
much code is needed.' | ||
> "Yuan-Ma disse, 'Quando você serra contra o sentido da madeira, muita força será necessária. Quando você programa contra o sentido do problema, muito código será necessário' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remover >
|
||
``` | ||
```js |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remover js
Isso acontece em todos os blocos de código. Vamos manter o máximo possível igual o original.
| `\W` | A nonalphanumeric character | ||
| `\S` | A nonwhitespace character | ||
| `.` | Any character except for newline | ||
- \d caracteres numéricos |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
você removeu as |
, os ``
e alterou o espaçamento. Vamos manter a estrutura igual o original, apenas traduza os textos.
|
||
{{index "plus character", repetition, "+ operator"}} | ||
{{index "plus character", repetition, `+ operator`}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Manter como o original, você trocou aspas pelo `
["earth bed", "learning ape", "BEET"]); | ||
verify( | ||
/.../, | ||
["Siebentausenddreihundertzweiundzwanzig"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mantenha como o original
|
||
verify( | ||
/.../, | ||
["red platypus", "wobbling nest"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mantenha como o original
} | ||
// Ignore unfinished exercises | ||
if (regexp.source == "...") return; | ||
for (let str of yes) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mantenha como o original
if (!number.test(str)) { | ||
console.log(`Failed to match '${str}'`); | ||
} | ||
for (let str of [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mantenha como o original
if (number.test(str)) { | ||
console.log(`Incorrectly accepted '${str}'`); | ||
} | ||
for (let str of ["1a", "+-1", "1.2.3", "1+1", "1e4.5", ".5.", "1f5", "."]) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mantenha como o original
Finalizada a alteracao para o branch correto da 3rd.
#408