Skip to content

Traducción Global Config #6

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

Merged
merged 8 commits into from
Aug 30, 2017
Merged

Conversation

zgudino
Copy link

@zgudino zgudino commented Dec 18, 2016

Buenas,

Adjunto PR con la traducción Global Config respecto documentación API.
Gracias!


The merge strategy receives the value of that option defined on the parent and child instances as the first and second arguments, respectively. The context Vue instance is passed as the third argument.
La estrategia de combinación recibe el valor de esa opción definida en las instancias padre e hijo como primer y segundo argumentos, respectivamente. La instancia Vue de contexto se pasa como tercer argumento.

Choose a reason for hiding this comment

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

...como primer y segundo argumentos.

No estoy del todo seguro, pero en español debería ser todo en singular en este caso.

Copy link

Choose a reason for hiding this comment

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

Concuerdo con Miljan.

Copy link
Author

Choose a reason for hiding this comment

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

Corregido y agregado al siguiente push.


``` js
// make sure to set this synchronously immediately after loading Vue
// asegurate de configurarlo de forma sincronizada inmediatamente después de cargar Vue

Choose a reason for hiding this comment

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

asegúrate lleva accento.

Copy link

Choose a reason for hiding this comment

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

Cambiar tiempo verbal (asegúrese)

Copy link
Author

Choose a reason for hiding this comment

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

Corregido y agregado al siguiente push.

Vue.config.devtools = true
```

Configure whether to allow [vue-devtools](https://github.com/vuejs/vue-devtools) inspection. This option's default value is `true` in development builds and `false` in production builds. You can set it to `true` to enable inspection for production builds.
Configura si deseas permitir inspección [vue-devtools](https://github.com/vuejs/vue-devtools). El valor por defecto de esta opcion es `true` en compilaciones de desarrollo y `false` en compilaciones de producción. Puedes configurarlo a `true` para habilitar inspección en compilaciones de producción.

Choose a reason for hiding this comment

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

Configure whether to allow vue-devtools inspection.

El texto hace referencia a la opción, no al usuario. Una traducción mas adecuada sería

Configura el permiso de inspección de vue-devtools.

Copy link

Choose a reason for hiding this comment

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

Cambiar tiempo verbal (Puede configurarlo)

Copy link
Author

Choose a reason for hiding this comment

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

Corregido y agregado al siguiente push.


- **Default:** Error is thrown in place
- **Por defecto:** Lanza un error en vez

Choose a reason for hiding this comment

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

No acabo de entender esta traducción. Recomiendo El error es producido en el lugar.

@llops, qué opinas de usar error producido para thrown error. Lo añado a las pautas o tienes alguna mejor sugerencia?

Copy link

Choose a reason for hiding this comment

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

Lo más común es Lanza o Genera.
Lo de "en vez" tampoco lo entiendo. Yo usaría:

Lanza un error en el momento / Genera un error en el momento

Lo del "momento" no estoy 100% seguro, pero me suena más natural en español hablar de "tiempo" vs "lugar": "en tiempo de compilación", etc. Como veáis ;)

Copy link

Choose a reason for hiding this comment

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

Releyendo veo que lo de "en tiempo de compilación" no tiene nada que ver jajaja
En fin, si veis bien "en el lugar" pues adelante.

Choose a reason for hiding this comment

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

Genera un error al instante

Copy link

Choose a reason for hiding this comment

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

De todo lo propuesto "al instante" creo que es lo que más me gusta también 👍

Copy link
Author

@zgudino zgudino Dec 21, 2016

Choose a reason for hiding this comment

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

"al instante" encaja perfectamente sin embargo, IMO prefiero lanza un error al instante.
Lo podemos dejar a voto popular?

Copy link

Choose a reason for hiding this comment

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

Pues deja lanza si te gusta más, ningún problema ;)

}
```

Assign a handler for uncaught errors during component render and watchers. The handler gets called with the error and the Vue instance.
Asigna un manejador para errores no detectados durante render y watchers del componente. El manejador es llamado con el error y la instancia Vue.

Choose a reason for hiding this comment

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

Manejador suena bien extraño. A ver si encontramos mejor traducción.

@llops, 'render' y 'watchers' parecen ser terminos a no traducir. Aunque no parecen cuajar muy bien aquí tal cual...

Copy link

Choose a reason for hiding this comment

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

"Manejador" es verdad que suena raro, pero la traducción es correcta y se emplea en la mayoría de sitios.

Copy link

Choose a reason for hiding this comment

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

Sí, queda muy poco natural no traducirlos. Yo optaría por:

... durante el renderizado y la observación (watcher) del componente.

Renderizado me parece muy común. Observación me suena bien, pero mantendría el watcher ya que el código se emplea tal cual.

Copy link
Author

Choose a reason for hiding this comment

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

Buenas anotaciones ambos. Yo prefiero:

...durante render (renderizado) y watchers (observaciones) del componente.

Es muy cierto que ambos términos cuentan con traducción en Español, opino que primero se menciono en Ingles y, en paréntesis, traducción en Español.


``` js
Vue.config.ignoredElements = [
'my-custom-web-component', 'another-web-component'
]
```

Make Vue ignore custom elements defined outside of Vue (e.g., using the Web Components APIs). Otherwise, it will throw a warning about an `Unknown custom element`, assuming that you forgot to register a global component or misspelled a component name.
Haz que Vue ignore elementos personalizados definidos fuera de Vue (e.g., utilizando los APIs de Web Components). De lo contrario, lanzará una advertencia sobre un `Unknown custom element`, suponiendo se haya olvidado registrar un componente global o haya escrito mal un nombre de componente.

Choose a reason for hiding this comment

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

Prueba de añadir además la cursiva a Unknown custom element, ya que es un término sin traducir.

Copy link
Author

Choose a reason for hiding this comment

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

Corregido. Adicional, agrego traducción del mensaje de advertencia:

...advertencia sobre un Unknown custom element (Elemento personalizado desconocido),

Copy link

@llops llops left a comment

Choose a reason for hiding this comment

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

¡Ahí van mis sugerencias!

Y de manera general:
Verbos: emplear la 3ª persona del presente subjuntivo (Inicie por inicia, etc.)
Sustituir el tuteo por el tratamiento de usted.

Buen trabajo Zahir :)


The merge strategy receives the value of that option defined on the parent and child instances as the first and second arguments, respectively. The context Vue instance is passed as the third argument.
La estrategia de combinación recibe el valor de esa opción definida en las instancias padre e hijo como primer y segundo argumentos, respectivamente. La instancia Vue de contexto se pasa como tercer argumento.
Copy link

Choose a reason for hiding this comment

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

Concuerdo con Miljan.


`Vue.config` is an object containing Vue's global configurations. You can modify its properties listed below before bootstrapping your application:
`Vue.config` es un objeto que contiene las configuraciones globales de Vue. Puedes modificar sus propiedades enumeradas a continuación antes de iniciar tu aplicación:
Copy link

Choose a reason for hiding this comment

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

Cambiar tiempo verbal (Puede modificar).
Cambiar posesivo (... iniciar su aplicación)

Copy link

Choose a reason for hiding this comment

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

Ésta es un poco puntillosa, pero realmente sería así:

Puede modificar sus propiedades, enumeradas a continuación, antes de iniciar su aplicación:

O si queremos hacerlo más natural, yo obviaría el "its" para hablar del listado de propiedades:

Puede modificar las propiedades enumeradas a continuación antes de iniciar su aplicación:

Choose a reason for hiding this comment

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

Voto por la segunda opción 👍

Copy link
Author

Choose a reason for hiding this comment

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

Corregido y agregado al siguiente push.


The merge strategy receives the value of that option defined on the parent and child instances as the first and second arguments, respectively. The context Vue instance is passed as the third argument.
La estrategia de combinación recibe el valor de esa opción definida en las instancias padre e hijo como primer y segundo argumentos, respectivamente. La instancia Vue de contexto se pasa como tercer argumento.
Copy link

Choose a reason for hiding this comment

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

Propongo para merge utilizar fusión. Más info aquí: #1 (comment)

Copy link
Author

Choose a reason for hiding this comment

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

Con pruebas no me puedo oponer 😝. Gracias @llops !

Copy link
Author

Choose a reason for hiding this comment

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

Corregido y agregado al siguiente push.


``` js
// make sure to set this synchronously immediately after loading Vue
// asegurate de configurarlo de forma sincronizada inmediatamente después de cargar Vue
Copy link

Choose a reason for hiding this comment

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

Cambiar tiempo verbal (asegúrese)

Vue.config.devtools = true
```

Configure whether to allow [vue-devtools](https://github.com/vuejs/vue-devtools) inspection. This option's default value is `true` in development builds and `false` in production builds. You can set it to `true` to enable inspection for production builds.
Configura si deseas permitir inspección [vue-devtools](https://github.com/vuejs/vue-devtools). El valor por defecto de esta opcion es `true` en compilaciones de desarrollo y `false` en compilaciones de producción. Puedes configurarlo a `true` para habilitar inspección en compilaciones de producción.
Copy link

Choose a reason for hiding this comment

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

Cambiar tiempo verbal (Puede configurarlo)


- **Default:** Error is thrown in place
- **Por defecto:** Lanza un error en vez
Copy link

Choose a reason for hiding this comment

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

Lo más común es Lanza o Genera.
Lo de "en vez" tampoco lo entiendo. Yo usaría:

Lanza un error en el momento / Genera un error en el momento

Lo del "momento" no estoy 100% seguro, pero me suena más natural en español hablar de "tiempo" vs "lugar": "en tiempo de compilación", etc. Como veáis ;)

}
```

Assign a handler for uncaught errors during component render and watchers. The handler gets called with the error and the Vue instance.
Asigna un manejador para errores no detectados durante render y watchers del componente. El manejador es llamado con el error y la instancia Vue.
Copy link

Choose a reason for hiding this comment

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

"Manejador" es verdad que suena raro, pero la traducción es correcta y se emplea en la mayoría de sitios.

}
```

Assign a handler for uncaught errors during component render and watchers. The handler gets called with the error and the Vue instance.
Asigna un manejador para errores no detectados durante render y watchers del componente. El manejador es llamado con el error y la instancia Vue.
Copy link

Choose a reason for hiding this comment

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

Sí, queda muy poco natural no traducirlos. Yo optaría por:

... durante el renderizado y la observación (watcher) del componente.

Renderizado me parece muy común. Observación me suena bien, pero mantendría el watcher ya que el código se emplea tal cual.


``` js
Vue.config.ignoredElements = [
'my-custom-web-component', 'another-web-component'
]
```

Make Vue ignore custom elements defined outside of Vue (e.g., using the Web Components APIs). Otherwise, it will throw a warning about an `Unknown custom element`, assuming that you forgot to register a global component or misspelled a component name.
Haz que Vue ignore elementos personalizados definidos fuera de Vue (e.g., utilizando los APIs de Web Components). De lo contrario, lanzará una advertencia sobre un `Unknown custom element`, suponiendo se haya olvidado registrar un componente global o haya escrito mal un nombre de componente.
Copy link

Choose a reason for hiding this comment

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

Hace que Vue ignore...

Por mantener la coherencia con el resto.

Copy link

Choose a reason for hiding this comment

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

En España API es femenino (la API, las APIs) ya que viene de "La interfaz de programación de aplicaciones".
Más info: http://www.fundeu.es/consulta/la-api-o-el-api-26405/

No sé si en los países de Sudamérica esto cambia...

Copy link

Choose a reason for hiding this comment

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

e.g. sería p. ej.
Más info: http://www.fundeu.es/consulta/por-ejemplo-1687/

Copy link

Choose a reason for hiding this comment

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

Reformulo la frase, sólo para hacer notar que a veces quitando alguna palabra literal o cambiando el tiempo verbal queda la oración más "ligera" (creo :) )

De lo contrario, lanzará una advertencia sobre un Unknown custom element, suponiendo se haya olvidado registrar un componente global o haya escrito mal un nombre de componente.

De lo contrario, lanzará una advertencia Unknown custom element asumiendo que ha olvidado registrar un componente global o que ha escrito mal el nombre.

Copy link
Author

@zgudino zgudino Dec 21, 2016

Choose a reason for hiding this comment

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

@llops

En España API es femenino (la API, las APIs) ya que viene de "La interfaz de programación de aplicaciones".
Más info: http://www.fundeu.es/consulta/la-api-o-el-api-26405/

No sé si en los países de Sudamérica esto cambia...

En Panama es mas común "el API, los APIs". Sin embargo, me parece mejor tu propuesta 👍

Copy link
Author

Choose a reason for hiding this comment

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

Corregido y agregado al siguiente push.

Copy link

@llops llops left a comment

Choose a reason for hiding this comment

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

Hay pequeñas confusiones con los tiempos verbales. Cuando hablamos de la configuración, usamos el Presente de Indicativo, ya que es LA OPCIÓN quien "define estrategias", "suprime advertencias", etc. No se debe utilizar el Imperativo, ya que sino sería el usuario: "configure (usted) el permiso", "asigne (usted) un manejador", etc.

Vue.config.devtools = true
```

Configure whether to allow [vue-devtools](https://github.com/vuejs/vue-devtools) inspection. This option's default value is `true` in development builds and `false` in production builds. You can set it to `true` to enable inspection for production builds.
Configure el permiso de inspección de [vue-devtools](https://github.com/vuejs/vue-devtools). El valor por defecto de esta opcion es `true` en compilaciones de desarrollo y `false` en compilaciones de producción. Puede configurarlo a `true` para habilitar inspección en compilaciones de producción.
Copy link

Choose a reason for hiding this comment

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

  1. Configura
  2. ... para habilitar la inspección en ...


``` js
Vue.config.errorHandler = function (err, vm) {
// handle error
// maneje error
Copy link

Choose a reason for hiding this comment

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

manejar error

}
```

Assign a handler for uncaught errors during component render and watchers. The handler gets called with the error and the Vue instance.
Asigne un manejador para errores no detectados durante renderizado y watchers del componente. El manejador es llamado con el error y la instancia Vue.
Copy link

Choose a reason for hiding this comment

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

Asigna

Copy link

Choose a reason for hiding this comment

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

Siento ser pesado, pero ...durante renderizado y watchers del componente. no tiene mucho sentido.

Estamos hablando del proceso de renderizado y del proceso de observación. Un watcher sí que es un término en sí, y me parecerá bien no traducirlo en páginas como el ciclo de vida de una instancia Vue, donde se hace referencia a él y en el código del componentes aparece como tal, etc; pero creo que esto es un caso distinto. Aquí lo que queremos comunicar es que se asigna un manejador para los errores mientras se observa el componente.

Vuelvo a proponer esto, y ya ni siquiera el término en inglés entre paréntesis :)

... durante el renderizado y la observación del componente.

Choose a reason for hiding this comment

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

Estoy de acuerdo con llops, por eso propuse ...durante renderizado y la ejecución de los watchers (observadores) del componente. La propuesta de llops también me parece correcta.

Vue.config.devtools = true
```

Configure whether to allow [vue-devtools](https://github.com/vuejs/vue-devtools) inspection. This option's default value is `true` in development builds and `false` in production builds. You can set it to `true` to enable inspection for production builds.
Configura el permiso de inspección de [vue-devtools](https://github.com/vuejs/vue-devtools). El valor por defecto de esta opcion es `true` en compilaciones de desarrollo y `false` en compilaciones de producción. Puede configurarlo a `true` para habilitar la inspección en compilaciones de producción.

Choose a reason for hiding this comment

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

Opción lleva acento

Copy link
Author

Choose a reason for hiding this comment

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

Corregido.


``` js
Vue.config.ignoredElements = [
'my-custom-web-component', 'another-web-component'
]
```

Make Vue ignore custom elements defined outside of Vue (e.g., using the Web Components APIs). Otherwise, it will throw a warning about an `Unknown custom element`, assuming that you forgot to register a global component or misspelled a component name.
Hace que Vue ignore elementos personalizados definidos fuera de Vue (p. ej., utilizando las APIs de Web Components). De lo contrario, lanzará una advertencia sobre un _`Unknown custom element`_ (_Elemento personalizado desconocido_), asumiendo que ha olvidado registrar un componente global o que ha escrito mal un nombre.

Choose a reason for hiding this comment

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

De lo contrario, lanzará una advertencia Unknown custom element (Elemento personalizado desconocido)...

Me parece mejor así.

Copy link
Author

Choose a reason for hiding this comment

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

Corregido.

Copy link

@llops llops left a comment

Choose a reason for hiding this comment

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

Último feedback. ¡Lo juro! :)

}
```

Assign a handler for uncaught errors during component render and watchers. The handler gets called with the error and the Vue instance.
Asigna un manejador para errores no detectados durante el renderizado y la observación del componente. El manejador es llamado con el error y la instancia Vue.
Copy link

Choose a reason for hiding this comment

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

Se me pasó esta frase, pero releyendo veo que es una traducción demasiado literal. Propongo:

Se llama al manejador con el error y la instancia Vue.

Al contrario que en inglés, en español es poco natural utilizar la forma pasiva. No es incorrecta, pero como norma general mejor evitarla. ¿Os parece bien?

Copy link
Author

Choose a reason for hiding this comment

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

A mi, cualquier que decidan.


``` js
// make sure to set this synchronously immediately after loading Vue
// asegúrese de configurarlo de forma sincronizada inmediatamente después de cargar Vue
Copy link

@llops llops Dec 22, 2016

Choose a reason for hiding this comment

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

De forma sincronizada no suena mal, pero se suele utilizar síncrona.
Creo que se ve más claro si la opción fuera asíncrona, que no diríamos de forma asincronizada

Copy link
Author

Choose a reason for hiding this comment

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

//asegúrese de configurarlo de forma síncrona inmediatamente después de cargar Vue asi?


> [Sentry](https://sentry.io), an error tracking service, provides [official integration](https://sentry.io/for/vue/) using this option.
> [Sentry](https://sentry.io), un servicio de seguimiento de errores, proporciona [integración oficial](https://sentry.io/for/vue/) utilizando esta opción.
Copy link

Choose a reason for hiding this comment

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

Otra traducción demasiado literal, creo. Propuesta:

Esta opción utiliza Sentry, un servicio de seguimiento de errores que cuenta con integración oficial.

Copy link
Author

Choose a reason for hiding this comment

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

Corregido.


``` js
Vue.config.ignoredElements = [
'my-custom-web-component', 'another-web-component'
]
```

Make Vue ignore custom elements defined outside of Vue (e.g., using the Web Components APIs). Otherwise, it will throw a warning about an `Unknown custom element`, assuming that you forgot to register a global component or misspelled a component name.
Hace que Vue ignore elementos personalizados definidos fuera de Vue (p. ej., utilizando las APIs de Web Components). De lo contrario, lanzará una advertencia _`Unknown custom element`_ (_Elemento personalizado desconocido_), asumiendo que ha olvidado registrar un componente global o que ha escrito mal un nombre.
Copy link

Choose a reason for hiding this comment

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

Una frase un tanto redundante (también la versión inglesa) + "falso gerundio" (using). Propuesta:

Ignora elementos personalizados definidos fuera de Vue (p. ej., si usa las APIs de Web Components).

Copy link
Author

Choose a reason for hiding this comment

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

Agrego esta propuesta.

@miljan-aleksic
Copy link

@zgudino, dime si hay algo por nuestras parte pendiente en este PR.

@zgudino
Copy link
Author

zgudino commented Feb 6, 2017

@miljan-aleksic acabo de ver una anotación de @llops, 96, que no había prestado atención.

Permite corregirla mas tarde que llegue a casa.
Gracias ambos!

@miljan-aleksic miljan-aleksic merged commit 2f3719f into vuejs-es:master Aug 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants