Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Resumable file upload#375

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

FroggyGentlemen
Copy link
Contributor

No description provided.

@CLAassistant
Copy link

CLAassistant commentedSep 7, 2020
edited
Loading

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@vplentinaxvplentinax left a comment

Choose a reason for hiding this comment

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

Gracias por tu contribución@FroggyGentlemen. Solo queda corregir unas faltas ortográficas que encontré para poder aprobarlo.

@javascript-translate-bot

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

Copy link
Member

@joaquineliojoaquinelio left a comment

Choose a reason for hiding this comment

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

Bienvenido

re-revisé-rescribí un par de lineas que me parecen mal expresadas en el original .

La primera vez que reviso con una revisión en curso, no sé si es efectivo.

@vplentinax , espero no te moleste edité 2 comentss tuyos (así no te robo crédito, ja)
("cuál" y "reanudar" en lugar de "resumir" que se te escapó)

xhr.send(file.slice(startByte));
```

Here we send theserverboth file idas `X-File-Id`,so it knows which file we're uploading, and the startingbyteas`X-Start-Byte`,so it knows we're not uploading it initially, but resuming.
Aqui enviamos alserverambos archivos idcomo `X-File-Id`,de modo que sepa que archivos estamos cargando, y elbyteinicial como`X-Start-Byte`,de modo que sepa que no lo estamos cargando inicialmente, si no que reanudandolo.
Copy link
Member

Choose a reason for hiding this comment

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

¿A quién queres más, a mamá o a papá? 😆

Corrijo desde la correcta corrección de Valentina.

Tampoco está mal "de modo", creo que está poniendo algo más universal.

Para no estar tan pegados al inglés "archivo id", "id del archivo"

Mmm. Tampoco me gusta el original inglés "initially"

Mmm. Se malinterpreta quiénes son "ambos": file-id, start-byte. No son "ambos archivos"
En inglés está bien pero es confuso, en español no podemos estructurarlo así,
podemos poner una coma despues de ambos, prefiero dos puntos.

Acentoss: acá estan ambas versiones de "que":
qué estamos cargando (qué archivo)
que estamos cargando (que sepa eso)

"sino", el que opone "no ese sino otro"

y las comas separando estructuras

y qué tanto floreo, es confuso. Fuera.

Debería mandar PR al inglés, el original es una porquería
Seguramente la rechaza (no soy tan bueno) pero también seguramente entiende y la reescribe

Uf, edité esto varias veces...

AHORA se entiende.

Suggested change
Aqui enviamos alserver ambos archivosidcomo`X-File-Id`,de modoque sepaque archivos estamos cargando, y el byte inicialcomo`X-Start-Byte`,de modoque sepa que noloestamoscargando inicialmente, si no que reanudandolo.
Aquí enviamos alservidor dos cosas: eliddel archivo`X-File-Id`,paraque sepaqué archivo estamos cargando, y el byte inicial `X-Start-Byte`,paraque sepa que no estamosiniciando una carga sino reanudándola.


The server should check its records, and if there was an upload of that file, and the current uploaded size is exactly `X-Start-Byte`, then append the data to it.
El server deberia verificar sus registros, y en el caso de haber una carga de ese archivo, y el tamaño actual de la carga es exactamenteThe server should check its records, and if there was an upload of that file, and the current uploaded size is exactly `X-Start-Byte`, then append the data to it.
Copy link
Member

Choose a reason for hiding this comment

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

Aquí te dejo otro dilema.

Pero quiero que no te preocupes y sepas que a pesar de nuestras diferencias con Valentina nos seguimos queriendo.
jaja

Pero no está mal (el anterior sí) es solo una sugerencia, ignorenla si les parece rebuscado.

como purista,
El servidor debe verificar sus registros y, si estaba cargando ese archivo y el tamaño de esa carga es exactamenteX-Start-Byte, agregarle los datos.

pero mejor más parecido al de uds, más claro.

Suggested change
Elserver deberia verificar sus registros, y en el caso de haber una carga deese archivo, y el tamañoactualdela carga es exactamente The server should check its records, and if there was an upload of that file, and the current uploaded size is exactly`X-Start-Byte`,then append the data to it.
Elservidor debe verificar sus registros y, si estaba cargandoese archivo, ysiel tamaño deesa carga es exactamente `X-Start-Byte`,entonces agregarle los datos.

@javascript-translate-bot

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

FroggyGentlemenand others added18 commitsSeptember 18, 2020 16:48
Co-authored-by: Valentina VP <34555644+vplentinax@users.noreply.github.com>
Co-authored-by: Valentina VP <34555644+vplentinax@users.noreply.github.com>
Co-authored-by: Valentina VP <34555644+vplentinax@users.noreply.github.com>
Co-authored-by: Valentina VP <34555644+vplentinax@users.noreply.github.com>
Co-authored-by: Valentina VP <34555644+vplentinax@users.noreply.github.com>
Co-authored-by: Valentina VP <34555644+vplentinax@users.noreply.github.com>
Co-authored-by: Valentina VP <34555644+vplentinax@users.noreply.github.com>
Co-authored-by: Valentina VP <34555644+vplentinax@users.noreply.github.com>
Co-authored-by: Valentina VP <34555644+vplentinax@users.noreply.github.com>
Co-authored-by: Valentina VP <34555644+vplentinax@users.noreply.github.com>
Co-authored-by: Valentina VP <34555644+vplentinax@users.noreply.github.com>
Co-authored-by: joaquinelio <joaquinelio@gmail.com>
Co-authored-by: Valentina VP <34555644+vplentinax@users.noreply.github.com>
Co-authored-by: Valentina VP <34555644+vplentinax@users.noreply.github.com>
Co-authored-by: joaquinelio <joaquinelio@gmail.com>
Co-authored-by: Valentina VP <34555644+vplentinax@users.noreply.github.com>
Co-authored-by: Valentina VP <34555644+vplentinax@users.noreply.github.com>
Co-authored-by: Valentina VP <34555644+vplentinax@users.noreply.github.com>
Co-authored-by: Valentina VP <34555644+vplentinax@users.noreply.github.com>
Co-authored-by: Valentina VP <34555644+vplentinax@users.noreply.github.com>
Co-authored-by: Valentina VP <34555644+vplentinax@users.noreply.github.com>
Co-authored-by: Valentina VP <34555644+vplentinax@users.noreply.github.com>
@FroggyGentlemen
Copy link
ContributorAuthor

/done

@EzequielCasteEzequielCaste merged commit0e2d021 intojavascript-tutorial:masterSep 18, 2020
@javascript-translate-bot

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

@vplentinax
Copy link
Contributor

vplentinax commentedSep 20, 2020
edited
Loading

Emmm... yo no había revisado los cambios y tampoco aprobado....¿por qué se hizo merge?@EzequielCaste

@joaquinelio
Copy link
Member

Es que ve mi nombre y se descompone

No es nada, lo hizo de gaucho para evitarte el dolor de leerme.

@vplentinax
Pero le puse bastante tiempo a la reedición, me hubiera gustado que las revisaras...

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@joaquineliojoaquineliojoaquinelio requested changes

@vplentinaxvplentinaxvplentinax requested changes

Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

6 participants
@FroggyGentlemen@CLAassistant@javascript-translate-bot@vplentinax@joaquinelio@EzequielCaste

[8]ページ先頭

©2009-2025 Movatter.jp