Skip to content
This repository was archived by the owner on Jan 20, 2022. It is now read-only.

Traducción API - Sección "Buffer" #89

Merged
merged 7 commits into from
Mar 17, 2015
Merged

Traducción API - Sección "Buffer" #89

merged 7 commits into from
Mar 17, 2015

Conversation

stringparser
Copy link

Tengo que revisar bastantes cosas que no tengo claras de esta traducción, pero antes voy a comel 👯.

Ahora después lo dejo por aquí.

Edit: Olvidaba el diff para que la corrección sea más liviana, haha

@stringparser stringparser added this to the pendiente milestone Mar 3, 2015
@stringparser stringparser changed the title añadir traducción de doc/api/buffer.markdown Traducción API - Sección "Buffer" Mar 3, 2015
dealing with TCP streams or the file system, it's necessary to handle octet
streams. Node has several strategies for manipulating, creating, and
consuming octet streams.
JavaScript puro acomoda bien Unicode pero no es amable con datos binarios. Cuando estamos trabajando con streams TCP o el sistema de archivos, es necesario poder manipular streams octeto. Node tiene varias estrategias para manipular, crear y consumir streams octeto.
Copy link

Choose a reason for hiding this comment

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

  • Javascript puro es amigable con Unicode ...
  • ¿octet streams === streams en octetos? (no conozco una traducción muy precisa)
  • ¿Deberían respetarse los saltos de línea originales?

Copy link
Author

Choose a reason for hiding this comment

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

  • hahahah lo se tío, tengo que hacerle un repaso tranquilamente
  • Yo tampoco conozco traducción precisa, creo que ese se me ha escapado al traducir. Tenía que haber sido streams de octetos? o lo que tu dices claro

@stringparser stringparser self-assigned this Mar 3, 2015
@a0viedo
Copy link
Member

a0viedo commented Mar 3, 2015

wow, excelente trabajo @stringparser 👏

@stringparser
Copy link
Author

hahaha, ¡gracias!

@SametSisartenep
Copy link

@stringparser @ipeluffo 🤘

@edsadr
Copy link
Member

edsadr commented Mar 3, 2015

@stringparser sos un heroe 👍


1. The buffer's memory is copied, not shared.
1. La memoria del buffer se copia, no compartida.
Copy link

Choose a reason for hiding this comment

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

" ... se copia ... " ---> " ... es copiada ..." o "... no compartida ..." ---> "... no se comparte ..."

Choose a reason for hiding this comment

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

A mi criterio se entiende mejor.

La memoria del buffer es copiada, no compartida.

Pero tal vez en spanish podemos poner

La memoria del buffer se copia y no se comparte

o

La memoria del buffer es copiada y no es compartida

Copy link
Author

Choose a reason for hiding this comment

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

Ups, me faltaba esta :)

@stringparser
Copy link
Author

Dos +1 si no hay correciones extras y hago un merge con lo que hay en iojs-es/io.js


NOTE: Node.js v0.8 simply retained a reference to the buffer in `array.buffer`
instead of cloning it.
NOTE: Node.js v0.8 simplemente mantenía una referencia a el buffer en `array.buffer` en lugar de clonarlo.

Choose a reason for hiding this comment

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

  • ¿"a el" o "al"?
  • sobra un espacio entre 'en' y 'array.buffer' (perdón que sea tan detallista 😉 )

Copy link
Author

Choose a reason for hiding this comment

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

  • al
  • para nada, 😡 ese espacio sobraaa 😄


buf = new Buffer(1234);

console.log(buf.length);
buf.write("some string", 0, "ascii");
buf.write("string", 0, "ascii");

Choose a reason for hiding this comment

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

dejar "some string" o usar "un string" / "algún string"

Copy link
Author

Choose a reason for hiding this comment

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

dejar "some string"

@stringparser
Copy link
Author

Correcciones hechas :)


Reads a signed 8 bit integer from the buffer at the specified offset.
Lee un entero de 8 bits de un buffer en la posición especificada por el offset con el formato endiano especificado.

Choose a reason for hiding this comment

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

¿con el formato endiano especificado?

Copy link
Author

Choose a reason for hiding this comment

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

Ouch, ese párrafo se repite desde el primer método de unsigned buffer hasta el final. Se me habrá escapado.


Reads a signed 16 bit integer from the buffer at the specified offset with
specified endian format.
Lee un entero de 16 bits de un buffer en la posición especificada por el offset con el formato endiano especificado.

Choose a reason for hiding this comment

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

  • "... de un buffer ..." ---> "... del buffer ..."
  • "... en la posición especificada ..." ---> "... desde la posición especificada ..."
  • ¿Se traduce _endian_? Ver Little y Big Endian

Copy link
Author

Choose a reason for hiding this comment

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

  • ok
  • ok
  • lo dejamos como endian, además más tecnicismo no puede ser

Copy link
Author

Choose a reason for hiding this comment

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

Del punto 1 hay más con la misma frase cambiando los bits en los distintos métodos. Lo dejo también corregido como me indicas.

Copy link
Author

Choose a reason for hiding this comment

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

Y del punto 3, igual. En todas las ocurrencias lo dejo como endian.

@stringparser
Copy link
Author

Ok, yo creo que ahora si que está. Le he dado una lectura rápida. Si necesita alguna lectura más y si no hago un merge y lo muevo a iojs-es/io.js/doc/api/es

@stringparser
Copy link
Author

ping 🎱

@eafelix
Copy link

eafelix commented Mar 14, 2015

creo que esta, me gusto mucho la traducción!
+1

@stringparser
Copy link
Author

gracias tio ;), esperemos a otro +1 y listo

@ipeluffo
Copy link

+1 (perdón pero estoy con poco tiempo libre)

@stringparser
Copy link
Author

Haha, no te preocupes ;)

stringparser added a commit that referenced this pull request Mar 17, 2015
Traducción API - Sección "Buffer"
@stringparser stringparser merged commit de32a6d into nodejs:api Mar 17, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants