Translate 'Event delegation' to Portuguese by diogoosz · Pull Request #512 · javascript-tutorial/pt.javascript.info
Repository navigation
Translate 'Event delegation' to Portuguese - #512
Merged
gabifs merged 2 commits into javascript-tutorial:master from diogoosz:translate-event-delegation Nov 22, 2026
Merged
Translate 'Event delegation' to Portuguese #512 gabifs merged 2 commits into javascript-tutorial:master from diogoosz:translate-event-delegation
Conversation
diogoosz commented Nov 22, 2026 · edited Loading
Copy link Copy Markdown
Contributor
Resumo
Traduz o artigo "Event delegation" para o português, incluindo os 4 exercícios desta pasta e a demo bagua.view (traduzi o conteúdo da tabela de direção/elemento/cor/significado do Ba-Gua, já que é mostrado em funcionamento através do próprio iframe do artigo).
bagua-bubble.svg contém apenas nomes de tags e o identificador event.target, por isso ficou como está.
Conforme comentado na #1 .
Plano de teste
- Diff de todos os trechos de código (code spans) entre o original em inglês e a tradução.
- Grep em busca de falsos cognatos conhecidos e registro informal.
- Confirmação de que nenhum SVG foi alterado (git diff --stat -- '*.svg').
- Releitura manual completa para checar sentido e concordância.
Translate 'Event delegation' article to Portuguese
13f0243
Includes all 4 exercise subfolders and the bagua.view demo (translated the Ba-Gua direction/element/color/meaning table content, since it's shown live via the article's own iframe). bagua-bubble.svg contains only tag names and the event.target identifier, so left untouched. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>gabifs mentioned this pull request Nov 22, 2026 Portuguese Translation Progress #1 Open gabifs reviewed Nov 22, 2026
View reviewed changes
Comment thread 2-ui/2-events/03-event-delegation/1-hide-message-delegate/solution.view/index.html
Outdated
| <h3> Cat </h3> | ||
| <p> The domestic cat (Latin : Felis catus) is a small, typically furry, carnivorous mammal. They are often called house cats when kept as indoor pets or simply cats when there is no need to distinguish them from other felids and felines. Cats are often valued by humans for companionship and for their ability to hunt vermin . | ||
| <h3> Gato </h3> | ||
| <p> O gato doméstico (em latim : Felis catus) é um mamífero carnívoro pequeno, geralmente peludo. Eles são frequentemente chamados de gatos domésticos quando mantidos como animais de estimação dentro de casa, ou simplesmente gatos quando não há necessidade de distingui-los de outros felídeos e felinos. Os gatos são frequentemente valorizados pelos humanos por companhia e por sua habilidade de caçar pragas . |
View reviewed changes
Comment thread 2-ui/2-events/03-event-delegation/1-hide-message-delegate/task.md
Outdated
| [iframe src="solution" height=420] | ||
|
|
||
| P.S. Should be only one event listener on the container, use event delegation . | ||
| P.S. Deve haver apenas um listener de evento no container, use delegação de eventos . |
Apply review suggestions from gabifs
b63c6fe
- Avoid repeating "gatos domésticos" for both "domestic cat" and "house cats" in the same sentence; use "gatos caseiros" for the latter - Translate "listener" as "manipulador" for consistency with the rest of the chapter Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
diogoosz commented Nov 22, 2026
Copy link Copy Markdown
Contributor
Author
|
Obrigado pela revisão, @gabifs ! Corrigido:
|
View reviewed changes
gabifs left a comment
Copy link Copy Markdown
Contributor
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more .
Todas as sugestões foram aplicadas. Obrigado pela tradução, @diogoosz ! 🎉
gabifs merged commit618b543
into
javascript-tutorial : master
Nov 22, 2026
1 check passed
Sign up for free
to join this conversation on GitHub .
Already have an account?
Sign in to comment