summaryrefslogtreecommitdiffstats
path: root/docs/ru-RU
diff options
context:
space:
mode:
authorMatan Kushner <hello@matchai.dev>2020-06-10 21:28:04 -0400
committerGitHub <noreply@github.com>2020-06-10 21:28:04 -0400
commite29140a3cde3094d27f10f4e1360b65fec8985c3 (patch)
tree275aa10929cc909ed836145399f28251a57ab725 /docs/ru-RU
parent30ff5913bea6cb209ba55f3064c109853d45d521 (diff)
docs(i18n): new Crowdin translations (#1262)
* New translations README.md (Portuguese, Brazilian) * New translations README.md (German) * New translations README.md (French) * New translations README.md (Japanese) * New translations README.md (Spanish) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Simplified) * New translations README.md (Russian) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Chinese Simplified) * New translations README.md (Chinese Traditional) * New translations README.md (Portuguese) * New translations README.md (Portuguese, Brazilian) * New translations README.md (French) * New translations README.md (Spanish) * New translations README.md (German) * New translations README.md (Russian) * New translations README.md (Japanese) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Chinese Simplified) * New translations README.md (Chinese Traditional) * New translations README.md (Portuguese) * New translations README.md (Portuguese, Brazilian) * New translations README.md (French) * New translations README.md (Spanish) * New translations README.md (German) * New translations README.md (Russian) * New translations README.md (Japanese) * New translations README.md (French) * New translations README.md (Japanese) * New translations README.md (German) * New translations README.md (Spanish) * New translations README.md (Chinese Traditional) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese) * New translations README.md (Chinese Simplified) * New translations README.md (Russian) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Traditional) * New translations README.md (Portuguese) * New translations README.md (Portuguese) * New translations README.md (Chinese Simplified) * New translations README.md (Portuguese, Brazilian) * New translations README.md (French) * New translations README.md (French) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (German) * New translations README.md (German) * New translations README.md (Chinese Simplified) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Russian) * New translations README.md (Russian) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Japanese)
Diffstat (limited to 'docs/ru-RU')
-rw-r--r--docs/ru-RU/config/README.md358
-rw-r--r--docs/ru-RU/presets/README.md3
2 files changed, 217 insertions, 144 deletions
diff --git a/docs/ru-RU/config/README.md b/docs/ru-RU/config/README.md
index a70f9d60a..8f633775f 100644
--- a/docs/ru-RU/config/README.md
+++ b/docs/ru-RU/config/README.md
@@ -113,6 +113,7 @@ prompt_order = [
"haskell",
"java",
"julia",
+ "nim",
"nodejs",
"ocaml",
"php",
@@ -374,12 +375,21 @@ style = "bold blue"
<details>
<summary>Этот модуль имеет несколько расширенных опций конфигурации, которые контролируют отображение каталога.</summary>
-| Переменная | По умолчанию | Описание |
-| --------------------------- | ------------ | --------------------------------------------------------------------------------- |
-| `fish_style_pwd_dir_length` | `0` | Количество символов, используемых при использовании логики создания пути из fish. |
-| `use_logical_path` | `true` | Отображает логический путь от оболочки (`PWD`) вместо пути от ОС. |
+| Переменная | По умолчанию | Описание |
+| --------------------------- | ------------ | ---------------------------------------------------------------------------------------- |
+| `substitutions` | | A table of substitutions to be made to the path. |
+| `fish_style_pwd_dir_length` | `0` | The number of characters to use when applying fish shell pwd path logic. |
+| `use_logical_path` | `true` | Displays the logical path provided by the shell (`PWD`) instead of the path from the OS. |
-`fish_style_pwd_dir_length` взаимодействует со стандартными параметрами усечения, которые могут сначала показаться странными: если он не равен нулю, элементы пути, который обычно усекается, вместо этого отображаются с указанным количеством символов. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. For `fish_style_pwd_dir_length = 2`, it would be `/bu/th/ci/on/rock/and/roll`.
+`substitutions` allows you to define arbitrary replacements for literal strings that occur in the path, for example long network prefixes or development directories (i.e. Java). Note that this will disable the fish style PWD.
+
+```toml
+[directory.substitutions]
+"/Volumes/network/path" = "/net"
+"src/com/long/java/path" = "mypath"
+```
+
+`fish_style_pwd_dir_length` interacts with the standard truncation options in a way that can be surprising at first: if it's non-zero, the components of the path that would normally be truncated are instead displayed with that many characters. For example, the path `/built/this/city/on/rock/and/roll`, which would normally be displayed as as `rock/and/roll`, would be displayed as `/b/t/c/o/rock/and/roll` with `fish_style_pwd_dir_length = 1`--the path components that would normally be removed are displayed with a single character. For `fish_style_pwd_dir_length = 2`, it would be `/bu/th/ci/on/rock/and/roll`.
</details>
@@ -394,7 +404,7 @@ truncation_length = 8
## Контекст Docker
-Модуль `docker_context` показывает текущий активный [контекст Docker](https://docs.docker.com/engine/context/working-with-contexts/), если он не установлен как `default`.
+The `docker_context` module shows the currently active [Docker context](https://docs.docker.com/engine/context/working-with-contexts/) if it's not set to `default`.
### Опции
@@ -416,11 +426,11 @@ symbol = "🐋 "
## Dotnet
-Модуль `dotnet` показывает соответствующую версию .NET Core SDK для текущего каталога. Если SDK был закреплен в текущей директории, будет показана закрепленная версия. В противном случае модуль отображает последнюю установленную версию SDK.
+The `dotnet` module shows the relevant version of the .NET Core SDK for the current directory. If the SDK has been pinned in the current directory, the pinned version is shown. Otherwise the module shows the latest installed version of the SDK.
-Этот модуль будет показан только, когда один из следующих файлов присутствует в текущей директории: `global.json`, `project.json`, `*.sln`, `*.csproj`, `*.fsproj`, `*.xproj`. Также, для правильного использования, нужны инструменты командной строки .NET Core.
+This module will only be shown in your prompt when one of the following files are present in the current directory: `global.json`, `project.json`, `*.sln`, `*.csproj`, `*.fsproj`, `*.xproj`. You'll also need the .NET Core command-line tools installed in order to use it correctly.
-Внутренне этот модуль использует свой собственный механизм определения версий. Обычно он в два раза быстрее, чем `dotnet --version`, но он может показывать неправильную версию, если ваш .NET проект имеет необычный формат каталога. Если точность важнее, чем скорость, вы можете отключить механизм опцией `heuristic = false` в настройках модуля.
+Internally, this module uses its own mechanism for version detection. Typically it is twice as fast as running `dotnet --version`, but it may show an incorrect version if your .NET project has an unusual directory layout. If accuracy is more important than speed, you can disable the mechanism by setting `heuristic = false` in the module options.
### Опции
@@ -444,7 +454,7 @@ heuristic = false
## Elixir
-Модуль `elixir` показывает установленную версию Elixir и Erlang/OTP. Модуль будет показан, если любое из следующих условий соблюдено:
+The `elixir` module shows the currently installed version of Elixir and Erlang/OTP. Модуль будет показан, если любое из следующих условий соблюдено:
- Текущий каталог содержит файл `mix.exs`.
@@ -467,7 +477,7 @@ symbol = "🔮 "
## Elm
-Модуль `elm` показывает установленную версию Elm. Модуль будет показан, если любое из следующих условий соблюдено:
+The `elm` module shows the currently installed version of Elm. Модуль будет показан, если любое из следующих условий соблюдено:
- Текущий каталог содержит файл `elm.json`
- Текущий каталог содержит файл `elm-package.json`
@@ -495,7 +505,7 @@ symbol = " "
## Переменная Окружения
-Модуль `env_var` отображает текущее значение выбранной переменной окружения. Модуль будет показан только в том случае, если любое из следующих условий соблюдено:
+The `env_var` module displays the current value of a selected environment variable. The module will be shown only if any of the following conditions are met:
- Опция `variable` соответствует существующей переменной среды
- Опция `variable` не определена, но определена опция `default`
@@ -548,7 +558,7 @@ symbol = "e "
## Ветвь Git
-Модуль `git_branch` показывает активную ветку репозитория в вашем текущей директории.
+The `git_branch` module shows the active branch of the repo in your current directory.
### Опции
@@ -573,7 +583,7 @@ truncation_symbol = ""
## Коммит Git
-Модуль `git_commit` показывает хэш текущего коммита репозитория в вашем текущем каталоге.
+The `git_commit` module shows the current commit hash of the repo in your current directory.
### Опции
@@ -597,7 +607,7 @@ commit_hash_length = 4
## Состояние Git
-Модуль `git_state` будет отображаться в директориях, являющимися частью репозитория git, и там, где выполняется операция, такие как: _REBASING_, _BISECTING_, и т. д. Если есть информация о прогрессе (например, REBASING 3/10), эта информация также будет показана.
+The `git_state` module will show in directories which are part of a git repository, and where there is an operation in progress, such as: _REBASING_, _BISECTING_, etc. If there is progress information (e.g., REBASING 3/10), that information will be shown too.
### Опции
@@ -626,7 +636,7 @@ cherry_pick = "🍒 PICKING"
## Статус Git
-Модуль `git_status` отображает символы, представляющие состояние репозитория в вашей текущей директории.
+The `git_status` module shows symbols representing the state of the repo in your current directory.
### Опции
@@ -685,7 +695,7 @@ deleted = "🗑"
## Golang
-Модуль `golang` показывает установленную версию Golang. Модуль будет показан, если любое из следующих условий соблюдено:
+The `golang` module shows the currently installed version of Golang. Модуль будет показан, если любое из следующих условий соблюдено:
- Текущий каталог содержит файл `go.mod`
- Текущий каталог содержит файл `go.sum`
@@ -714,7 +724,7 @@ symbol = "🏎💨 "
```
## Haskell
-Модуль `haskell` показывает установленную версию Haskell Stack. Модуль будет показан, если любое из следующих условий соблюдено:
+The `haskell` module shows the currently installed version of Haskell Stack version. Модуль будет показан, если любое из следующих условий соблюдено:
- Текущий каталог содержит файл `stack.yaml`
@@ -738,7 +748,7 @@ symbol = " "
## Имя хоста
-Модуль `hostname` отображает имя системы (хоста).
+The `hostname` module shows the system hostname.
### Опции
@@ -766,7 +776,7 @@ disabled = false
## Java
-Модуль `java` показывает установленную версию Java. Модуль будет показан, если любое из следующих условий соблюдено:
+The `java` module shows the currently installed version of Java. Модуль будет показан, если любое из следующих условий соблюдено:
- The current directory contains a `pom.xml`, `build.gradle.kts`, `build.sbt` or `.java-version` file
- The current directory contains a file with the `.java`, `.class`, `.gradle` or `.jar` extension
@@ -790,7 +800,7 @@ symbol = "🌟 "
## Задачи
-Модуль `jobs` отображает текущее количество запущенных работ. Модуль будет показан только если работы выполняются в фоне. Модуль покажет количество запущенных задач при наличии более чем 1 задачи, или больше, чем значение конфигурации `threshold`, если оно существует.
+The `jobs` module shows the current number of jobs running. The module will be shown only if there are background jobs running. The module will show the number of jobs running if there is more than 1 job, or more than the `threshold` config value, if it exists.
### Опции
@@ -837,11 +847,11 @@ symbol = "∴ "
```
## Kubernetes
-Отображает текущее контекстное имя Kubernetes и, если применено, пространство имён из файла kubeconfig. Пространство имен дожно быть задано в файле kubeconfig, это делается через `kubectl config set-context starship-cluster --namespace astronaut`. Если переменная окружения `$KUBECONFIG` задана, модуль будет использовать его значение, в противном случае будет использовать `~/.kube/config`.
+Displays the current Kubernetes context name and, if set, the namespace from the kubeconfig file. The namespace needs to be set in the kubeconfig file, this can be done via `kubectl config set-context starship-cluster --namespace astronaut`. If the `$KUBECONFIG` env var is set the module will use that if not it will use the `~/.kube/config`.
-::: tip
+::: tip Подсказка
-По умолчанию этот модуль отключен. Чтобы включить его, установите `disabled` на `false` в файле конфигурации.
+This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file.
:::
@@ -869,7 +879,7 @@ disabled = false
## Перевод Строки
-Модуль `line_break` разделяет командную строку на две строки.
+The `line_break` module separates the prompt into two lines.
### Опции
@@ -888,13 +898,13 @@ disabled = true
## Использование памяти
-Модуль `memory_usage` отображает текущую системную память и использование подкачки.
+The `memory_usage` module shows current system memory and swap usage.
-По умолчанию использование подкачки отображается, если общая сумма подкачки системы не равна нулю.
+By default the swap usage is displayed if the total system swap is non-zero.
-::: tip
+::: tip Подсказка
-По умолчанию этот модуль отключен. Чтобы включить его, установите `disabled` на `false` в файле конфигурации.
+This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file.
:::
@@ -927,7 +937,7 @@ style = "bold dimmed green"
## Ветка Mercurial
-Модуль `hg_branch` показывает активную ветку репозитория в вашем текущем каталоге.
+The `hg_branch` module shows the active branch of the repo in your current directory.
### Опции
@@ -950,20 +960,46 @@ truncation_length = 4
truncation_symbol = ""
```
+## Nim
+
+The `nim` module shows the currently installed version of Nim. Модуль будет показан, если любое из следующих условий соблюдено:
+- The current directory contains a `nim.cfg` file
+- The current directory contains a file with the `.nim` extension
+- The current directory contains a file with the `.nims` extension
+- The current directory contains a file with the `.nimble` extension
+
+### Опции
+
+| Переменная | По умолчанию | Описание |
+| ---------- | --------------- | ----------------------------------------------------- |
+| `symbol` | `"👑 "` | The symbol used before displaying the version of Nim. |
+| `style` | `"bold yellow"` | Стиль модуля. |
+| `disabled` | `false` | Disables the `nim` module. |
+
+### Пример
+
+```toml
+# ~/.config/starship.toml
+
+[nim]
+style = "yellow"
+symbol = "🎣 "
+```
+
## Nix-shell
-Модуль `nix_shell` показывает окружение nix-shell. Модуль будет показываться внутри среды nix-shell.
+The `nix_shell` module shows the nix-shell environment. The module will be shown when inside a nix-shell environment.
### Опции
| Переменная | По умолчанию | Описание |
| ------------ | ------------- | ------------------------------------------------- |
-| `use_name` | `false` | Отображать имя nix-shell. |
-| `impure_msg` | `"impure"` | Настроить сообщение "impure". |
-| `pure_msg` | `"pure"` | Настройте сообщение "pure". |
+| `use_name` | `false` | Display the name of the nix-shell. |
+| `impure_msg` | `"impure"` | Customize the "impure" msg. |
+| `pure_msg` | `"pure"` | Customize the "pure" msg. |
| `symbol` | `"❄️ "` | The symbol used before displaying the shell name. |
| `style` | `"bold blue"` | Стиль модуля. |
-| `disabled` | `false` | Отключает модуль `nix_shell`. |
+| `disabled` | `false` | Disables the `nix_shell` module. |
### Пример
@@ -980,20 +1016,20 @@ symbol = "☃️ "
## NodeJS
-Модуль `nodejs` показывает установленную версию NodeJS. Модуль будет показан, если любое из следующих условий соблюдено:
+The `nodejs` module shows the currently installed version of NodeJS. Модуль будет показан, если любое из следующих условий соблюдено:
-- Текущий каталог содержит файл `package.json`
+- The current directory contains a `package.json` file
- The current directory contains a `.node-version` file
-- Текущий каталог содержит каталог `node_modules`
-- Текущий каталог содержит файл с расширением `.js`
+- The current directory contains a `node_modules` directory
+- The current directory contains a file with the `.js` extension
### Опции
-| Переменная | По умолчанию | Описание |
-| ---------- | -------------- | ------------------------------------------------------ |
-| `symbol` | `"⬢ "` | Символ, используемый перед отображением версии NodeJS. |
-| `style` | `"bold green"` | Стиль модуля. |
-| `disabled` | `false` | Отключает модуль `nodejs`. |
+| Переменная | По умолчанию | Описание |
+| ---------- | -------------- | -------------------------------------------------------- |
+| `symbol` | `"⬢ "` | The symbol used before displaying the version of NodeJS. |
+| `style` | `"bold green"` | Стиль модуля. |
+| `disabled` | `false` | Disables the `nodejs` module. |
### Пример
@@ -1004,15 +1040,15 @@ symbol = "☃️ "
symbol = "🤖 "
```
-## Версия пакета
+## Package Version
-Модуль `package` отображается, когда текущий каталог является репозиторием для пакета и показывает его текущую версию. The module currently supports `npm`, `cargo`, `poetry`, `composer`, `gradle`, `julia` and `mix` packages.
+The `package` module is shown when the current directory is the repository for a package, and shows its current version. The module currently supports `npm`, `cargo`, `poetry`, `composer`, `gradle`, `julia` and `mix` packages.
-- **npm** – Версия пакета `npm` из файла `package.json` в текущем каталоге
-- **cargo** – Версия пакета `cargo` из файла `Cargo.toml` в текущем каталоге
-- **poetry** – Версия пакета `poetry` из файла `pyproject.toml` в текущем каталоге
-- **composer** – Версия пакета `composer` из `composer.json` в текущем каталоге
-- **gradle** – Версия пакета `gradle` извлечена из `build.gradle`
+- **npm** – The `npm` package version is extracted from the `package.json` present in the current directory
+- **cargo** – The `cargo` package version is extracted from the `Cargo.toml` present in the current directory
+- **poetry** – The `poetry` package version is extracted from the `pyproject.toml` present in the current directory
+- **composer** – The `composer` package version is extracted from the `composer.json` present in the current directory
+- **gradle** – The `gradle` package version is extracted from the `build.gradle` present
- **julia** - The package version is extracted from the `Project.toml` present
- **mix** - The `mix` package version is extracted from the `mix.exs` present
@@ -1020,12 +1056,12 @@ symbol = "🤖 "
### Опции
-| Переменная | По умолчанию | Описание |
-| ----------------- | ------------ | --------------------------------------------------------- |
-| `symbol` | `"📦 "` | Символ, используемый перед отображением версии пакета. |
-| `style` | `"bold 208"` | Стиль модуля. |
-| `display_private` | `false` | Enable displaying version for packages marked as private. |
-| `disabled` | `false` | Отключает модуль `package`. |
+| Переменная | По умолчанию | Описание |
+| ----------------- | ------------ | ---------------------------------------------------------- |
+| `symbol` | `"📦 "` | The symbol used before displaying the version the package. |
+| `style` | `"bold 208"` | Стиль модуля. |
+| `display_private` | `false` | Enable displaying version for packages marked as private. |
+| `disabled` | `false` | Disables the `package` module. |
### Пример
@@ -1066,19 +1102,19 @@ symbol = "🐪 "
## PHP
-Модуль `php` показывает установленную версию PHP. Модуль будет показан, если любое из следующих условий соблюдено:
+The `php` module shows the currently installed version of PHP. Модуль будет показан, если любое из следующих условий соблюдено:
-- Текущий каталог содержит файл `composer.json`
-- Текущий каталог содержит файл `.php-version`
-- Текущий каталог содержит файл `.php`
+- The current directory contains a `composer.json` file
+- The current directory contains a `.php-version` file
+- The current directory contains a `.php` file
### Опции
-| Переменная | По умолчанию | Описание |
-| ---------- | ------------ | --------------------------------------------------- |
-| `symbol` | `"🐘 "` | Символ, используемый перед отображением версии PHP. |
-| `style` | `"bold 147"` | Стиль модуля. |
-| `disabled` | `false` | Отключает модуль `php`. |
+| Переменная | По умолчанию | Описание |
+| ---------- | ------------ | ----------------------------------------------------- |
+| `symbol` | `"🐘 "` | The symbol used before displaying the version of PHP. |
+| `style` | `"bold 147"` | Стиль модуля. |
+| `disabled` | `false` | Disables the `php` module. |
### Пример
@@ -1097,26 +1133,26 @@ If `pyenv_version_name` is set to `true`, it will display the pyenv version name
Модуль будет показан, если любое из следующих условий соблюдено:
-- Текущий каталог содержит файл `.python-version`
-- Текущий каталог содержит файл `requirements.txt`
-- Текущий каталог содержит файл `pyproject.toml`
+- The current directory contains a `.python-version` file
+- The current directory contains a `requirements.txt` file
+- The current directory contains a `pyproject.toml` file
- The current directory contains a file with the `.py` extension (and `scan_for_pyfiles` is true)
-- Текущий каталог содержит файл `Pipfile`
-- Текущий каталог содержит файл `tox.ini`
-- Текущий каталог содержит файл `setup.py`
+- The current directory contains a `Pipfile` file
+- The current directory contains a `tox.ini` file
+- The current directory contains a `setup.py` file
- The current directory contains a `__init__.py` file
-- Виртуальная среда в данный момент активирована
+- A virtual environment is currently activated
### Опции
-| Переменная | По умолчанию | Описание |
-| -------------------- | --------------- | ------------------------------------------------------------------------------------- |
-| `symbol` | `"🐍 "` | Символ перед отображением текущей версии Python. |
-| `pyenv_version_name` | `false` | Использовать pyenv для получения версии Python |
-| `pyenv_prefix` | `"pyenv "` | Префикс перед отображением версии pyenv (отображение по умолчанию `pyenv MY_VERSION`) |
-| `scan_for_pyfiles` | `true` | If false, Python files in the current directory will not show this module. |
-| `style` | `"bold yellow"` | Стиль модуля. |
-| `disabled` | `false` | Disables the `python` module. |
+| Переменная | По умолчанию | Описание |
+| -------------------- | --------------- | --------------------------------------------------------------------------- |
+| `symbol` | `"🐍 "` | The symbol used before displaying the version of Python. |
+| `pyenv_version_name` | `false` | Use pyenv to get Python version |
+| `pyenv_prefix` | `"pyenv "` | Prefix before pyenv version display (default display is `pyenv MY_VERSION`) |
+| `scan_for_pyfiles` | `true` | If false, Python files in the current directory will not show this module. |
+| `style` | `"bold yellow"` | Стиль модуля. |
+| `disabled` | `false` | Disables the `python` module. |
### Пример
@@ -1131,19 +1167,19 @@ pyenv_prefix = "foo "
## Ruby
-Модуль `ruby` показывает установленную версию Ruby. Модуль будет показан, если любое из следующих условий соблюдено:
+The `ruby` module shows the currently installed version of Ruby. Модуль будет показан, если любое из следующих условий соблюдено:
-- Текущий каталог содержит файл `Gemfile`
-- Текущий каталог содержит файл `.ruby-version`
-- Текущий каталог содержит файл `.rb`
+- The current directory contains a `Gemfile` file
+- The current directory contains a `.ruby-version` file
+- The current directory contains a `.rb` file
### Опции
-| Переменная | По умолчанию | Описание |
-| ---------- | ------------ | ---------------------------------------------------- |
-| `symbol` | `"💎 "` | Символ, используемый перед отображением версии Ruby. |
-| `style` | `"bold red"` | Стиль модуля. |
-| `disabled` | `false` | Отключает модуль `ruby`. |
+| Переменная | По умолчанию | Описание |
+| ---------- | ------------ | ------------------------------------------------------ |
+| `symbol` | `"💎 "` | The symbol used before displaying the version of Ruby. |
+| `style` | `"bold red"` | Стиль модуля. |
+| `disabled` | `false` | Disables the `ruby` module. |
### Пример
@@ -1156,18 +1192,18 @@ symbol = "🔺 "
## Rust
-Модуль `rust` показывает установленную версию Rust. Модуль будет показан, если любое из следующих условий соблюдено:
+The `rust` module shows the currently installed version of Rust. Модуль будет показан, если любое из следующих условий соблюдено:
-- Текущий каталог содержит файл `Cargo.toml`
-- Текущий каталог содержит файл с расширением `.rs`
+- The current directory contains a `Cargo.toml` file
+- The current directory contains a file with the `.rs` extension
### Опции
-| Переменная | По умолчанию | Описание |
-| ---------- | ------------ | ---------------------------------------------------- |
-| `symbol` | `"🦀 "` | Символ, используемый перед отображением версии Rust. |
-| `style` | `"bold red"` | Стиль модуля. |
-| `disabled` | `false` | Отключает модуль `rust`. |
+| Переменная | По умолчанию | Описание |
+| ---------- | ------------ | ------------------------------------------------------ |
+| `symbol` | `"🦀 "` | The symbol used before displaying the version of Rust. |
+| `style` | `"bold red"` | Стиль модуля. |
+| `disabled` | `false` | Disables the `rust` module. |
### Пример
@@ -1180,18 +1216,18 @@ symbol = "⚙️ "
## Singularity
-Модуль `singularity` показывает текущий образ singularity, если внутри контейнера и `$SINGULARITY_NAME` установлена.
+The `singularity` module shows the current singularity image, if inside a container and `$SINGULARITY_NAME` is set.
### Опции
-| Переменная | По умолчанию | Описание |
-| ---------- | -------------------- | -------------------------------------------------- |
-| `label` | `""` | Префикс перед отображением имени образа. |
-| `prefix` | `"["` | Префикс для отображения сразу перед именем образа. |
-| `suffix` | `"]"` | Суффикс, отображаемый сразу после имени образа. |
-| `symbol` | `""` | Символ, используемый перед именем образа. |
-| `style` | `"bold dimmed blue"` | Стиль модуля. |
-| `disabled` | `false` | Disables the `singularity` module. |
+| Переменная | По умолчанию | Описание |
+| ---------- | -------------------- | ------------------------------------------------ |
+| `label` | `""` | Prefix before the image name display. |
+| `prefix` | `"["` | Prefix to display immediately before image name. |
+| `suffix` | `"]"` | Suffix to display immediately after image name. |
+| `symbol` | `""` | The symbol used before the image name. |
+| `style` | `"bold dimmed blue"` | Стиль модуля. |
+| `disabled` | `false` | Disables the `singularity` module. |
### Пример
@@ -1204,19 +1240,19 @@ symbol = "📦 "
## Terraform
-Модуль `terraform` показывает выбранную рабочую область и версию terraform. По умолчанию, версия terraform не показана, так как это медленно на текущих версиях terraform, при использовании большого количества плагинов. Модуль будет показан, если любое из следующих условий соблюдено:
+The `terraform` module shows the currently selected terraform workspace and version. By default the terraform version is not shown, since this is slow on current versions of terraform when a lot of plugins are in use. Модуль будет показан, если любое из следующих условий соблюдено:
-- Текущий каталог содержит папку `.terraform`
-- Текущий каталог содержит файл с расширением `.tf`
+- The current directory contains a `.terraform` folder
+- Current directory contains a file with the `.tf` extension
### Опции
-| Переменная | По умолчанию | Описание |
-| -------------- | ------------ | --------------------------------------------------------------------------- |
-| `symbol` | `"💠 "` | Символ, используемый перед отображением рабочего пространства terraform. |
-| `show_version` | `false` | Показать версию terraform. Очень медленно на больших рабочих пространствах. |
-| `style` | `"bold 105"` | Стиль модуля. |
-| `disabled` | `false` | Отключает модуль `terraform`. |
+| Переменная | По умолчанию | Описание |
+| -------------- | ------------ | ----------------------------------------------------------- |
+| `symbol` | `"💠 "` | The symbol used before displaying the terraform workspace. |
+| `show_version` | `false` | Shows the terraform version. Very slow on large workspaces. |
+| `style` | `"bold 105"` | Стиль модуля. |
+| `disabled` | `false` | Disables the `terraform` module. |
### Пример
@@ -1227,27 +1263,28 @@ symbol = "📦 "
symbol = "🏎💨 "
```
-## Время
+## Time
-Модуль `time` показывает текущее **локальное** время. Значение конфигурации `format` используется пакетом [`chrono`](https://crates.io/crates/chrono) для контроля того, как отображается время. Ознакомьтесь с [документацией chrono strftime](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html), чтобы увидеть доступные параметры.
+The `time` module shows the current **local** time. The `format` configuration value is used by the [`chrono`](https://crates.io/crates/chrono) crate to control how the time is displayed. Take a look [at the chrono strftime docs](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) to see what options are available.
-::: tip
+::: tip Подсказка
-По умолчанию этот модуль отключен. Чтобы включить его, установите `disabled` на `false` в файле конфигурации.
+This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file.
:::
### Опции
-| Переменная | По умолчанию | Описание |
-| ----------------- | --------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
-| `use_12hr` | `false` | Включить 12-часовое форматирование |
-| `format` | см. ниже | [Строка формата chrono](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html), используемая для форматирования времени. |
-| `style` | `"bold yellow"` | Стиль модуля времени |
-| `utc_time_offset` | `"local"` | Устанавливает смещение UTC. Диапазон -24 < x < 24. Разрешает числам с плавающей точкой встраивать 30/45-минутное смещение временной зоны. |
-| `disabled` | `true` | Отключает модуль `time`. |
+| Переменная | По умолчанию | Описание |
+| ----------------- | --------------- | ------------------------------------------------------------------------------------------------------------------- |
+| `use_12hr` | `false` | Enables 12 hour formatting. |
+| `format` | see below | The [chrono format string](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) used to format the time. |
+| `style` | `"bold yellow"` | The style for the module time. |
+| `utc_time_offset` | `"local"` | Sets the UTC offset to use. Range from -24 < x < 24. Allows floats to accommodate 30/45 minute timezone offsets. |
+| `disabled` | `true` | Disables the `time` module. |
+| `time_range` | `"-"` | Sets the time range during which the module will be shown. Times must be specified in 24-hours format |
-Если `use_12hr` равн