- Notifications
You must be signed in to change notification settings - Fork 64
docs: translate file "guide/forms.md", closes #10 #31
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/guide/forms.md Outdated
| | ||
| ::: tip Note | ||
| ::: tip Nota | ||
| `v-model` will ignore the initial `value`, `checked` or `selected` attributes found on any form elements. It will always treat the current active instance data as the source of truth. You should declare the initial value on the JavaScript side, inside the `data` option of your component. |
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.
As dicas e avisos também precisam ser traduzidos.
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.
Eu realizei mais um commit atualizando esta parte. Preciso abrir outro pull Request ou é possível pegar as alterações a partir deste?
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.
Não precisa, os commits são incrementais dentro do mesmo pull request.
src/guide/forms.md Outdated
| <p>A mensagem é: {{ message }}</p> | ||
| ``` | ||
| | ||
| <p class="codepen" data-height="300" data-theme-id="39028" data-default-tab="result" data-user="Vue" data-slug-hash="eYNPEqj" data-editable="true" style="height: 300px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;" data-pen-title="Handling forms: basic v-model"> |
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.
Na doc V2 chegamos a fazer fork e traduzir muitos CodePens. Seria legal conferir se os exemplos ainda são os mesmos e aproveitar os links da V2.
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.
@ErickPetru procurei os pens em português mas não os encontrei. Poderia me ajudar?
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.
Este é arquivo traduzido da V2: https://github.com/vuejs-br/br.vuejs.org/blob/master/src/v2/guide/forms.md. Você pode dar uma olhada nos exemplos e ver se mudaram ou não.
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.
Obrigado. Eu andei lendo outros prs e vi que você comentou de fazer um fork para o codepen do vuejs-br então estou criando no meu codepen para depois serem feitos os forks. Assim que eu terminar aviso para poder colocar o link vindo do codepen do vuejs-br
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.
Lista de links para serem forkados no repositorio do vuejs-brasil no codepen:
Lidando com formulários: v-model simples
Lidando com formulários: textarea
Lidando com formulários: checkbox
Lidando com Formulários: múltiplos checkboxes
Lidando com formulários: radiobutton
Lidando com formulários: select
Lidando com Formulários: seleção de múltiplos itens (vinculando a um Array)
* Note that props can be accessed in template directly In "Usage with Templates" the doc shows how props of the object returned from `setup` can be used directly in the template, but I didn't find anywhere else in the composition-api doc where it says that props can also be used directly. This seemed like as good a place as any to add that, since that's where I was looking for it first :-). * Update src/guide/composition-api-setup.md Co-authored-by: Natalia Tepluhina <tarya.se@gmail.com>
Co-authored-by: Ben Hong <ben@bencodezen.io>
* config: add dev command * feature: standardize video styles and markup
The link seems to have been broken with commit 7e55600 ([pretty GH view][pretty-view]). [pretty-view]: vuejs@7e55600#diff-c9868b6bf75c863c7384dcf155eb6497R35
* Update v-bind.md * change property to properties Co-authored-by: Kid <44045911+kidonng@users.noreply.github.com> Co-authored-by: Kid <44045911+kidonng@users.noreply.github.com>
* Add usage examples for Asset Options * Update src/api/options-assets.md Co-authored-by: Natalia Tepluhina <tarya.se@gmail.com> * Update src/api/options-assets.md Co-authored-by: Natalia Tepluhina <tarya.se@gmail.com> Co-authored-by: Natalia Tepluhina <tarya.se@gmail.com>
…attributes, add the `onError` event, and attach a comment (vuejs#458)
| Olá @LucasFlaquer, aqui está a coleção com os pens adicionados à conta vuejs-br: https://codepen.io/collection/XPEEqp. Além disso, por favor, desfaça os commits relacionados a merge de upstream, apenas a equipe de revisão faz merge de upstream diretamente neste repositório, senão os conflitos de merge e possíveis sobrescritas ficam descontrolados. Ou seja, você deve enviar neste pull request apenas o arquivo a que ele se propõe: "guide/forms.md". |
| olá @ErickPetru desculpe pelo problema com o git quis baixar as ultimas altualizações. Não sabia que iria afetar este PR. Já atualizei os links |
| Olá @LucasFlaquer, ainda tá com problema por causa do merge. Para evitar mais confusões com PR e commit, se preferir guardar seu arquivo traduzido por aí, fechar este PR e enviar um novo só com o arquivo traduzido, não tem problema. |
Proposed Solution
file translation #10 "guide/forms.md"
Additional Information
I've got doubts about translating the codepe's link so I left the way it was