Node properties: type, tag and contents by diogoosz · Pull Request #505 · javascript-tutorial/pt.javascript.info
Repository navigation
Node properties: type, tag and contents - #505
Merged
gabifs merged 5 commits into javascript-tutorial:master from diogoosz:translate-node-properties Dec 6, 2026
Merged
Node properties: type, tag and contents #505 gabifs merged 5 commits into javascript-tutorial:master from diogoosz:translate-node-properties
Conversation
diogoosz commented Nov 21, 2026 · edited Loading
Copy link Copy Markdown
Contributor
Resumo
Traduz o artigo "Node properties: type, tag and contents" para o português, incluindo o rótulo traduzível do dom-class-hierarchy.svg ("Document as a whole") via images.yml + pipeline do gulp; os demais rótulos são nomes de classe/tag e ficaram como estão. Inclui também os 4 exercícios desta pasta (lastChild/nodeType, contagem de descendentes, tag em comentário, hierarquia do document).
Conforme comentado na #1 (reivindicado anteriormente por @d2uart em 2024, sem PR desde então).
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.
- Releitura manual completa para checar sentido e concordância.
Translate "Node properties: type, tag and contents" article to Portug...
4b7affb
...uese
Also translates the one translatable label in
dom-class-hierarchy.svg ("Document as a whole") via images.yml +
the gulp translation pipeline; all other labels in it are class/tag
names and were left untouched.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Translate remaining exercises in 'Node properties' to Portuguese
a34efa3
Completes the 4 exercise subfolders (lastChild/nodeType, tree-info descendant count, tag-in-comment, document hierarchy) left pending in the previous commit. 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
gabifs reviewed Nov 22, 2026
View reviewed changes
gabifs reviewed Nov 22, 2026
View reviewed changes
gabifs reviewed Nov 22, 2026
View reviewed changes
Apply review suggestions from gabifs
0004056
- Translate the article title, which had been left in English - Translate "nested" as "aninhados" instead of "encadeados" (chained), consistent with the rest of the chapter - Clarify "no HTML neles" (ambiguous referent) as "nos comentários do HTML" (dom-class-hierarchy.svg was already generated through images.yml, not hand-edited; confirmed it regenerates byte-identical via the pipeline, so no change needed there.) 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:
Sobre o |
gabifs commented Nov 22, 2026
Copy link Copy Markdown
Contributor
|
Obrigado pelas correções, @diogoosz ! Sobre o Pode restaurar o arquivo a partir da git checkout <remoto-do-repositório-principal>/master -- 2-ui/1-document/05-basic-dom-node-properties/dom-class-hierarchy.svg A entrada no |
Restore dom-class-hierarchy.svg to upstream English original
50610ec
Per gabifs: SVG files in the repo always stay in English; the translation is applied only from images.yml (at serve time, not committed). Even though the pipeline-generated content was byte-identical, keeping the file untouched avoids conflicts with future upstream syncs. The images.yml entry stays as-is. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>diogoosz added a commit to diogoosz/pt.javascript.info that referenced this pull request Nov 22, 2026
Restore all SVGs in this chapter to upstream English originals
c0666e4
Per gabifs (on PR javascript-tutorial#505/javascript-tutorial#511, same rule applies here): SVG files in the repo always stay identical to the English upstream; translation is applied only from images.yml, never by committing a translated file, whether hand-edited or generated by the figuresTranslate pipeline. This includes two files (metric-client-left-top.svg, metric-client-left-top-rtl.svg) that had been committed translated since before this round of fixes. All images.yml entries, including the label-width fixes from the previous commit, stay as-is. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
diogoosz commented Nov 22, 2026
Copy link Copy Markdown
Contributor
Author
|
Feito, @gabifs ! Restaurei o |
diogoosz commented Nov 25, 2026
Copy link Copy Markdown
Contributor
Author
|
@gabifs Revisei os 4 comentários e todos já tinham sido corrigidos em commits anteriores (título traduzido, "aninhados" em vez de "encadeados", "nos comentários do HTML", e o |
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 .
Obrigado pelas correções, @diogoosz ! Conferi tudo e está tudo certo. Aprovado ✅
Merge branch 'master' into translate-node-properties
c82cb25
# Conflicts: # images.ymlgabifs merged commit
2dea682
into
javascript-tutorial : master
Dec 6, 2026
1 check passed
Sign up for free
to join this conversation on GitHub .
Already have an account?
Sign in to comment