Skip to content

Traducción sección Global API #22

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 3 commits into from
Sep 18, 2017
Merged

Conversation

panietoar
Copy link

No description provided.

@panietoar panietoar mentioned this pull request Sep 12, 2017

``` js
// modify data
// mnodificar datos

Choose a reason for hiding this comment

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

typo

Copy link
Author

Choose a reason for hiding this comment

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

Done

})
```

> New in 2.1.0: returns a Promise if no callback is provided and Promise is supported in the execution environment.
> Nuevo en 2.1.0: retorna un *Promise* si no se ha especificado una función *callback* y en el ambiente de ejecución los *Promise* son soportados.

Choose a reason for hiding this comment

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

En algunas traducciones técnicas he visto que traducen el termino callback como retorno de llamada. ¿Qué te parece usarlo? Así como traducir Promise como Promesa.

Copy link
Author

Choose a reason for hiding this comment

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

el de callback me parece aunque considero que callback es un nombre más familiar en el ámbito de desarrollo JavaScript.
Pero Promise a Promesa no me parece, el documento se refiere a un objeto tipo Promise de JavasScript:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise

Choose a reason for hiding this comment

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

Deacuerdo.


- **See also:** [Reactivity in Depth](../guide/reactivity.html)
- **Ver También:** [Reactividad a Profundidad](../guide/reactivity.html)

Choose a reason for hiding this comment

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

Reactividad en profundidad

Copy link
Author

Choose a reason for hiding this comment

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

Done


Delete a property on an object. If the object is reactive, ensure the deletion triggers view updates. This is primarily used to get around the limitation that Vue cannot detect property deletions, but you should rarely need to use it.
Elimina una propiedad de un objeto. Si el objeto es reactivo, asegúrese que dicha eliminación active una actualización de vista. Esto se usa principalmente para resolver el problema que Vue no puede detectar eliminaciones de propiedades en objetos, pero usted tendrá muy poca necesidad de usarlo.

Choose a reason for hiding this comment

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

Si el objeto es reactivo, asegúrese..., no se refiere a que el usuario se asegure, si no que Vue.delete se asegura que se activen las actualizaciones (en plural). Por lo que debería ser:

Elimina una propiedad de un objeto. Si el objeto es reactivo, se asegura que dicha eliminación active las actualizaciones de vista. Esto se usa principalmente para resolver el problema que Vue no puede detectar eliminaciones de propiedades en objetos, pero usted tendrá muy poca necesidad de usarlo.

Copy link
Author

Choose a reason for hiding this comment

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

Oops, completamente deacuerdo.

Copy link
Author

Choose a reason for hiding this comment

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

Done

var myDirective = Vue.directive('my-directive')
```

- **See also:** [Custom Directives](../guide/custom-directive.html)
- **Vea También:** [Directivas Personalizadas](../guide/custom-directive.html)

Choose a reason for hiding this comment

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

En Español no se usan mayuscaulas en los títulos como en Inglés. ... > Directivas personalizadas

Choose a reason for hiding this comment

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

Mira de corregirlo en todo el documento porfavor.

Copy link
Author

Choose a reason for hiding this comment

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

Done


Register or retrieve a global component. Registration also automatically sets the component's `name` with the given `id`.
Registra u obtiene un componente global. El registro también asigna automáticamente el `id` dado al atributo `name` del componente.

Choose a reason for hiding this comment

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

El registro también asigna automáticamente el name del componente con el id especificado.

Copy link
Author

Choose a reason for hiding this comment

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

Done

var MyComponent = Vue.component('my-component')
```

- **See also:** [Components](../guide/components.html)
- **Vea También:** [Components](../guide/components.html)

Choose a reason for hiding this comment

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

Components > Componentes

Copy link
Author

Choose a reason for hiding this comment

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

Done

@@ -374,7 +376,7 @@ type: api

<p class="tip">Note that __you should not use an arrow function with the `data` property__ (e.g. `data: () => { return { a: this.myProp }}`). The reason is arrow functions bind the parent context, so `this` will not be the Vue instance as you expect and `this.myProp` will be undefined.</p>

- **See also:** [Reactivity in Depth](../guide/reactivity.html)
- **Vea También:** [Reactivity in Depth](../guide/reactivity.html)

Choose a reason for hiding this comment

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

[Reactividad en profundidad]

@@ -476,7 +478,7 @@ type: api
vm.aDouble // -> 4
```

- **See also:**
- **Vea También:**
- [Computed Properties](../guide/computed.html)

Choose a reason for hiding this comment

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

[Propiedades computadas]

@@ -504,7 +506,7 @@ type: api
vm.a // 2
```

- **See also:** [Methods and Event Handling](../guide/events.html)
- **Vea También:** [Methods and Event Handling](../guide/events.html)

Choose a reason for hiding this comment

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

Falta traducir el ALT

Choose a reason for hiding this comment

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

Mira de traducir todos los que faltan por favor.

@miljan-aleksic
Copy link

No veo ningún nuevo commit pero si tus comentarios. Se te habrá pasado subirlo online?

@panietoar
Copy link
Author

Los cambios será cometidos cuando termine la sección Options/Data @miljan-aleksic, en unos cuantos minutos.

@miljan-aleksic miljan-aleksic merged commit 0e18bda into vuejs-es:master Sep 18, 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.

2 participants