Skip to content

Commit

Permalink
[docs] Sync translation (#21638)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Jul 1, 2020
1 parent d260cd5 commit 3a96473
Show file tree
Hide file tree
Showing 382 changed files with 2,157 additions and 2,406 deletions.
Expand Up @@ -2,7 +2,7 @@

<p class="description">Dieses Paket enthält die Inkubator-Komponenten, die noch nicht bereit sind, in den Kern aufgenommen zu werden.</p>

Der Hauptunterschied zwischen dem Labor und dem Kern besteht darin, wie die Komponenten versioniert werden. Having a separate lab package allows us to release breaking changes when necessary while the core package follows a [slower-moving policy](https://material-ui.com/versions/#release-frequency).
Der Hauptunterschied zwischen dem Labor und dem Kern besteht darin, wie die Komponenten versioniert werden. Mit einem separaten Laborpaket können wir bei Bedarf wichtige Änderungen freigeben, während das Kernpaket folgen die [Release Regeln](https://material-ui.com/versions/#release-frequency).

As developers use and test the components and report issues, the maintainers learn more about shortcomings of the components: missing features, accessibility issues, bugs, API design, etc. The older and more used a component is, the less likely it is that new issues will be found and subsequently need to introduce breaking changes.

Expand Down
4 changes: 2 additions & 2 deletions docs/src/pages/components/accordion/accordion-de.md
Expand Up @@ -9,7 +9,7 @@ components: Accordion, AccordionActions, AccordionDetails, AccordionSummary

[Ein Erweiterungspanel](https://material.io/archive/guidelines/components/expansion-panels.html) ist ein leichter Behälter, der entweder alleine stehen kann oder mit einer größeren Oberfläche verbunden ist, beispielsweise einer Karte.

> **Note:** Expansion panels are no longer documented in the [Material Design guidelines](https://material.io/), but Material-UI will continue to support them.
> **Note:** Expansion panels are no longer documented in the [Material Design guidelines](https://material.io/), but Material-UI will continue to support them. It was formerly known as the "expansion panel".
## Einfaches Erweiterungspanel

Expand Down Expand Up @@ -53,4 +53,4 @@ Zur Strukturierung des Inhalts können mehrere Spalten verwendet werden. Dem Bed

(WAI-ARIA: https://www.w3.org/TR/wai-aria-practices/#accordion)

Für eine optimale Erreichbarkeit empfehlen wir die Einstellung `id` und `aria-controls` in der `AccordionSummary`. Das `Accordion` leitet die notwendigen `aria-labelledby` und `id` für den Inhaltsbereich des Panels ab.
Für eine optimale Erreichbarkeit empfehlen wir die Einstellung `id` und `aria-controls` in der `AccordionSummary`. Das `Accordion` leitet die notwendigen `aria-labelledby` und `id` für den Inhaltsbereich des Panels ab.
6 changes: 3 additions & 3 deletions docs/src/pages/components/accordion/accordion-es.md
Expand Up @@ -9,7 +9,7 @@ components: Accordion, AccordionActions, AccordionDetails, AccordionSummary

Un [panel de expansión](https://material.io/archive/guidelines/components/expansion-panels.html) es un contenedor liviano que puede ser ya sea único o estar conectado a una superficie más grande, como una tarjeta.

> **Note:** Expansion panels are no longer documented in the [Material Design guidelines](https://material.io/), but Material-UI will continue to support them.
> **Note:** Expansion panels are no longer documented in the [Material Design guidelines](https://material.io/), but Material-UI will continue to support them. It was formerly known as the "expansion panel".
## Panel de expansión simple

Expand All @@ -27,7 +27,7 @@ Here is an example of customizing the component. You can learn more about this i

{{"demo": "pages/components/accordion/CustomizedAccordions.js"}}

## Additional actions
## Acciones Adicionales

In order to put an action such as a `Checkbox` or a button inside of the `AccordionSummary`, you need to stop the propagation of the focus and click events to prevent the panel from expanding/collapsing when using the action. You should also provide an `aria-label` for the action, otherwise the label of the nested action will be included in the label of the parent button that controls the accordion expansion.

Expand All @@ -53,4 +53,4 @@ Múltiples columnas pueden ser usadas para estructurar el contenido, y un texto

(WAI-ARIA: https://www.w3.org/TR/wai-aria-practices/#accordion)

Para óptima accesibilidad recomendamos establecer `id` y `aria-controls` en `AccordionSummary`. El `Accordion` derivará los necesarios `aria-labelledby` y `id` para la región de contenido del panel.
Para óptima accesibilidad recomendamos establecer `id` y `aria-controls` en `AccordionSummary`. El `Accordion` derivará los necesarios `aria-labelledby` y `id` para la región de contenido del panel.
4 changes: 2 additions & 2 deletions docs/src/pages/components/accordion/accordion-fr.md
Expand Up @@ -9,7 +9,7 @@ components: Accordion, AccordionActions, AccordionDetails, AccordionSummary

[Un panneau d'extension](https://material.io/archive/guidelines/components/expansion-panels.html) est un conteneur léger pouvant être autonome ou connecté à une surface plus grande, telle qu'une carte.

> **Note:** Expansion panels are no longer documented in the [Material Design guidelines](https://material.io/), but Material-UI will continue to support them.
> **Note:** Expansion panels are no longer documented in the [Material Design guidelines](https://material.io/), but Material-UI will continue to support them. It was formerly known as the "expansion panel".
## Panneau d'extension simple

Expand Down Expand Up @@ -53,4 +53,4 @@ Plusieurs colonnes peuvent être utilisées pour structurer le contenu et un tex

(WAI-ARIA: https://www.w3.org/TR/wai-aria-practices/#accordion)

For optimal accessibility we recommend setting `id` and `aria-controls` on the `AccordionSummary`. The `Accordion` will derive the necessary `aria-labelledby` and `id` for the content region of the panel.
For optimal accessibility we recommend setting `id` and `aria-controls` on the `AccordionSummary`. The `Accordion` will derive the necessary `aria-labelledby` and `id` for the content region of the panel.
6 changes: 3 additions & 3 deletions docs/src/pages/components/accordion/accordion-ja.md
Expand Up @@ -9,7 +9,7 @@ components: Accordion, AccordionActions, AccordionDetails, AccordionSummary

[拡張パネル](https://material.io/archive/guidelines/components/expansion-panels.html)は 独立した軽量のコンテナであるか、カードなどの大きなサーフェスに接続されています。

> **注:** 拡張パネルについては、[Material Design guidelines](https://material.io/)では説明されていませんが、Material-UIでは引き続きサポートされます。
> **注:** 拡張パネルについては、[Material Design guidelines](https://material.io/)では説明されていませんが、Material-UIでは引き続きサポートされます。 It was formerly known as the "expansion panel".
## Simple Accordion

Expand All @@ -35,7 +35,7 @@ In order to put an action such as a `Checkbox` or a button inside of the `Accord

## パフォーマンス

Accordionsのコンテンツは、パネルが展開されていない場合でもデフォルトでマウントされます。 このデフォルトの動作では、サーバー側のレンダリングとSEOが考慮されています。 If you render expensive component trees inside your panels or simply render many panels it might be a good idea to change this default behavior by enabling the `unmountOnExit` in `TransitionProps`:
The content of Accordions is mounted by default even if the accordion is not expanded. このデフォルトの動作では、サーバー側のレンダリングとSEOが考慮されています。 Accordionsのコンテンツは、パネルが展開されていない場合でもデフォルトでマウントされます。 このデフォルトの動作では、サーバー側のレンダリングとSEOが考慮されています。 If you render expensive component trees inside your panels or simply render many panels it might be a good idea to change this default behavior by enabling the `unmountOnExit` in `TransitionProps`:

```jsx
<Accordion TransitionProps={{ unmountOnExit: true }} />
Expand All @@ -53,4 +53,4 @@ Accordionsのコンテンツは、パネルが展開されていない場合で

(WAI-ARIA: https://www.w3.org/TR/wai-aria-practices/#accordion)

最適なアクセシビリティのために、 `AccordionSummary``id``aria-controls` を設定することをお勧めします。 `Accordion` は、パネルのコンテンツ領域に必要な `aria-labelledby` および `id` を導き出します。
最適なアクセシビリティのために、 `AccordionSummary``id``aria-controls` を設定することをお勧めします。 `Accordion` は、パネルのコンテンツ領域に必要な `aria-labelledby` および `id` を導き出します。 最適なアクセシビリティのために、 `AccordionSummary``id``aria-controls` を設定することをお勧めします。 `Accordion` は、パネルのコンテンツ領域に必要な `aria-labelledby` および `id` を導き出します。
24 changes: 12 additions & 12 deletions docs/src/pages/components/accordion/accordion-pt.md
@@ -1,41 +1,41 @@
---
title: Componente React para Painéis de Expansão
title: Componente React para Acordeão
components: Accordion, AccordionActions, AccordionDetails, AccordionSummary
---

# Painel de Expansão
# Acordeão

<p class="description">Os painéis de expansão contêm fluxos de criação e permitem a edição simplificada de um elemento.</p>
<p class="description">Os acordeões contêm fluxos de criação e permitem a edição simplificada de um elemento.</p>

[Um painel de expansão](https://material.io/archive/guidelines/components/expansion-panels.html) é um contêiner leve que pode estar sozinho ou conectado em uma superfície maior, como um cartão.
[Um acordeão](https://material.io/archive/guidelines/components/expansion-panels.html) é um contêiner leve que pode estar sozinho ou conectado em uma superfície maior, como um cartão.

> **Nota:** Os painéis de expansão não estão mais documentados nas [diretrizes do Material Design](https://material.io/), mas o Material-UI continuará a suportá-los.
> **Nota:** Os acordeões não estão mais documentados nas [diretrizes do Material Design](https://material.io/), mas o Material-UI continuará a suportá-los. Anteriormente, ele era formalmente conhecido como "painel de expansão".
## Painel de Expansão Simples
## Acordeão simples

{{"demo": "pages/components/accordion/SimpleAccordion.js", "bg": true}}

## Acordeão Controlado
## Acordeão controlado

Estenda o comportamento padrão do painel para criar um acordeão com o componente `Accordion`.

{{"demo": "pages/components/accordion/ControlledAccordions.js", "bg": true}}

## Painéis de expansão customizados
## Acordeões customizados

Aqui está um exemplo de customização do componente. Você pode aprender mais sobre isso na [página de documentação de sobrescritas](/customization/components/).

{{"demo": "pages/components/accordion/CustomizedAccordions.js"}}

## Ações adicionais

Para colocar uma ação como um `Checkbox` ou um botão dentro do `AccordionSummary`, você precisa parar a propogação do foco e eventos de clique para previnir o painel de expandir/colapsar quando usar a ação. Você deve fornecer também um `aria-label` para a ação, caso contrário, o rótulo da ação aninhada será incluído no rótulo do botão pai que controla a expansão do painel.
Para colocar uma ação como um `Checkbox` ou um botão dentro do `AccordionSummary`, você precisa parar a propogação do foco e eventos de clique para previnir o painel de expandir/colapsar quando usar a ação. Você deve fornecer também um `aria-label` para a ação, caso contrário, o rótulo da ação aninhada será incluído no rótulo do botão pai que controla a expansão do acordeão.

{{"demo": "pages/components/accordion/ActionsInAccordionSummary.js", "bg": true}}

## Performance

O conteúdo dos painéis de expansão é montado por padrão, mesmo que o painel não esteja expandido. Esse comportamento padrão tem em mente a renderização do lado do servidor e o SEO. Se você renderizar grandes árvores de componentes dentro de seu painel ou simplesmente renderizar muitos painéis, pode ser uma boa ideia desabilitar esse comportamento padrão habilitando `unmountOnExit` em `TransitionProps`:
O conteúdo dos acordeões é montado por padrão, mesmo que o acordeão não esteja expandido. Esse comportamento padrão tem em mente a renderização do lado do servidor e o SEO. Se você renderizar grandes árvores de componentes dentro de seu acordeão ou simplesmente renderizar muitos acordeões, pode ser uma boa ideia desabilitar esse comportamento padrão habilitando `unmountOnExit` em `TransitionProps`:

```jsx
<Accordion TransitionProps={{ unmountOnExit: true }} />
Expand All @@ -45,12 +45,12 @@ Como acontece com qualquer otimização de desempenho, isso não é uma bala de

## Cabeçalho secundário e colunas

Várias colunas podem ser usadas para estruturar o conteúdo, e um texto auxiliar pode ser adicionado ao painel para ajudar o usuário.
Várias colunas podem ser usadas para estruturar o conteúdo, e um texto auxiliar pode ser adicionado ao acordeão para ajudar o usuário.

{{"demo": "pages/components/accordion/DetailedAccordion.js", "bg": true}}

## Acessibilidade

(WAI-ARIA: https://www.w3.org/TR/wai-aria-practices/#accordion)

Para melhor acessibilidade recomendamos a definição do `id` e `aria-controls` no `AccordionSummary`. O `Accordion` irá derivar os valores de `aria-labelledby` e `id` para a região de conteúdo do painel.
Para melhor acessibilidade recomendamos a definição do `id` e `aria-controls` no `AccordionSummary`. O `Accordion` irá derivar os valores de `aria-labelledby` e `id` para a região de conteúdo do acordeão.
4 changes: 2 additions & 2 deletions docs/src/pages/components/accordion/accordion-ru.md
Expand Up @@ -9,7 +9,7 @@ components: Accordion, AccordionActions, AccordionDetails, AccordionSummary

[Accordion](https://material.io/archive/guidelines/components/expansion-panels.html) это простой контейнер, который может использоваться отдельно, либо как часть более крупного компонента, такого как Card (карточка).

> **Note:** Expansion panels are no longer documented in the [Material Design guidelines](https://material.io/), but Material-UI will continue to support them.
> **Note:** Expansion panels are no longer documented in the [Material Design guidelines](https://material.io/), but Material-UI will continue to support them. It was formerly known as the "expansion panel".
## Простая Accordion

Expand Down Expand Up @@ -53,4 +53,4 @@ In order to put an action such as a `Checkbox` or a button inside of the `Accord

(WAI-ARIA: https://www.w3.org/TR/wai-aria-practices/#accordion)

Для оптимальной доступности мы рекомендуем установить `id` и `aria-controls` на `AccordionSummary`. `Accordion` унаследует необходимые `aria-labelbyby` и `id` для области содержимого панели.
Для оптимальной доступности мы рекомендуем установить `id` и `aria-controls` на `AccordionSummary`. `Accordion` унаследует необходимые `aria-labelbyby` и `id` для области содержимого панели.
10 changes: 5 additions & 5 deletions docs/src/pages/components/accordion/accordion-zh.md
Expand Up @@ -9,15 +9,15 @@ components: Accordion, AccordionActions, AccordionDetails, AccordionSummary

[扩展面板](https://material.io/archive/guidelines/components/accordion.html)是一个轻量级容器,既可以单独使用,也可以和卡片这样更大的平面相结合。

> **注意:** 此版本的扩展面板将不再记录在 [Material Design 指南中](https://material.io/),但 Material-UI 将继续支持它。
> **注意:** 此版本的扩展面板将不再记录在 [Material Design 指南中](https://material.io/),但 Material-UI 将继续支持它。 它的前生是 "expansion panel"。
## 简单的扩展面板

{{"demo": "pages/components/accordion/SimpleAccordion.js", "bg": true}}

## 可控制的折叠面板

使用 ` Accordion` 组件,能够扩展已有的控制面板行为,来创建自定义的扩展面板组。
使用 `Accordion` 组件,能够扩展已有的控制面板行为,来创建自定义的扩展面板组。

{{"demo": "pages/components/accordion/ControlledAccordions.js", "bg": true}}

Expand All @@ -29,13 +29,13 @@ components: Accordion, AccordionActions, AccordionDetails, AccordionSummary

## 其他操作

当你把 `Checkbox` 或者一个按钮这样的操作事件放进`AccordionSummary`,当在打开和收缩控制面板时使用这个操作,你则需要阻止 focus 和 click 事件的传播。 您则需要把 `aria-label` 传给操作,否则控制面板扩展的父级按钮会把嵌套着的操作的标签包含进去。
当你把 `Checkbox` 或者一个按钮这样的操作事件放进`AccordionSummary`,当在打开和收缩控制面板时使用这个操作,你则需要阻止 focus 和 click 事件的传播。 您则需要把 `aria-label` 传给操作,否则控制面板扩展的父级按钮会把嵌套着的操作的标签包含进去。 您还应该为该操作提供一个 `aria-label` 标签,否则嵌套操作的标签将包含在控制扩展面板的父按钮的标签中。

{{"demo": "pages/components/accordion/ActionsInAccordionSummary.js", "bg": true}}

## 性能

默认情况下,即使在面板没被展开的情况下,扩展面板的内容也会被注入到页面中。 这样的默认情况是是考虑到了服务端渲染(server-side rendering)和搜索引擎优化(SEO)。 但如果你您要在扩展面板中渲染开销很大的树组件,或者只是单纯想要渲染很多扩展面板,我们建议变更这个默认的行为:需要启用 `TransitionProps` 中的 `unmountOnExit` 属性
即使扩展面板没有展开,默认情况下扩展面板的内容也会挂载。 这样的默认情况是是考虑到了服务端渲染(server-side rendering)和搜索引擎优化(SEO)。 如果您在扩展面板中渲染组件树性能开销很大,或者只是想要渲染很多不带内容的扩展面板,那么通过启用 `TransitionProps` 中的 `unmountOnExit` 来改变默认的渲染方式也许可行

```jsx
<Accordion TransitionProps={{ unmountOnExit: true }} />
Expand All @@ -53,4 +53,4 @@ components: Accordion, AccordionActions, AccordionDetails, AccordionSummary

(WAI-ARIA: https://www.w3.org/TR/wai-aria-practices/#accordion)

如果想要取得较好的无障碍设计,我们建议您在 `AccordionSummary` 中配置 `id``aria-controls` `Accordion` 将为面板的内容区域导出必要的 `aria-labelledby``id`
为了获得最佳的无障碍设计,我们建议在 `AccordionSummary` 上设置 `id``aria-controls``Accordion` 将为扩展面板的内容区域派生必需的 `aria-labelledby``id`
2 changes: 1 addition & 1 deletion docs/src/pages/components/alert/alert-ja.md
Expand Up @@ -35,7 +35,7 @@ You can use a [transition component](/components/transitions/) such as `Collapse

{{"demo": "pages/components/alert/TransitionAlerts.js"}}

## アイコン
## Icons

The `icon` prop allows you to add an icon to the beginning of the alert component. This will override the default icon for the specified severity.

Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/components/alert/alert-zh.md
@@ -1,5 +1,5 @@
---
title: React Alert component 警告提示组件
title: React 警告提示组件
components: Alert, AlertTitle
---

Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/components/app-bar/app-bar-de.md
Expand Up @@ -113,7 +113,7 @@ Beim Scrollen erscheint ein schwebender Button, um einfach wieder zum Seitenanfa

1. `options` (*Object* [optional]):

- `options.disableHysteresis ` (*Boolean* [optional]): Standardeinstellung ist `false`. Hysterese deaktivieren. Die Bildlaufrichtung wird beim Bestimmen des `trigger`-Werts ignoriert.
- `options.disableHysteresis` (*Boolean* [optional]): Standardeinstellung ist `false`. Hysterese deaktivieren. Die Bildlaufrichtung wird beim Bestimmen des `trigger`-Werts ignoriert.
- `options.target` (*Node* [optional]): Standardwert `window`.
- `options.threshold` (*Number* [optional]): Defaults to `100`. Change the `trigger` value when the vertical scroll strictly crosses this threshold (exclusive).

Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/components/app-bar/app-bar-ja.md
Expand Up @@ -119,7 +119,7 @@ function App() {

#### 戻り値

` trigger `:スクロール位置が基準に合っていますか?
`trigger`:スクロール位置が基準に合っていますか?

####

Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/components/app-bar/app-bar-zh.md
@@ -1,5 +1,5 @@
---
title: React App Bar 应用栏组件
title: React 应用栏组件
components: AppBar, Toolbar, Menu
---

Expand Down

0 comments on commit 3a96473

Please sign in to comment.