GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Translate "WeakRef and FinalizationRegistry" by diogoosz · Pull Request #491 · javascript-tutorial/pt.javascript.info Conversation
|
| Isso acontece para cada imagem selecionada: | ||
| </br><br> | ||
|
|
||
|  |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
As capturas/GIFs da demo (weakref-finalizationregistry-demo-01..08) ainda mostram a UI e os logs em inglês ("Create collage", "Url: ... Size: ... Type: ..."), mas o texto agora fala em "Criar colagem" e o utils.js passa a logar "Tamanho"/"Tipo". Leitor vê botão/log diferente do que o artigo descreve. Sugestão: mencionar o rótulo original entre parênteses ou manter os logs do utils.js iguais às imagens.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| const logEl = document.createElement("div"); | ||
| logEl.classList.add("logger-item", "logger--error"); | ||
| logEl.innerHTML = `CLEANED_IMAGE: Url: ${imgName}, Size: ${size}, Type: ${type}`; | ||
| logEl.innerHTML = `CLEANED_IMAGE: URL: ${imgName}, Tamanho: ${size}, Tipo: ${type}`; |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Log traduzido (Tamanho/Tipo) diverge das imagens do artigo (demo-03..08), que mostram Url: ..., Size: ..., Type: .... Considerar manter o formato original do log para casar com os screenshots, ou aceitar a divergência conscientemente.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| <meta charset="utf-8"> | ||
| <link rel="stylesheet" href="index.css"> | ||
| <title>WeakRef DOM Logger</title> | ||
| <title>Logger DOM com WeakRef</title> |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Conteúdo agora está em português, mas <html lang="en"> (linha 2) não foi alterado. Leitores de tela/hifenização vão tratar o texto como inglês. Sugestão: <html lang="pt-BR">.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| <meta charset="utf-8"> | ||
| <link rel="stylesheet" href="index.css"> | ||
| <title>Photo Library Collage</title> | ||
| <title>Colagem da Biblioteca de Fotos</title> |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Mesmo caso: textos traduzidos, mas <html lang="en"> (linha 2) permanece. Sugestão: <html lang="pt-BR">.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| ```js | ||
| // When the user object is deleted by the garbage collector, the following message will be printed in the console: | ||
| "John has been collected by the garbage collector." | ||
| // Quando o objeto user é excluído pelo coletor de lixo, a seguinte mensagem será exibida na console: |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
"na console" → em pt-BR o termo é masculino: "no console".
| // Quando o objeto user é excluído pelo coletor de lixo, a seguinte mensagem será exibida na console: | |
| // Quando o objeto user é excluído pelo coletor de lixo, a seguinte mensagem será exibida no console: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
|
||
| Paying attention to the output in the console, you can see, which of the photos were downloaded from the cloud - this is indicated by <span style="background-color:#133159;color:white;font-weight:500">FETCHED_IMAGE</span>. | ||
| Since this is the first attempt to create a collage, this means, that at this stage the "weak cache" was still empty, and all the photos were downloaded from the cloud and put in it. | ||
| Observando a saída na console, você pode ver quais das fotos foram baixadas da nuvem - isso é indicado por <span style="background-color:#133159;color:white;font-weight:500">FETCHED_IMAGE</span>. |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
"saída na console" → "saída no console" (masculino em pt-BR).
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| To increase page loading speed, it would be reasonable to download and display photo thumbnails in *compressed* quality. | ||
| But, to create a collage from selected photos, download and use them in *full-size* quality. | ||
| Para aumentar a velocidade de carregamento da página, seria razoável baixar e exibir as miniaturas das fotos em qualidade *comprimida*. | ||
| Mas, para criar uma colagem a partir das fotos selecionadas, baixá-las e usá-las em qualidade *tamanho real*. |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
"em qualidade tamanho real" soa estranho. Sugestão:
| Mas, para criar uma colagem a partir das fotos selecionadas, baixá-las e usá-las em qualidade *tamanho real*. | |
| Mas, para criar uma colagem a partir das fotos selecionadas, baixá-las e usá-las em *tamanho real*. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.