TextDecoder and TextEncoder by homero304 · Pull Request #338 · javascript-tutorial/es.javascript.info
Buenas tardes, podrian revisar mi pull request de favor?
gracias
saludos,
Homero Enrique Marin Galindo
homero304
changed the title
traduccion al espaniol
TextDecoder and TextEncoder
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Muy bueno.
Las unicas objeciones son de estilo.
NOTA: código.
Parece bien hecho, acá es fácil de seguir,
pero usualmente no nos arriesgamos a modificar más que los // comentarios
porque, programadores, nos gusta adornarlos con bugs.
Si loss modificas, sería bueno que tengas el server local instalado para probarlos.
| ## TextEncoder | ||
|
|
||
| [TextEncoder](https://encoding.spec.whatwg.org/#interface-textencoder) does the reverse thing -- converts a string into bytes. | ||
| [TextEncoder](https://encoding.spec.whatwg.org/#interface-textencoder) hace lo contrario -- convierte un string en bytes. |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
El doble guion -- es convertido por el server en guion largo — (no se ve asi en el git) .
En español el uso es — algo — distinto.
A veces lo dejo cuando es una lissta porque se ve maás claro,
opcion — hace tal cosa
opcion — hace tal cosa
pero como lo usa acá se ve mejor cambiarlo por ":"
| [TextEncoder](https://encoding.spec.whatwg.org/#interface-textencoder) hace lo contrario -- convierte un string en bytes. | |
| [TextEncoder](https://encoding.spec.whatwg.org/#interface-textencoder) hace lo contrario: convierte un string en bytes. |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/done
| ¿Qué pasa si los datos binarios son en realidad un string? Por ejemplo, recibimos un archivo con datos textuales. | ||
|
|
||
| The build-in [TextDecoder](https://encoding.spec.whatwg.org/#interface-textdecoder) object allows to read the value into an actual JavaScript string, given the buffer and the encoding. | ||
| Al proporcionar el búfer y la codificación, el objeto [TextDecoder](https://encoding.spec.whatwg.org/#interface-textdecoder) nos permite leer el texto de un conjunto de datos binarios y convertirlo en un dato de tipo string de JavaScript. |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No está NADA mal,
pero que el objeto importante esté al principio, (a veces combinado con la voz pasiva) tiene un propósito didáctico.
bufer y codificacion, secundarioss, quedan relegados al final de la oración
| Al proporcionar el búfer y la codificación, el objeto [TextDecoder](https://encoding.spec.whatwg.org/#interface-textdecoder) nos permite leer el texto de un conjunto de datos binarios y convertirlo en un dato de tipo string de JavaScript. | |
| El objeto [TextDecoder](https://encoding.spec.whatwg.org/#interface-textdecoder) nos permite leer el texto de un conjunto de datos binarios y convertirlo en un dato de tipo string de JavaScript, dados el búfer y la codificación. |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/done
Please make the requested changes. After it, add a comment "/done".
Then I'll ask for a new review 👻
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
bytheway,
podes discutirme las sugerencias, o rescribirlas, nadie es perfecto.
Edit:
Noto que me siguen figurando las recomendaciones,
supongo que las hiciste localmente y las subiste, lo que me da igual,
Pero si aceptaste las modificaciones "tal cual" las puse, es mucho más rápido usar el botón
"commit suggestion"
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Todo Ok!
Thank you 💖 I updated the Progress Issue #17 🎉 🎉 🎉
homero304
deleted the
TextDecoder-and-TextEncoder
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters