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

Translated docs/adding-comments.md #91

Merged
merged 3 commits into from Oct 24, 2019
Merged

Conversation

meyruiz
Copy link
Contributor

@meyruiz meyruiz commented Oct 17, 2019

No description provided.

@jorgeruvalcaba jorgeruvalcaba added the Ready for review Pull request is ready for a maintainer to review it label Oct 17, 2019
@Darking360
Copy link
Contributor

Checking this 👀

@nucliweb
Copy link
Contributor

Hola @meyruiz, gracias por el trabajo de traducción.

Antes de continuar revisando para proceder a hacer merge de la PR, deberías aplicar los cambios necesarios para hacer referencia a y sus conjugaciones para la segunda persona del singular, según está definido en el glosario

Para mantener la consistencia y evitar regionalismos decidimos 
utilizar tú para la segunda persona del singular.

Copy link
Contributor

@Darking360 Darking360 left a comment

Choose a reason for hiding this comment

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

Hola @meyruiz que tal? Muchísimas gracias por entrar a las traducciones, te deje algunos comentarios, algunos cambiando el "usted" por "tu" ya que así nos referimos al lector "tuteandolo", esta en la guía de estilos por si la quieres leer, el otro detalle es que revises que las lineas queden exactamente iguales al original, por ejemplo el original tiene 92 lineas, esta traducción 89, deben quedar igual para poder evitar errores de git en el futuro 💪 Cuando revises esto y agregues los cambios podríamos hacerle merge ❤️

@@ -1,62 +1,60 @@
---
title: Adding comments
title: Agregar comentarios
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
title: Agregar comentarios
title: Agregando comentarios

---

If you're using Gatsby to run a blog and you've started adding some content to it, the next thing to think about is how to increase engagement among your visitors. A great way to do that is to allow them to ask questions and express their views on what you've written. This will make your blog seem much more lively to anyone visiting it.
Si usted tiene un blog corriendo en Gatsby y ha empezado a agregar contenido a el, lo siguiente en lo que debería pensar es en cómo incrementar el “engagement” entre sus visitantes. Una buena forma de hacerlo es permitir que sus usuarios puedan realizar preguntas y expresen sus puntos de vista en lo que usted ha escrito. Esto hará ver su blog mucho más dinámico para cualquiera que lo visite.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Si usted tiene un blog corriendo en Gatsby y ha empezado a agregar contenido a el, lo siguiente en lo que debería pensar es en cómo incrementar el “engagement” entre sus visitantes. Una buena forma de hacerlo es permitir que sus usuarios puedan realizar preguntas y expresen sus puntos de vista en lo que usted ha escrito. Esto hará ver su blog mucho más dinámico para cualquiera que lo visite.
Si tienes un blog corriendo en Gatsby y has empezado a agregar contenido a el, lo siguiente en lo que deberías pensar es en cómo incrementar el “engagement” entre tus visitantes. Una buena forma de hacerlo es permitir que tus usuarios puedan realizar preguntas y expresen sus puntos de vista sobre lo que has escrito. Esto hará ver tu blog mucho más dinámico para cualquiera que lo visite.

docs/docs/adding-comments.md Show resolved Hide resolved
- [TalkYard](https://www.talkyard.io)
- [Gitalk](https://gitalk.github.io)

You can also [roll your own comment system](/blog/2019-08-27-roll-your-own-comment-system/), as Tania Rascia wrote on the Gatsby blog.
Puede también [crear su propio sistema de comentarios](/blog/2019-08-27-roll-your-own-comment-system/), como Tania Rascia escribió en el blog de Gatsby.

Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Puede también [crear su propio sistema de comentarios](/blog/2019-08-27-roll-your-own-comment-system/), como Tania Rascia escribió en el blog de Gatsby.

Puedes también [crear tu propio sistema de comentarios](/blog/2019-08-27-roll-your-own-comment-system/), como Tania Rascia escribió en el blog de Gatsby.


docs/docs/adding-comments.md Show resolved Hide resolved

```shell
npm install disqus-react
```

3. Add the shortname from step 1 as something like `GATSBY_DISQUS_NAME` to your `.env` and `.env.example` files so that people forking your repo will know that they need to supply this value to get comments to work. (You need to prefix the environment variable with `GATSBY_` in order to [make it available to client-side code](https://www.gatsbyjs.org/docs/environment-variables/#client-side-javascript).)
3. Agregar el nombre que utilizó en el paso 1 como, por ejemplo, `GATSBY_DISQUS_NAME` a sus archivos `.env` y `.env.example` para que las personas que hagan fork a su repositorio sepan que ellos necesitan ingresar este valor para hacer funcionar los comentarios (Usted necesita el prefix de la variable de entorno con `GATSBY_` para que pueda estar [disponible en el código cliente](https://www.gatsbyjs.org/docs/environment-variables/#client-side-javascript).)
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
3. Agregar el nombre que utilizó en el paso 1 como, por ejemplo, `GATSBY_DISQUS_NAME` a sus archivos `.env` y `.env.example` para que las personas que hagan fork a su repositorio sepan que ellos necesitan ingresar este valor para hacer funcionar los comentarios (Usted necesita el prefix de la variable de entorno con `GATSBY_` para que pueda estar [disponible en el código cliente](https://www.gatsbyjs.org/docs/environment-variables/#client-side-javascript).)
3. Agregar el nombre que utilizaste en el paso 1 como, por ejemplo, `GATSBY_DISQUS_NAME` a sus archivos `.env` y `.env.example` para que las personas que hagan fork de tu repositorio sepan que ellos necesitan ingresar este valor para hacer funcionar los comentarios (Necesitas el prefix de la variable de entorno con `GATSBY_` para que pueda estar [disponible en el código cliente](https://www.gatsbyjs.org/docs/environment-variables/#client-side-javascript).)

GATSBY_DISQUS_NAME=insertValue
```

```title=.env
GATSBY_DISQUS_NAME=yourSiteShortname
```

4. In your blog post template (usually `src/templates/post.js`) import the `DiscussionEmbed` component.
4. En el template de su blog post (usualmente `src/templates/post.js`) importe el componente `DiscussionEmbed`.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
4. En el template de su blog post (usualmente `src/templates/post.js`) importe el componente `DiscussionEmbed`.
4. En el template de tu blog post (usualmente `src/templates/post.js`) importa el componente `DiscussionEmbed`.

@@ -65,7 +63,7 @@ import { graphql } from "gatsby"
import { DiscussionEmbed } from "disqus-react"
```

Then define your Disqus configuration object
Luego defina su objeto de configuración de Disqus
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Luego defina su objeto de configuración de Disqus
Luego define tu objeto de configuración de Disqus

@@ -74,7 +72,7 @@ const disqusConfig = {
}
```

Where `identifier` must be a string or number that uniquely identifies the post. It could be the post's slug, title or some ID. Finally, add `DiscussionEmbed` to the JSX of your post template.
Donde `identifier` debe ser un string o número que identifique exclusivamente a ese post. Puede ser el slug del post, título o un ID. Finalmente, agregue `DiscussionEmbed` al JSX del template de su post.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Donde `identifier` debe ser un string o número que identifique exclusivamente a ese post. Puede ser el slug del post, título o un ID. Finalmente, agregue `DiscussionEmbed` al JSX del template de su post.
Donde `identifier` debe ser un string o número que identifique exclusivamente a ese post. Puede ser el slug del post, título o un ID. Finalmente, agrega `DiscussionEmbed` al JSX del template de tu post.

@@ -86,7 +84,6 @@ return (
</Global>
)
```
Y eso es todo. Ahora debe poder ver la forma de comentarios de Disqus debajo del post de su blog [de esta forma](https://janosh.io/blog/disqus-comments#disqus_thread). ¡Feliz blogging!
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Y eso es todo. Ahora debe poder ver la forma de comentarios de Disqus debajo del post de su blog [de esta forma](https://janosh.io/blog/disqus-comments#disqus_thread). ¡Feliz blogging!
Y eso es todo. Ahora debes poder ver el formulario de comentarios de Disqus debajo del post de tu blog [de esta forma](https://janosh.io/blog/disqus-comments#disqus_thread). ¡Feliz blogging!

Copy link
Contributor Author

@meyruiz meyruiz left a comment

Choose a reason for hiding this comment

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

Updated with suggestions after review

Copy link
Contributor

@Darking360 Darking360 left a comment

Choose a reason for hiding this comment

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

Hola @meyruiz disculpa la tardanza, agregue unos cambios para mejorar la traducción, bienvenida al equipo 🚀 💯

@Darking360 Darking360 merged commit 4bc4eee into gatsbyjs:master Oct 24, 2019
@gatsbot
Copy link

gatsbot bot commented Oct 24, 2019

Holy buckets, @meyruiz — we just merged your PR to Gatsby! 💪💜

Gatsby is built by awesome people like you. Let us say “thanks” in two ways:

  1. We’d like to send you some Gatsby swag. As a token of our appreciation, you can go to the Gatsby Swag Store and log in with your GitHub account to get a coupon code good for one free piece of swag. We’ve got Gatsby t-shirts, stickers, hats, scrunchies, and much more. (You can also unlock even more free swag with 5 contributions — wink wink nudge nudge.) See gatsby.dev/swag for details.
  2. We just invited you to join the Gatsby organization on GitHub. This will add you to our team of maintainers. Accept the invite by visiting https://github.com/orgs/gatsbyjs/invitation. By joining the team, you’ll be able to label issues, review pull requests, and merge approved pull requests.

If there’s anything we can do to help, please don’t hesitate to reach out to us: tweet at @gatsbyjs and we’ll come a-runnin’.

Thanks again!

@meyruiz meyruiz deleted the patch-1 branch October 24, 2019 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready for review Pull request is ready for a maintainer to review it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants