mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
docs(i18n): new Crowdin translations (#1170)
This commit is contained in:
+51
-50
@@ -442,10 +442,11 @@ The `elixir` module shows the currently installed version of Elixir and Erlang/O
|
||||
|
||||
### Options
|
||||
|
||||
| Variable | Default | Description |
|
||||
| ---------- | ------- | --------------------------------------------------------------- |
|
||||
| `symbol` | `"💧 "` | The symbol used before displaying the version of Elixir/Erlang. |
|
||||
| `disabled` | `false` | Disables the `elixir` module. |
|
||||
| Variable | Default | Description |
|
||||
| ---------- | --------------- | --------------------------------------------------------------- |
|
||||
| `symbol` | `"💧 "` | The symbol used before displaying the version of Elixir/Erlang. |
|
||||
| `style` | `"bold purple"` | The style for the module. |
|
||||
| `disabled` | `false` | Disables the `elixir` module. |
|
||||
|
||||
### Exemple
|
||||
|
||||
@@ -484,28 +485,6 @@ The `elm` module shows the currently installed version of Elm. Le module est aff
|
||||
symbol = " "
|
||||
```
|
||||
|
||||
## Erlang
|
||||
|
||||
The `erlang` module shows the currently installed version of Erlang/OTP. Le module est affiché si l'une des ces conditions est remplie :
|
||||
|
||||
- The current directory contains a `rebar.config` file.
|
||||
- The current directory contains a `erlang.mk` file.
|
||||
|
||||
### Options
|
||||
|
||||
| Variable | Default | Description |
|
||||
| ---------- | ------- | -------------------------------------------------------- |
|
||||
| `symbol` | `"🖧 "` | The symbol used before displaying the version of Erlang. |
|
||||
| `disabled` | `false` | Disables the `erlang` module. |
|
||||
|
||||
### Exemple
|
||||
|
||||
```toml
|
||||
# ~/.config/starship.toml
|
||||
|
||||
[erlang]
|
||||
symbol = "e "
|
||||
```
|
||||
## Environment Variable
|
||||
|
||||
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:
|
||||
@@ -515,15 +494,15 @@ The `env_var` module displays the current value of a selected environment variab
|
||||
|
||||
### Options
|
||||
|
||||
| Variable | Default | Description |
|
||||
| ---------- | ---------------- | ---------------------------------------------------------------------------- |
|
||||
| `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. |
|
||||
| `prefix` | `""` | Prefix to display immediately before the variable value. |
|
||||
| `suffix` | `""` | Suffix to display immediately after the variable value. |
|
||||
| `style` | `"dimmed black"` | The style for the module. |
|
||||
| `disabled` | `false` | Disables the `env_var` module. |
|
||||
| Variable | Default | Description |
|
||||
| ---------- | --------------------- | ---------------------------------------------------------------------------- |
|
||||
| `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. |
|
||||
| `prefix` | `""` | Prefix to display immediately before the variable value. |
|
||||
| `suffix` | `""` | Suffix to display immediately after the variable value. |
|
||||
| `style` | `"dimmed bold black"` | The style for the module. |
|
||||
| `disabled` | `false` | Disables the `env_var` module. |
|
||||
|
||||
### Exemple
|
||||
|
||||
@@ -535,6 +514,30 @@ variable = "SHELL"
|
||||
default = "unknown shell"
|
||||
```
|
||||
|
||||
## Erlang
|
||||
|
||||
The `erlang` module shows the currently installed version of Erlang/OTP. Le module est affiché si l'une des ces conditions est remplie :
|
||||
|
||||
- The current directory contains a `rebar.config` file.
|
||||
- The current directory contains a `erlang.mk` file.
|
||||
|
||||
### Options
|
||||
|
||||
| Variable | Default | Description |
|
||||
| ---------- | ------------ | -------------------------------------------------------- |
|
||||
| `symbol` | `"🖧 "` | The symbol used before displaying the version of Erlang. |
|
||||
| `style` | `bold green` | The style for this module. |
|
||||
| `disabled` | `false` | Disables the `erlang` module. |
|
||||
|
||||
### Exemple
|
||||
|
||||
```toml
|
||||
# ~/.config/starship.toml
|
||||
|
||||
[erlang]
|
||||
symbol = "e "
|
||||
```
|
||||
|
||||
## Git Branch
|
||||
|
||||
The `git_branch` module shows the active branch of the repo in your current directory.
|
||||
@@ -1009,12 +1012,12 @@ The `package` module is shown when the current directory is the repository for a
|
||||
|
||||
### Options
|
||||
|
||||
| Variable | Default | Description |
|
||||
| ----------------- | -------------- | ---------------------------------------------------------- |
|
||||
| `symbol` | `"📦 "` | The symbol used before displaying the version the package. |
|
||||
| `style` | `"bold green"` | The style for the module. |
|
||||
| `display_private` | `false` | Enable displaying version for packages marked as private. |
|
||||
| `disabled` | `false` | Disables the `package` module. |
|
||||
| Variable | Default | Description |
|
||||
| ----------------- | ------------ | ---------------------------------------------------------- |
|
||||
| `symbol` | `"📦 "` | The symbol used before displaying the version the package. |
|
||||
| `style` | `"bold 208"` | The style for the module. |
|
||||
| `display_private` | `false` | Enable displaying version for packages marked as private. |
|
||||
| `disabled` | `false` | Disables the `package` module. |
|
||||
|
||||
### Exemple
|
||||
|
||||
@@ -1035,11 +1038,11 @@ The `php` module shows the currently installed version of PHP. Le module est aff
|
||||
|
||||
### Options
|
||||
|
||||
| Variable | Default | Description |
|
||||
| ---------- | -------------- | ----------------------------------------------------- |
|
||||
| `symbol` | `"🐘 "` | The symbol used before displaying the version of PHP. |
|
||||
| `style` | `"bold green"` | The style for the module. |
|
||||
| `disabled` | `false` | Disables the `php` module. |
|
||||
| Variable | Default | Description |
|
||||
| ---------- | ------------ | ----------------------------------------------------- |
|
||||
| `symbol` | `"🐘 "` | The symbol used before displaying the version of PHP. |
|
||||
| `style` | `"bold 147"` | The style for the module. |
|
||||
| `disabled` | `false` | Disables the `php` module. |
|
||||
|
||||
### Exemple
|
||||
|
||||
@@ -1052,11 +1055,9 @@ symbol = "🔹 "
|
||||
|
||||
## Python
|
||||
|
||||
The `python` module shows the currently installed version of Python.
|
||||
The `python` module shows the currently installed version of Python and the current Python virtual environment if one is activated.
|
||||
|
||||
If `pyenv_version_name` is set to `true`, it will display the pyenv version name.
|
||||
|
||||
Otherwise, it will display the version number from `python --version` and show the current Python virtual environment if one is activated.
|
||||
If `pyenv_version_name` is set to `true`, it will display the pyenv version name. Otherwise, it will display the version number from `python --version`.
|
||||
|
||||
Le module est affiché si l'une des ces conditions est remplie :
|
||||
|
||||
|
||||
Reference in New Issue
Block a user