-
Notifications
You must be signed in to change notification settings - Fork 29
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
Conversation
src/v2/api/index.md
Outdated
|
||
``` js | ||
// modify data | ||
// mnodificar datos |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reactividad en profundidad
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
src/v2/api/index.md
Outdated
|
||
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. |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, completamente deacuerdo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
src/v2/api/index.md
Outdated
var myDirective = Vue.directive('my-directive') | ||
``` | ||
|
||
- **See also:** [Custom Directives](../guide/custom-directive.html) | ||
- **Vea También:** [Directivas Personalizadas](../guide/custom-directive.html) |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
src/v2/api/index.md
Outdated
|
||
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. |
There was a problem hiding this comment.
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 elid
especificado.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
src/v2/api/index.md
Outdated
var MyComponent = Vue.component('my-component') | ||
``` | ||
|
||
- **See also:** [Components](../guide/components.html) | ||
- **Vea También:** [Components](../guide/components.html) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Components > Componentes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
src/v2/api/index.md
Outdated
@@ -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) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Reactividad en profundidad]
src/v2/api/index.md
Outdated
@@ -476,7 +478,7 @@ type: api | |||
vm.aDouble // -> 4 | |||
``` | |||
|
|||
- **See also:** | |||
- **Vea También:** | |||
- [Computed Properties](../guide/computed.html) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Propiedades computadas]
src/v2/api/index.md
Outdated
@@ -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) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Falta traducir el ALT
There was a problem hiding this comment.
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.
No veo ningún nuevo commit pero si tus comentarios. Se te habrá pasado subirlo online? |
Los cambios será cometidos cuando termine la sección Options/Data @miljan-aleksic, en unos cuantos minutos. |
No description provided.