Skip to content

Commit 18689f7

Browse files
authored
Merge pull request #159 from juliano-nunes/translate-migration-transition
docs: translate guide/migration/transition
2 parents 21dd69a + b627585 commit 18689f7

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

src/guide/migration/transition.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
---
2-
title: Transition Class Change
2+
title: Mudança das Classes de Transição
33
badges:
44
- breaking
55
---
66

77
# {{ $frontmatter.title }} <MigrationBadges :badges="$frontmatter.badges" />
88

9-
## Overview
9+
## Visão Geral
1010

11-
The `v-enter` transition class has been renamed to `v-enter-from` and the `v-leave` transition class has been renamed to `v-leave-from`.
11+
A classe de transição `v-enter` foi renomeada para `v-enter-from` e a classe de transição `v-leave` foi renomeada para `v-leave-from`.
1212

13-
## 2.x Syntax
13+
## Sintaxe v2.x
1414

15-
Before v2.1.8, we had two transition classes for each transition direction: initial and active states.
15+
Antes da v2.1.8, nós tinhamos duas classes de transição para cada direção da transição: estados inicial e ativo.
1616

17-
In v2.1.8, we introduced `v-enter-to` to address the timing gap between enter/leave transitions. However, for backward compatibility, the `v-enter` name was untouched:
17+
Na v2.1.8, nós introduzimos a `v-enter-to` para endereçar o intervalo de tempo entre as transições enter/leave. Entretanto, para compatibilidade com versões anteriores, o nome `v-enter` se manteve inalterado:
1818

1919
```css
2020
.v-enter,
@@ -28,11 +28,11 @@ In v2.1.8, we introduced `v-enter-to` to address the timing gap between enter/le
2828
}
2929
```
3030

31-
This became confusing, as _enter_ and _leave_ were broad and not using the same naming convention as their class hook counterparts.
31+
Isso se tornou confuso, como _enter_ e _leave_ eram amplos e não utilizavam a mesma convenção de nome que suas classes de ligação homólogas.
3232

33-
## 3.x Update
33+
## Atualização v3.x
3434

35-
In order to be more explicit and legible, we have now renamed these initial state classes:
35+
De forma à deixar mais explícito e legível, nós agora renomeamos essas classes de estado inicial:
3636

3737
```css
3838
.v-enter-from,
@@ -46,17 +46,17 @@ In order to be more explicit and legible, we have now renamed these initial stat
4646
}
4747
```
4848

49-
It's now much clearer what the difference between these states is.
49+
Agora é muito mais claro a diferença entre esses estados.
5050

51-
![Transition Diagram](/images/transitions.svg)
51+
![Diagrama de Transição](/images/transitions.svg)
5252

53-
The `<transition>` component's related prop names are also changed:
53+
Os nomes de propriedades do componente `<transition>` relacionadas também foram alterados:
5454

55-
- `leave-class` is renamed to `leave-from-class` (can be written as `leaveFromClass` in render functions or JSX)
56-
- `enter-class` is renamed to `enter-from-class` (can be written as `enterFromClass` in render functions or JSX)
55+
- `leave-class` é renomeada para `leave-from-class` (pode ser escrita como `leaveFromClass` em funções de renderização ou JSX)
56+
- `enter-class` é renomeada para `enter-from-class` (pode ser escrita como `enterFromClass` em funções de renderização ou JSX)
5757

58-
## Migration Strategy
58+
## Estratégia de Migração
5959

60-
1. Replace instances of `.v-enter` to `.v-enter-from`
61-
2. Replace instances of `.v-leave` to `.v-leave-from`
62-
3. Replace instances of related prop names, as above.
60+
1. Substitua instâncias de `.v-enter` por `.v-enter-from`
61+
2. Substitua instâncias de `.v-leave` por `.v-leave-from`
62+
3. Substitua instâncias de nomes de propriedades relacionadas, como acima.

0 commit comments

Comments
 (0)