Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TextDecoder and TextEncoder #338

Merged

Conversation

homero304
Copy link
Contributor

Buenas tardes, podrian revisar mi pull request de favor?
gracias

saludos,
Homero Enrique Marin Galindo

@CLAassistant
Copy link

CLAassistant commented Aug 9, 2020

CLA assistant check
All committers have signed the CLA.

@homero304 homero304 changed the title traduccion al espaniol TextDecoder and TextEncoder Aug 9, 2020
@joaquinelio joaquinelio self-requested a review August 9, 2020 18:27
Copy link
Member

@joaquinelio joaquinelio left a comment

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.
Copy link
Member

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 ":"

Suggested change
[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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/done


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.
Copy link
Member

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

Suggested change
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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/done

@javascript-translate-bot

Please make the requested changes. After it, add a comment "/done".
Then I'll ask for a new review 👻

@homero304
Copy link
Contributor Author

Si, para ver los cambios, tengo el server corriendo local en la computadora

@homero304
Copy link
Contributor Author

/done

Copy link
Member

@joaquinelio joaquinelio left a comment

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"

Copy link
Contributor

@vplentinax vplentinax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Todo Ok!

@joaquinelio joaquinelio merged commit b3ff949 into javascript-tutorial:master Aug 11, 2020
@javascript-translate-bot

Thank you 💖 I updated the Progress Issue #17 🎉 🎉 🎉

@homero304 homero304 deleted the TextDecoder-and-TextEncoder branch August 19, 2020 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants