Server Sent Events by diogoosz · Pull Request #502 · javascript-tutorial/pt.javascript.info
Repository navigation
Server Sent Events - #502
Merged
gabifs merged 2 commits into javascript-tutorial:master from diogoosz:translate-server-sent-events Dec 6, 2026
Merged
Server Sent Events #502 gabifs merged 2 commits into javascript-tutorial:master from diogoosz:translate-server-sent-events
Conversation
diogoosz commented Nov 21, 2026
Copy link Copy Markdown
Contributor
Resumo
Traduz o artigo "Server Sent Events" para o português, incluindo a demo embutida via [codetabs src="eventsource"] (eventsource.view/index.html): botões, texto instrucional e mensagens de log. Nomes literais de evento (open, message, bye) ficaram sem tradução, por serem identificadores. server.js não tem texto voltado ao usuário e foi deixado como está.
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.
🤖 Generated with Claude Code
Translate "Server Sent Events" article to Portuguese
085cd86
Also translates the embedded demo shown via [codetabs] (eventsource.view/index.html): button labels, instructional text, and log messages (keeping literal event-name values like "open", "message", "bye" untranslated, as identifiers). server.js has no user-facing text and was 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
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 feedback from @gabifs
439a79f
- Translate article title: "Server Sent Events" -> "Eventos enviados pelo servidor (Server-Sent Events)"
- Translate mixed-language example strings ("New message", "Message 1/2/3", "of two lines", reconnection delay message)
- Fix "vai obter" -> "vai receber" (clearer meaning for incoming header)
- Fix ambiguous pronoun: "ele" -> "readyState" (explicit)
- Remove weakening "só" in "é só o suficiente" -> "é suficiente"
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
diogoosz commented Nov 25, 2026
Copy link Copy Markdown
Contributor
Author
|
@gabifs Aplicadas as 5 correções: título traduzido ("Eventos enviados pelo servidor (Server-Sent Events)"), strings de exemplo misturadas traduzidas ("New message", "Message 1/2/3", "of two lines", mensagem do atraso de reconexão), "vai receber" no lugar de "vai obter", pronome ambíguo trocado por |
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 ✅
Sugestão opcional, sem bloquear: ainda sobraram alguns textos de exemplo em inglês que eu não tinha apontado. Se quiser manter o mesmo padrão:
- linha 49:
"First line"/"Second line" - linha 179:
data: Hello - linhas 189-197:
alert(Joined ...),alert(Said: ...),alert(Left ...)
1fda53b
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