From 8733808b7af894736862aaf2d890cbe89630a7b1 Mon Sep 17 00:00:00 2001 From: Dmitriy Date: Mon, 28 Apr 2025 20:58:56 +0300 Subject: [PATCH] Add Russian translation for components-progress-page --- .../react-dom/components/progress.md | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/content/reference/react-dom/components/progress.md b/src/content/reference/react-dom/components/progress.md index 9a8d60ab0..4acb4a2b4 100644 --- a/src/content/reference/react-dom/components/progress.md +++ b/src/content/reference/react-dom/components/progress.md @@ -4,7 +4,7 @@ title: "" -The [built-in browser `` component](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress) lets you render a progress indicator. +[Встроенный в браузер компонент ``](https://developer.mozilla.org/ru/docs/Web/HTML/Element/progress) отвечает за рендер индикатора прогресса. ```js @@ -16,36 +16,36 @@ The [built-in browser `` component](https://developer.mozilla.org/en-U --- -## Reference {/*reference*/} +## Справочник {/*reference*/} ### `` {/*progress*/} -To display a progress indicator, render the [built-in browser ``](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress) component. +Для отображения индикатора прогресса отрендерите [встроенный в браузер компонент ``](https://developer.mozilla.org/ru/docs/Web/HTML/Element/progress). ```js ``` -[See more examples below.](#usage) +[См. больше примеров ниже.](#usage) -#### Props {/*props*/} +#### Пропсы {/*props*/} -`` supports all [common element props.](/reference/react-dom/components/common#props) +`` поддерживает все [пропсы общих HTML-элементов.](/reference/react-dom/components/common#props) -Additionally, `` supports these props: +Кроме того, `` поддерживает следующие пропсы: -* [`max`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress#max): A number. Specifies the maximum `value`. Defaults to `1`. -* [`value`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress#value): A number between `0` and `max`, or `null` for indeterminate progress. Specifies how much was done. +* [`max`](https://developer.mozilla.org/ru/docs/Web/HTML/Element/progress#max): число. Указывает максимальное `value`. По умолчанию `1`. +* [`value`](https://developer.mozilla.org/ru/docs/Web/HTML/Element/progress#value): число между `0` и `max`, или `null` для неопределённого прогресса. Указывает сколько было сделано. --- -## Usage {/*usage*/} +## Применение {/*usage*/} -### Controlling a progress indicator {/*controlling-a-progress-indicator*/} +### Управление индикатором прогресса {/*controlling-a-progress-indicator*/} -To display a progress indicator, render a `` component. You can pass a number `value` between `0` and the `max` value you specify. If you don't pass a `max` value, it will assumed to be `1` by default. +Для отображения индикатора прогресса отрендерите компонент ``. Можно передать числовое `value` между `0` и указанным значением `max`. Если не указать `max`, то по умолчанию его значение будет равно `1`. -If the operation is not ongoing, pass `value={null}` to put the progress indicator into an indeterminate state. +Если никакая операция не выполняется, передайте `value={null}`, чтобы индикатор прогресса перешёл в неопределённое состояние.