summaryrefslogtreecommitdiffstats
path: root/docs/ru-RU
diff options
context:
space:
mode:
authorMatan Kushner <hello@matchai.dev>2022-03-01 17:05:57 -0500
committerGitHub <noreply@github.com>2022-03-01 23:05:57 +0100
commitaabc786dab868d8330c463220c8c70c3a817a825 (patch)
treedd9c92213fa273dc763dbd205448ea1b657efa82 /docs/ru-RU
parent0f3c8ca194ca7e78fe0d394ef0e3e9ac082d9d82 (diff)
docs(i18n): new Crowdin updates (#3586)
* New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Italian) * New translations README.md (Italian) * New translations README.md (French) * New translations README.md (Russian) * New translations README.md (Indonesian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Vietnamese) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Simplified) * New translations README.md (Turkish) * New translations README.md (Portuguese) * New translations README.md (Spanish) * New translations README.md (Polish) * New translations README.md (Dutch) * New translations README.md (Korean) * New translations README.md (Japanese) * New translations README.md (Italian) * New translations README.md (German) * New translations README.md (Arabic) * New translations README.md (Sorani (Kurdish)) * New translations README.md (French) * New translations README.md (Russian) * New translations README.md (Indonesian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Vietnamese) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Simplified) * New translations README.md (Turkish) * New translations README.md (Portuguese) * New translations README.md (Spanish) * New translations README.md (Polish) * New translations README.md (Dutch) * New translations README.md (Korean) * New translations README.md (Japanese) * New translations README.md (Italian) * New translations README.md (German) * New translations README.md (Arabic) * New translations README.md (Sorani (Kurdish)) * New translations README.md (French) * New translations README.md (Russian) * New translations README.md (Indonesian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Vietnamese) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Simplified) * New translations README.md (Turkish) * New translations README.md (Portuguese) * New translations README.md (Spanish) * New translations README.md (Polish) * New translations README.md (Dutch) * New translations README.md (Korean) * New translations README.md (Japanese) * New translations README.md (Italian) * New translations README.md (German) * New translations README.md (Arabic) * New translations README.md (Sorani (Kurdish)) * New translations README.md (French) * New translations README.md (Spanish) * New translations README.md (Chinese Simplified) * New translations README.md (Arabic) * New translations README.md (German) * New translations README.md (Italian) * New translations README.md (Japanese) * New translations README.md (Korean) * New translations README.md (Dutch) * New translations README.md (Polish) * New translations README.md (Portuguese) * New translations README.md (Russian) * New translations README.md (Turkish) * New translations README.md (Chinese Traditional) * New translations README.md (Vietnamese) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Indonesian) * New translations README.md (Sorani (Kurdish)) * New translations README.md (French) * New translations README.md (Spanish) * New translations README.md (Turkish) * New translations README.md (Arabic) * New translations README.md (German) * New translations README.md (Italian) * New translations README.md (Japanese) * New translations README.md (Korean) * New translations README.md (Dutch) * New translations README.md (Polish) * New translations README.md (Portuguese) * New translations README.md (Russian) * New translations README.md (Chinese Simplified) * New translations README.md (Vietnamese) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Indonesian) * New translations README.md (Sorani (Kurdish)) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Simplified) * New translations README.md (French) * New translations README.md (Spanish) * New translations README.md (Chinese Simplified) * New translations README.md (Arabic) * New translations README.md (German) * New translations README.md (Italian) * New translations README.md (Japanese) * New translations README.md (Korean) * New translations README.md (Dutch) * New translations README.md (Polish) * New translations README.md (Portuguese) * New translations README.md (Russian) * New translations README.md (Turkish) * New translations README.md (Chinese Traditional) * New translations README.md (Vietnamese) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Indonesian) * New translations README.md (Sorani (Kurdish)) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (French) * New translations README.md (Russian) * New translations README.md (Indonesian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Vietnamese) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Simplified) * New translations README.md (Turkish) * New translations README.md (Portuguese) * New translations README.md (Spanish) * New translations README.md (Polish) * New translations README.md (Dutch) * New translations README.md (Korean) * New translations README.md (Japanese) * New translations README.md (Italian) * New translations README.md (German) * New translations README.md (Arabic) * New translations README.md (Sorani (Kurdish))
Diffstat (limited to 'docs/ru-RU')
-rw-r--r--docs/ru-RU/config/README.md584
-rw-r--r--docs/ru-RU/installing/README.md1
2 files changed, 308 insertions, 277 deletions
diff --git a/docs/ru-RU/config/README.md b/docs/ru-RU/config/README.md
index 9ce3bd235..d893358fb 100644
--- a/docs/ru-RU/config/README.md
+++ b/docs/ru-RU/config/README.md
@@ -261,7 +261,9 @@ format = "$all$directory$character"
## AWS
-Модуль `aws` показывает текущий регион и профиль AWS. Основано на `AWS_REGION`, `AWS_DEFAULT_REGION`, и `AWS_PROFILE` переменных окружения и файле`~/.aws/config`. This module also shows an expiration timer when using temporary credentials.
+The `aws` module shows the current AWS region and profile when credentials or a `credential_process` have been setup. Основано на `AWS_REGION`, `AWS_DEFAULT_REGION`, и `AWS_PROFILE` переменных окружения и файле`~/.aws/config`. This module also shows an expiration timer when using temporary credentials.
+
+The module will display a profile only if its credentials are present in `~/.aws/credentials` or a `credential_process` is defined in `~/.aws/config`. Alternatively, having any of the `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, or `AWS_SESSION_TOKEN` env vars defined will also suffice.
When using [aws-vault](https://github.com/99designs/aws-vault) the profile is read from the `AWS_VAULT` env var and the credentials expiration date is read from the `AWS_SESSION_EXPIRATION` env var.
@@ -290,7 +292,7 @@ When using [AWSume](https://awsu.me) the profile is read from the `AWSUME_PROFIL
| symbol | | Отражает значение параметра `symbol` |
| style\* | | Отражает значение параметра `style` |
-*: Эта переменная может использоваться только в качестве части строки style
+*: This variable can only be used as a part of a style string
### Примеры
@@ -360,7 +362,7 @@ style = "blue bold"
## Батарея
-Модуль `battery` показывает насколько заряжена батарея девайса и статус зарядки на данный момент. Модуль виден только, если заряд батареи устройства меньше 10%.
+The `battery` module shows how charged the device's battery is and its current charging status. The module is only visible when the device's battery is below 10%.
### Опции
@@ -388,7 +390,7 @@ discharging_symbol = "💀 "
### Отображение батареи
-The `display` configuration option is used to define when the battery indicator should be shown (threshold), which symbol would be used (symbol), and what it would like (style). Если `display` не предоставлено. Значение по умолчанию:
+The `display` configuration option is used to define when the battery indicator should be shown (threshold), which symbol would be used (symbol), and what it would like (style). If no `display` is provided. Значение по умолчанию:
```toml
[[battery.display]]
@@ -400,7 +402,7 @@ The default value for the `charging_symbol` and `discharging_symbol` option is r
#### Опции
-Опция `display` представляет собой массив следующей таблицы.
+The `display` option is an array of the following table.
| Параметр | По умолчанию | Описание |
| -------------------- | ------------ | --------------------------------------------------------------------------------------------------------- |
@@ -426,9 +428,9 @@ discharging_symbol = "💦"
## Символ
-Модуль `character` показывает символ (обычно, стрелка) рядом с вводимым текстом в терминале.
+The `character` module shows a character (usually an arrow) beside where the text is entered in your terminal.
-Символ показывает, была ли последняя команда успешной или нет. It can do this in two ways:
+The character will tell you whether the last command was successful or not. It can do this in two ways:
- changing color (`red`/`green`)
- changing shape (`❯`/`✖`)
@@ -522,7 +524,7 @@ The `cmake` module shows the currently installed version of [CMake](https://cmak
| symbol | | Отражает значение параметра `symbol` |
| style\* | | Отражает значение параметра `style` |
-*: Эта переменная может использоваться только в качестве части строки style
+*: This variable can only be used as a part of a style string
## COBOL / GNUCOBOL
@@ -552,19 +554,19 @@ The `cobol` module shows the currently installed version of COBOL. By default, t
| symbol | | Отражает значение параметра `symbol` |
| style\* | | Отражает значение параметра `style` |
-*: Эта переменная может использоваться только в качестве части строки style
+*: This variable can only be used as a part of a style string
## Длительность команды
-Модуль `cmd_duration` показывает время исполнения последней команды. Модуль будет показан только, если команда заняла более двух секунд, или если задан параметр `min_time`.
+The `cmd_duration` module shows how long the last command took to execute. The module will be shown only if the command took longer than two seconds, or the `min_time` config value, if it exists.
-::: предупреждение Не подключайте ловушку DEBUG к Bash
+::: warning Do not hook the DEBUG trap in Bash
-Если вы испоьзуете Starship в `bash`, не подключайте ловушку `DEBUG` после запуска `eval $(starship init $0)`, иначе этот модуль сломается.
+If you are running Starship in `bash`, do not hook the `DEBUG` trap after running `eval $(starship init $0)`, or this module **will** break.
:::
-Пользователи Bash, которым нужна функциональность, подобная preexec, могут использовать [фреймворк bash_preexec от rcaloras](https://github.com/rcaloras/bash-preexec). Просто определите массивы `preexec_functions` и `precmd_functions` перед запуском `eval $(starship init $0)`, а затем продолжайте нормально.
+Bash users who need preexec-like functionality can use [rcaloras's bash_preexec framework](https://github.com/rcaloras/bash-preexec). Simply define the arrays `preexec_functions` and `precmd_functions` before running `eval $(starship init $0)`, and then proceed as normal.
### Опции
@@ -586,7 +588,7 @@ The `cobol` module shows the currently installed version of COBOL. By default, t
| duration | `16m40s` | The time it took to execute the command |
| style\* | | Отражает значение параметра `style` |
-*: Эта переменная может использоваться только в качестве части строки style
+*: This variable can only be used as a part of a style string
### Пример
@@ -602,9 +604,9 @@ format = "underwent [$duration](bold yellow)"
The `conda` module shows the current [Conda](https://docs.conda.io/en/latest/) environment, if `$CONDA_DEFAULT_ENV` is set.
-::: tip Подсказка
+::: tip
-Это не подавляет модификатор командной строки самой conda. Возможно, вы захотите запустить `conda config --set changeps1 False`.
+This does not suppress conda's own prompt modifier, you may want to run `conda config --set changeps1 False`.
:::
@@ -627,7 +629,7 @@ The `conda` module shows the current [Conda](https://docs.conda.io/en/latest/) e
| symbol | | Отражает значение параметра `symbol` |
| style\* | | Отражает значение параметра `style` |
-*: Эта переменная может использоваться только в качестве части строки style
+*: This variable can only be used as a part of a style string
### Пример
@@ -659,7 +661,7 @@ The `container` module displays a symbol and container name, if inside a contain
| symbol | | Отражает значение параметра `symbol` |
| style\* | | Отражает значение параметра `style` |
-*: Эта переменная может использоваться только в качестве части строки style
+*: This variable can only be used as a part of a style string
### Пример
@@ -698,7 +700,7 @@ The `crystal` module shows the currently installed version of [Crystal](https://
| symbol | | Отражает значение параметра `symbol` |
| style\* | | Отражает значение параметра `style` |
-*: Эта переменная может использоваться только в качестве части строки style
+*: This variable can only be used as a part of a style string
### Пример
@@ -738,7 +740,7 @@ The `dart` module shows the currently installed version of [Dart](https://dart.d
| symbol | | Отражает значение параметра `symbol` |
| style\* | | Отражает значение параметра `style` |
-*: Эта переменная может использоваться только в качестве части строки style
+*: This variable can only be used as a part of a style string
### Пример
@@ -787,30 +789,31 @@ format = "via [🦕 $version](green bold) "
## Каталог
-Модуль `directory` показывает путь к вашей текущей директории, усеченной до трех родительских папок. Ваш каталог также будет отсечен до корня git репозитория, в котором вы находитесь.
+The `directory` module shows the path to your current directory, truncated to three parent folders. Your directory will also be truncated to the root of the git repo that you're currently in.
-При использовании стиля оболочки fish, вместо скрытия усеченного каталога, вы увидите укороченное имя каталога, зависимое от числа символов вы установите для этой опции.
+When using the fish style pwd option, instead of hiding the path that is truncated, you will see a shortened name of each directory based on the number you enable for the option.
-Например, возьмем `~/Dev/Nix/nixpkgs/pkgs` где `nixpkgs` является корневым репозиторием, и в опции установлено `1`. Вы увидите `~/D/N/nixpkgs/pkgs`, а до этого было бы `nixpkgs/pkgs`.
+For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, and the option set to `1`. You will now see `~/D/N/nixpkgs/pkgs`, whereas before it would have been `nixpkgs/pkgs`.
### Опции
-| Параметр | По умолчанию | Описание |
-| ------------------- | -------------------------------------------------- | --------------------------------------------------------------------------------------- |
-| `truncation_length` | `3` | Количество родительских папок, к которым должен быть усечен текущий каталог. |
-| `truncate_to_repo` | `true` | Следует или нет обрезать до корня репозитория git, в котором вы находитесь. |
-| `format` | `"[$path]($style)[$read_only]($read_only_style) "` | Формат модуля. |
-| `style` | `"bold cyan"` | Стиль модуля. |
-| `disabled` | `false` | Отключает модуль `directory`. |
-| `read_only` | `"🔒"` | The symbol indicating current directory is read only. |
-| `read_only_style` | `"red"` | The style for the read only symbol. |
-| `truncation_symbol` | `""` | The symbol to prefix to truncated paths. eg: "…/" |
-| `repo_root_style` | `None` | The style for the root of the git repo when `truncate_to_repo` option is set to false. |
-| `home_symbol` | `"~"` | The symbol indicating home directory. |
-| `use_os_path_sep` | `true` | Use the OS specific path seperator instead of always using `/` (e.g. `\` on Windows) |
+| Параметр | По умолчанию | Описание |
+| ------------------- | ----------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
+| `truncation_length` | `3` | Количество родительских папок, к которым должен быть усечен текущий каталог. |
+| `truncate_to_repo` | `true` | Следует или нет обрезать до корня репозитория git, в котором вы находитесь. |
+| `format` | `"[$path]($style)[$read_only]($read_only_style) "` | Формат модуля. |
+| `style` | `"bold cyan"` | Стиль модуля. |
+| `disabled` | `false` | Отключает модуль `directory`. |
+| `read_only` | `"🔒"` | The symbol indicating current directory is read only. |
+| `read_only_style` | `"red"` | The style for the read only symbol. |
+| `truncation_symbol` | `""` | The symbol to prefix to truncated paths. eg: "…/" |
+| `repo_root_style` | `None` | The style for the root of the git repo. The default value is equivalent to `style`. |
+| `repo_root_format` | `"[$before_root_path]($style)[$repo_root]($repo_root_style)[$path]($style)[$read_only]($read_only_style) "` | The format of a git repo when `repo_root_style` is defined. |
+| `home_symbol` | `"~"` | The symbol indicating home directory. |
+| `use_os_path_sep` | `true` | Use the OS specific path separator instead of always using `/` (e.g. `\` on Windows) |
<details>
-<summary>Этот модуль имеет несколько расширенных опций конфигурации, которые контролируют отображение каталога.</summary>
+<summary>This module has a few advanced configuration options that control how the directory is displayed.</summary>
| Advanced Option | По умолчанию | Описание |
| --------------------------- | ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
@@ -826,7 +829,7 @@ format = "via [🦕 $version](green bold) "
"src/com/long/java/path" = "mypath"
```
-`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`.
+`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>
@@ -837,7 +840,22 @@ format = "via [🦕 $version](green bold) "
| path | `"D:/Projects"` | The current directory path |
| style\* | `"black bold dimmed"` | Отражает значение параметра `style` |
-*: Эта переменная может использоваться только в качестве части строки style
+*: This variable can only be used as a part of a style string
+
+<details>
+<summary>The git repos have additional variables.</summary>
+
+Let us consider the path `/path/to/home/git_repo/src/lib`
+
+| Переменная | Пример | Описание |
+| ------------------ | --------------------- | --------------------------------------- |
+| before_root_path | `"/path/to/home/"` | The path before git root directory path |
+| repo_root | `"git_repo"` | The git root directory name |
+| path | `"/src/lib"` | The remaining path |
+| style | `"black bold dimmed"` | Отражает значение параметра `style` |
+| repo_root_style | `"underline white"` | Style for git root directory name |
+
+</details>
### Пример
@@ -874,7 +892,7 @@ The `docker_context` module shows the currently active [Docker context](https://
| symbol | | Отражает значение параметра `symbol` |
| style\* | | Отражает значение параметра `style` |
-*: Эта переменная может использоваться только в качестве части строки style
+*: This variable can only be used as a part of a style string
### Пример
@@ -887,7 +905,7 @@ format = "via [🐋 $context](blue bold)"
## Dotnet
-The `dotnet` module shows the relevant version of the [.NET Core SDK](https://dotnet.microsoft.com/) for the current directory. Если SDK был закреплен в текущей директории, будет показана закрепленная версия. В противном случае модуль отображает последнюю установленную версию SDK.
+The `dotnet` module shows the relevant version of the [.NET Core SDK](https://dotnet.microsoft.com/) 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.
By default this module will only be shown in your prompt when one or more of the following files are present in the current directory:
@@ -902,7 +920,7 @@ By default this module will only be shown in your prompt when one or more of the
You'll also need the .NET Core SDK 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.
The module will also show the Target Framework Moniker (<https://docs.microsoft.com/en-us/dotnet/standard/frameworks#supported-target-framework-versions>) when there is a csproj file in the current directory.
@@ -912,13 +930,13 @@ The module will also show the Target Framework Moniker (<https://docs.microsoft.
| ------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
| `format` | `"via [$symbol($version )(🎯 $tfm )]($style)"` | Формат модуля. |
| `version_format` | `"v${raw}"` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
-| `symbol` | `".NET "` | Символ перед отображением текущей версии dotnet. |
-| `heuristic` | `true` | Использовать быстрое определение версии, для сохранения скорости. |
+| `symbol` | `".NET "` | The symbol used before displaying the version of dotnet. |
+| `heuristic` | `true` | Use faster version detection to keep starship snappy. |
| `detect_extensions` | `["csproj", "fsproj", "xproj"]` | Which extensions should trigger this module. |
| `detect_files` | `["global.json", "project.json", "Directory.Build.props", "Directory.Build.targets", "Packages.props"]` | Which filenames should trigger this module. |
| `detect_folders` | `[]` | Which folders should trigger this modules. |
| `style` | `"bold blue"` | Стиль модуля. |
-| `disabled` | `false` | Отключает модуль `dotnet`. |
+| `disabled` | `false` | Disables the `dotnet` module. |
### Переменные
@@ -929,7 +947,7 @@ The module will also show the Target Framework Moniker (<https://docs.microsoft.
| symbol | | Отражает значение параметра `symbol` |
| style\* | | Отражает значение параметра `style` |
-*: Эта переменная может использоваться только в качестве части строки style
+*: This variable can only be used as a part of a style string
### Пример
@@ -954,12 +972,12 @@ The `elixir` module shows the currently installed version of [Elixir](https://el
| ------------------- | ----------------------------------------------------------- | ------------------------------------------------------------------------- |
| `format` | `'via [$symbol($version \(OTP $otp_version\) )]($style)'` | The format for the module elixir. |
| `version_format` | `"v${raw}"` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
-| `symbol` | `"💧 "` | Символ, используемый перед отображением версии Elixir/Erlang. |
+| `symbol` | `"💧 "` | The symbol used before displaying the version of Elixir/Erlang. |
| `detect_extensions` | `[]` | Which extensions should trigger this module. |
| `detect_files` | `["mix.exs"]` | Which filenames should trigger this module. |
| `detect_folders` | `[]` | Which folders should trigger this modules. |
| `style` | `"bold purple"` | Стиль модуля. |
-| `disabled` | `false` | Отключает модуль `elixir`. |
+| `disabled` | `false` | Disables the `elixir` module. |
### Переменные
@@ -970,7 +988,7 @@ The `elixir` module shows the currently installed version of [Elixir](https://el
| symbol | | Отражает значение параметра `symbol` |
| style\* | | Отражает значение параметра `style` |
-*: Эта переменная может использоваться только в качестве части строки style
+*: This variable can only be used as a part of a style string
### Пример
@@ -1002,7 +1020,7 @@ The `elm` module shows the currently installed version of [Elm](https://elm-lang
| `detect_files` | `["elm.json", "elm-package.json", ".elm-version"]` | Which filenames should trigger this module. |
| `detect_folders` | `["elm-stuff"]` | Which folders should trigger this modules. |
| `style` | `"cyan bold"` | Стиль модуля. |
-| `disabled` | `false` | Отключает модуль `elm`. |
+| `disabled` | `false` | Disables the `elm` module. |
### Переменные
@@ -1012,7 +1030,7 @@ The `elm` module shows the currently installed version of [Elm](https://elm-lang
| symbol | | Отражает значение параметра `symbol` |
| style\* | | Отражает значение параметра `style` |
-*: Эта переменная может использоваться только в качестве части строки style
+*: This variable can only be used as a part of a style string
### Пример
@@ -1025,7 +1043,7 @@ format = "via [ $version](cyan bold) "
## Переменная Окружения
-The `env_var` module displays the current value of a selected environment variables. Модуль будет показан только в том случае, если любое из следующих условий соблюдено:
+The `env_var` module displays the current value of a selected environment variables. The module will be shown only if any of the following conditions are met:
- Опция `variable` соответствует существующей переменной среды
- Опция `variable` не определена, но определена опция `default`
@@ -1045,13 +1063,13 @@ default = "unknown user"
### Опции
-| Параметр | По умолчанию | Описание |
-| ---------- | ------------------------------ | ---------------------------------------------------------------- |
-| `symbol` | `""` | Символ, используемый перед отображением значения переменной. |
-| `variable` | | Отображаемая переменная окружения. |
-| `default` | | Значение отображаемое, когда выбранная переменная не определена. |
-| `format` | `"with [$env_value]($style) "` | Формат модуля. |
-| `disabled` | `false` | Отключает модуль `env_var`. |
+| Параметр | По умолчанию | Описание |
+| ---------- | ------------------------------ | ---------------------------------------------------------------------------- |
+| `symbol` | `""` | The symbol used before displaying the variable value. |
+| `variable` | | The environment variable to be displayed. |
+| `default` | | The default value to be displayed when the selected variable is not defined. |
+| `format` | `"with [$env_value]($style) "` | Формат модуля. |
+| `disabled` | `false` | Disables the `env_var` module. |
### Переменные
@@ -1061,7 +1079,7 @@ default = "unknown user"
| symbol | | Отражает значение параметра `symbol` |
| style\* | `black bold dimmed` | Отражает значение параметра `style` |
-*: Эта переменная может использоваться только в качестве части строки style
+*: This variable can only be used as a part of a style string
### Пример
@@ -1113,7 +1131,7 @@ The `erlang` module shows the currently installed version of [Erlang/OTP](https:
| symbol | | Отражает значение параметра `symbol` |
| style\* | | Отражает значение параметра `style` |
-*: Эта переменная может использоваться только в качестве части строки style
+*: This variable can only be used as a part of a style string
### Пример
@@ -1159,13 +1177,14 @@ The `gcloud` module shows the current configuration for [`gcloud`](https://cloud
### Опции
-| Параметр | По умолчанию | Описание |
-| ---------------- | ---------------------------------------------------------- | --------------------------------------------------------------- |
-| `format` | `'on [$symbol$account(@$domain)(\($region\))]($style) '` | Формат модуля. |
-| `symbol` | `"☁️ "` | The symbol used before displaying the current GCP profile. |
-| `region_aliases` | | Table of region aliases to display in addition to the GCP name. |
-| `style` | `"bold blue"` | Стиль модуля. |
-| `disabled` | `false` | Disables the `gcloud` module. |
+| Параметр | По умолчанию | Описание |
+| ----------------- | ---------------------------------------------------------- | ---------------------------------------------------------------- |
+| `format` | `'on [$symbol$account(@$domain)(\($region\))]($style) '` | Формат модуля. |
+| `symbol` | `"☁️ "` | The symbol used before displaying the current GCP profile. |
+| `region_aliases` | | Table of region aliases to display in addition to the GCP name. |
+| `project_aliases` | | Table of project aliases to display in addition to the GCP name. |
+| `style` | `"bold blue"` | Стиль модуля. |
+| `disabled` | `false` | Disables the `gcloud` module. |
### Переменные
@@ -1179,7 +1198,7 @@ The `gcloud` module shows the current configuration for [`gcloud`](https://cloud
| symbol | | Отражает значение параметра `symbol` |
| style\* | | Отражает значение параметра `style` |
-*: Эта переменная может использоваться только в качестве части строки style
+*: This variable can only be used as a part of a style string
### Примеры
@@ -1214,22 +1233,33 @@ us-central1 = "uc1"
asia-northeast1 = "an1"
```
+#### Display account and aliased project
+
+```toml
+# ~/.config/starship.toml
+
+[gcloud]
+format = 'on [$symbol$account(@$domain)(\($project\))]($style) '
+[gcloud.project_aliases]
+very-long-project-name = "vlpn"
+```
+
## Ветвь Git
-Модуль `git_branch` показывает активную ветку репозитория в вашем текущей директории.
+The `git_branch` module shows the active branch of the repo in your current directory.
### Опции
-| Параметр | По умолчанию | Описание |
-| -------------------- | -------------------------------- | --------------------------------------------------------------------------------------------- |
-| `always_show_remote` | `false` | Shows the remote tracking branch name, even if it is equal to the local branch name. |
-| `format` | `"on [$symbol$branch]($style) "` | Формат модуля. Use `"$branch"` to refer to the current branch name. |
-| `symbol` | `" "` | A format string representing the symbol of git branch. |
-| `style` | `"bold purple"` | Стиль модуля. |
-| `truncation_length` | `2^63 - 1` | Truncates a git branch to `N` graphemes. |
-| `truncation_symbol` | `"…"` | Символ, используемый для обозначения усечения названия ветки. You can use `""` for no symbol. |
-| `only_attached` | `false` | Only show the branch name when not in a detached `HEAD` state. |
-| `disabled` | `false` | Отключает модуль `git_branch`. |
+| Параметр | По умолчанию | Описание |
+| -------------------- | -------------------------------- | ---------------------------------------------------------------------------------------- |
+| `always_show_remote` | `false` | Shows the remote tracking branch name, even if it is equal to the local branch name. |
+| `format` | `"on [$symbol$branch]($style) "` | Формат модуля. Use `"$b