Skip to content

Commit 134f88a

Browse files
committed
Translate final upstream merge additions
1 parent f106793 commit 134f88a

10 files changed

+45
-45
lines changed

src/.vuepress/components/community/team/get-position-button.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<template v-else>
1010
<i class="fa fa-map-marker"></i>
1111
<span>
12-
<slot>Find near me</slot>
12+
<slot>ENCONTRE PERTO DE MIM</slot>
1313
</span>
1414
</template>
1515
</button>

src/.vuepress/components/community/team/index.vue

+10-10
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div>
33
<div class="team">
44
<h2 id="active-core-team-members">
5-
Active Core Team Members
5+
Membros Ativos da Equipe Principal
66
<GetPositionButton
77
v-if="!userPosition"
88
@positionRetrieved="setUserPosition"
@@ -11,35 +11,35 @@
1111
</h2>
1212

1313
<div v-if="errorGettingLocation" class="danger custom-block">
14-
<p>Failed to get your location.</p>
14+
<p>Falha ao obter sua localização.</p>
1515
</div>
1616

1717
<p>
18-
The development of Vue and its ecosystem is guided by an international team, some of whom have chosen to be featured below.
18+
A equipe principal de desenvolvimento do Vue e seu ecossistema é guiada por um time internacional, alguns dos quais escolheram estar destacados a seguir.
1919
</p>
2020

2121
<div v-if="userPosition" class="tip custom-block">
22-
<p>The core team have been sorted by their distance from you.</p>
22+
<p>A equipe principal foi ordenada de acordo com a distância deles até você.</p>
2323
</div>
2424

2525
<VuerProfile v-for="profile in members" :key="profile.name" :profile="profile" :use-miles="useMiles"/>
2626
</div>
2727

2828
<div class="team">
2929
<h2 id="core-team-emeriti">
30-
Core Team Emeriti
30+
Eméritos da Equipe Principal
3131
</h2>
3232

3333
<p>
34-
Here we honor some no-longer-active core team members who have made valuable contributions in the past.
34+
Aqui nós honramos alguns membros da equipe principal que não estão mais ativos, os quais realizaram valiosas contribuições no passado.
3535
</p>
3636

3737
<VuerProfile v-for="profile in emeriti" :key="profile.name" :profile="profile" :use-miles="useMiles"/>
3838
</div>
3939

4040
<div class="team">
4141
<h2 id="community-partners">
42-
Community Partners
42+
Parceiros da Comunidade
4343
<GetPositionButton
4444
v-if="!userPosition"
4545
@positionRetrieved="setUserPosition"
@@ -48,15 +48,15 @@
4848
</h2>
4949

5050
<div v-if="errorGettingLocation" class="danger custom-block">
51-
<p>Failed to get your location.</p>
51+
<p>Falha ao obter sua localização.</p>
5252
</div>
5353

5454
<p>
55-
Some members of the Vue community have so enriched it, that they deserve special mention. We've developed a more intimate relationship with these key partners, often coordinating with them on upcoming features and news.
55+
Alguns membros da comunidade Vue ajudaram tanto a enriquecê-la que merecem menção especial. Nós desenvolvemos uma relação mais intimista com estes parceiros, por vezes coordenando com eles sobre funcionalidades futuras e novidades em geral.
5656
</p>
5757

5858
<div v-if="userPosition" class="tip custom-block">
59-
<p>The community partners have been sorted by their distance from you.</p>
59+
<p>Os parceiros da comunidade foram ordenados de acordo com a distância deles até você.</p>
6060
</div>
6161

6262
<VuerProfile v-for="profile in partners" :key="profile.name" :profile="profile" :use-miles="useMiles"/>

src/.vuepress/components/community/team/vuer-profile.vue

+8-8
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<h3 :data-official-title="profile.title">{{ profile.name }}</h3>
1717
<dl>
1818
<template v-if="profile.reposOfficial">
19-
<dt>Core focus</dt>
19+
<dt>Focado em</dt>
2020
<dd>
2121
<ul>
2222
<li v-for="repo in profile.reposOfficial">
@@ -26,7 +26,7 @@
2626
</dd>
2727
</template>
2828
<template v-if="profile.github && profile.reposPersonal">
29-
<dt>Ecosystem</dt>
29+
<dt>ECOSSISTEMA</dt>
3030
<dd>
3131
<ul>
3232
<li v-for="repo in profile.reposPersonal">
@@ -51,17 +51,17 @@
5151
About
5252
<span
5353
v-if="profile.distanceInKm <= 150"
54-
:title="`${profile.name} is close enough to commute to your location.`"
54+
:title="`${profile.name} está perto o suficiente para se deslocar até a sua localização.`"
5555
class="highlighted"
56-
>{{ textDistance }} away</span>
57-
<template v-else>{{ textDistance }} away</template>
58-
in {{ profile.city }}
56+
>{{ textDistance }} de distância</span>
57+
<template v-else>{{ textDistance }} de distância</template>
58+
em {{ profile.city }}
5959
</dd>
6060
</span>
6161
<template v-else-if="profile.city">
6262
<dt>
6363
<i class="fa fa-map-marker"></i>
64-
<span class="sr-only">City</span>
64+
<span class="sr-only">Cidade</span>
6565
</dt>
6666
<dd>
6767
{{ profile.city }}
@@ -70,7 +70,7 @@
7070
<template v-if="profile.languages">
7171
<dt>
7272
<i class="fa fa-globe"></i>
73-
<span class="sr-only">Languages</span>
73+
<span class="sr-only">Idiomas</span>
7474
</dt>
7575
<dd class="language-list">
7676
<ul>

src/api/built-in-components.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,15 @@ import { KeepAlive, Teleport, Transition, TransitionGroup } from 'vue'
6464

6565
O registro não será necessário se você passar o próprio componente para `is` ao invés de seu nome.
6666

67-
- **Usage with VNodes:**
67+
- **Uso com VNodes:**
6868

69-
In advanced use cases, it can sometimes be useful to render an existing VNode via a template. Using a `<component>` makes this possible, but it should be seen as an escape hatch, used to avoid rewriting the entire template as a `render` function.
69+
Em casos de uso avançados, às vezes pode ser útil renderizar um VNode existente por meio de um _template_. Usar um `<component>` torna isso possível, mas deve ser visto como uma válvula de escape, usada para evitar reescrever o _template_ inteiro como uma função `render`.
7070

7171
```html
7272
<component :is="vnode" :key="aSuitableKey" />
7373
```
7474

75-
A caveat of mixing VNodes and templates in this way is that you need to provide a suitable `key` attribute. The VNode will be considered static, so any updates will be ignored unless the `key` changes. The `key` can be on the VNode or the `<component>` tag, but either way it must change every time you want the VNode to re-render. This caveat doesn't apply if the nodes have different types, e.g. changing a `span` to a `div`.
75+
Uma ressalva de misturar VNodes e _templates_ dessa maneira é que você precisa fornecer um atributo `key` adequado. O VNode será considerado estático, portanto, quaisquer atualizações serão ignoradas, a menos que a `key` seja alterada. A `key` pode estar no VNode ou na tag `<component>`, mas de qualquer forma ela deve mudar toda vez que você quiser que o VNode seja renderizado novamente. Esta ressalva não se aplica se os nós tiverem tipos diferentes, por exemplo, alterando um `span` para um `div`.
7676

7777
- **Ver também:** [Componentes Dinâmicos](../guide/component-dynamic-async.html)
7878

src/api/composition-api.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Uma opção de componente que é executada **antes** do componente ser criado, u
9696
}
9797
```
9898

99-
If you return a render function then you can't return any other properties. If you need to expose properties so that they can be accessed externally, e.g. via a `ref` in the parent, you can use `expose`:
99+
Se você retornar uma função de renderização, não poderá retornar nenhuma outra propriedade. Se você precisar expor propriedades para que possam ser acessadas externamente, por exemplo, através de um `ref` no pai, você pode usar `expose`:
100100

101101
```js
102102
// MyBook.vue
@@ -106,12 +106,12 @@ Uma opção de componente que é executada **antes** do componente ser criado, u
106106
export default {
107107
setup(props, { expose }) {
108108
const reset = () => {
109-
// Some reset logic
109+
// Alguma lógica de reset
110110
}
111111
112-
// Expose can only be called once.
113-
// If you need to expose multiple properties, they must all
114-
// be included in the object passed to expose.
112+
// Expose só pode ser chamado uma vez.
113+
// Se você precisar expor várias propriedades, todas elas devem
114+
// ser incluídas no objeto passado para expose.
115115
expose({
116116
reset
117117
})

src/api/directives.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
- **Exemplo:**
3636

3737
```html
38-
<div v-html="'<h1>Hello World</h1>'"></div>
38+
<div v-html="'<h1>Olá Mundo</h1>'"></div>
3939
```
4040

4141
- **Ver também:** [Sintaxe de Templates - Interpolações](../guide/template-syntax.html#raw-html)

src/api/options-composition.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ A função `setup` é uma nova opção de componente. Ela serve como ponto de en
307307
}
308308
```
309309

310-
`attrs`, `slots`, and `emit` are equivalent to the instance properties [`$attrs`](/api/instance-properties.html#attrs), [`$slots`](/api/instance-properties.html#slots), and [`$emit`](/api/instance-methods.html#emit) respectively.
310+
`attrs`, `slots` e `emit` são equivalentes às propriedades de instância [`$attrs`](/api/instance-properties.html#attrs), [`$slots`](/api/instance-properties.html#slots) e [`$emit`](/api/instance-methods.html#emit) respectivamente.
311311

312312
`attrs` e `slots` são _proxies_ para os valores correspondentes na instância interna do componente. Isso garante que eles sempre exponham os valores mais recentes, mesmo após as atualizações, para que possamos desestruturá-los sem nos preocupar em acessar uma referência obsoleta:
313313

@@ -322,7 +322,7 @@ A função `setup` é uma nova opção de componente. Ela serve como ponto de en
322322
}
323323
```
324324

325-
`expose`, added in Vue 3.2, is a function that allows specific properties to be exposed via the public component instance. By default, the public instance retrieved using refs, `$parent`, or `$root` is equivalent to the internal instance used by the template. Calling `expose` will create a separate public instance with the properties specified:
325+
`expose`, adicionado no Vue 3.2, é uma função que permite que propriedades específicas sejam expostas através da instância pública do componente. Por padrão, a instância pública recuperada usando refs, `$parent` ou `$root` é equivalente à instância interna usada pelo _template_. Chamar `expose` criará uma instância pública separada com as propriedades especificadas:
326326

327327
```js
328328
const MyComponent = {
@@ -331,12 +331,12 @@ A função `setup` é uma nova opção de componente. Ela serve como ponto de en
331331
const reset = () => count.value = 0
332332
const increment = () => count.value++
333333

334-
// Only reset will be available externally, e.g. via $refs
334+
// Somente reset estará disponível externamente, ex. via $refs
335335
expose({
336336
reset
337337
})
338338

339-
// Internally, the template has access to count and increment
339+
// Internamente, o template tem acesso à count e increment
340340
return { count, increment }
341341
}
342342
}

src/api/options-data.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -305,22 +305,22 @@
305305

306306
## expose <Badge text="3.2+" />
307307

308-
- **Type:** `Array<string>`
308+
- **Tipo:** `Array<string>`
309309

310-
- **Details:**
310+
- **Detalhes:**
311311

312-
A list of properties to expose on the public component instance.
312+
Uma lista de propriedades a serem expostas na instância pública do componente.
313313

314-
By default, the public instance accessed via [`$refs`](/api/instance-properties.html#refs), [`$parent`](/api/instance-properties.html#parent), or [`$root`](/api/instance-properties.html#root) is the same as the internal component instance that's used by the template. The `expose` option restricts the properties that can be accessed via the public instance.
314+
Por padrão, a instância pública acessada via [`$refs`](/api/instance-properties.html#refs), [`$parent`](/api/instance-properties.html#parent) ou [`$root`](/api/instance-properties.html#root) é a mesma que a instância do componente interno usado pelo _template_. A opção `expose` restringe as propriedades que podem ser acessadas através da instância pública.
315315

316-
Properties defined by Vue itself, such as `$el` and `$parent`, will always be available on the public instance and don't need to be listed.
316+
Propriedades definidas pelo próprio Vue, como `$el` e `$parent`, sempre estarão disponíveis na instância pública e não precisam ser listadas.
317317

318-
- **Usage:**
318+
- **Uso:**
319319

320320
```js
321321
export default {
322-
// increment will be exposed but count
323-
// will only be accessible internally
322+
// o increment será exposto, mas count
323+
// só será acessível internamente
324324
expose: ['increment'],
325325

326326
data() {
@@ -337,4 +337,4 @@
337337
}
338338
```
339339

340-
- **See also:** [defineExpose](/api/sfc-script-setup.html#defineexpose)
340+
- **Ver também:** [defineExpose](/api/sfc-script-setup.html#defineexpose)

src/guide/composition-api-setup.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,9 @@ export default {
168168
}
169169
```
170170

171-
Returning a render function prevents us from returning anything else. Internally that shouldn't be a problem, but it can be problematic if we want to expose methods of this component to the parent component via template refs.
171+
Retornar uma função de renderização nos impede de retornar qualquer outra coisa. Internamente, isso não deve ser um problema, mas pode ser problemático se quisermos expor métodos desse componente ao componente pai por meio de refs de _template_.
172172

173-
We can solve this problem by calling `expose`, passing it an object that defines the properties that should be available on the external component instance:
173+
Podemos resolver este problema chamando `expose`, passando-lhe um objeto que define as propriedades que devem estar disponíveis na instância externa do componente:
174174

175175
```js
176176
import { h, ref } from 'vue'
@@ -189,7 +189,7 @@ export default {
189189
}
190190
```
191191

192-
The `increment` method would then be available in the parent component via a template ref.
192+
O método `increment` estaria então disponível no componente pai através de um ref de _template_.
193193

194194
## Uso do `this`
195195

src/guide/migration/migration-build.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ O fluxo de trabalho a seguir percorre as etapas de migração de um aplicativo V
155155

156156
</details>
157157

158-
4. If you are using TypeScript, you will also need to modify `vue`'s typing to expose the default export (which is no longer present in Vue 3) by adding a `*.d.ts` file with the following:
158+
4. Se você estiver usando TypeScript, também precisará modificar a tipagem do `vue` para expor a exportação padrão (que não está mais presente no Vue 3) adicionando um arquivo `*.d.ts` com o seguinte:
159159

160160
```ts
161161
declare module 'vue' {

0 commit comments

Comments
 (0)