mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
docs(i18n): Update translations (#908)
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
|
||||
Pour commencer à configurer starship, créez le fichier suivant : `~/.config/starship.toml`.
|
||||
|
||||
```shell
|
||||
```sh
|
||||
$ mkdir -p ~/.config && touch ~/.config/starship.toml
|
||||
```
|
||||
|
||||
@@ -28,7 +28,7 @@ disabled = true
|
||||
```
|
||||
|
||||
You can change default `starship.toml` file location with `STARSHIP_CONFIG` environment variable:
|
||||
```shell
|
||||
```sh
|
||||
export STARSHIP_CONFIG=~/.starship
|
||||
```
|
||||
|
||||
@@ -100,6 +100,7 @@ prompt_order = [
|
||||
"hg_branch",
|
||||
"package",
|
||||
"dotnet",
|
||||
"elm",
|
||||
"golang",
|
||||
"haskell",
|
||||
"java",
|
||||
@@ -114,6 +115,7 @@ prompt_order = [
|
||||
"memory_usage",
|
||||
"aws",
|
||||
"env_var",
|
||||
"crystal",
|
||||
"cmd_duration",
|
||||
"line_break",
|
||||
"jobs",
|
||||
@@ -376,6 +378,33 @@ style = "green"
|
||||
heuristic = false
|
||||
```
|
||||
|
||||
## Elm
|
||||
|
||||
The `elm` module shows the currently installed version of Elm. The module will be shown if any of the following conditions are met:
|
||||
|
||||
- The current directory contains a `elm.json` file
|
||||
- The current directory contains a `elm-package.json` file
|
||||
- The current directory contains a `elm-stuff` folder
|
||||
- The current directory contains a `*.elm` files
|
||||
|
||||
### Options
|
||||
|
||||
| Variable | Default | Description |
|
||||
| ---------- | ------------- | ----------------------------------------------------- |
|
||||
| `symbol` | `"🌳 "` | The symbol used before displaying the version of Elm. |
|
||||
| `style` | `"bold cyan"` | The style for the module. |
|
||||
| `disabled` | `false` | Disables the `elm` module. |
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```toml
|
||||
# ~/.config/starship.toml
|
||||
|
||||
[elm]
|
||||
symbol = " "
|
||||
```
|
||||
|
||||
## 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:
|
||||
@@ -597,7 +626,7 @@ The `haskell` module shows the currently installed version of Haskell Stack vers
|
||||
# ~/.config/starship.toml
|
||||
|
||||
[haskell]
|
||||
symbol = "λx.x "
|
||||
symbol = " "
|
||||
```
|
||||
|
||||
## Mercurial Branch
|
||||
@@ -812,6 +841,31 @@ separator = "/"
|
||||
style = "bold dimmed green"
|
||||
```
|
||||
|
||||
## Crystal
|
||||
|
||||
The `crystal` module shows the currently installed version of Crystal. The module will be shown if any of the following conditions are met:
|
||||
|
||||
- The current directory contains a `shard.yml` file
|
||||
- The current directory contains a `.cr` file
|
||||
|
||||
### Options
|
||||
|
||||
| Variable | Default | Description |
|
||||
| ---------- | ------------ | --------------------------------------------------------- |
|
||||
| `symbol` | `"🔮 "` | The symbol used before displaying the version of crystal. |
|
||||
| `style` | `"bold red"` | The style for the module. |
|
||||
| `disabled` | `false` | Disables the `crystal` module. |
|
||||
|
||||
### Example
|
||||
|
||||
```toml
|
||||
# ~/.config/starship.toml
|
||||
|
||||
[crystal]
|
||||
symbol = "✨ "
|
||||
style = "bold blue"
|
||||
```
|
||||
|
||||
## NodeJS
|
||||
|
||||
The `nodejs` module shows the currently installed version of NodeJS. The module will be shown if any of the following conditions are met:
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
src="https://img.shields.io/discord/567163873606500352?logo=discord"
|
||||
alt="Discuter sur Discord" /></a>
|
||||
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
|
||||
<a href="#contributors"><img src="https://img.shields.io/badge/all%20contributors-69-orange" alt="Tous les contributeurs"></a>
|
||||
<a href="#contributors"><img src="https://img.shields.io/badge/all%20contributors-70-orange" alt="Tous les contributeurs"></a>
|
||||
<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
||||
</p>
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
<a href="https://github.com/starship/starship/blob/master/docs/de-DE/guide/README.md"
|
||||
><img height="20" src="https://raw.githubusercontent.com/starship/starship/master/media/flag-de.png" alt="Deutsch" /></a>
|
||||
|
||||
<a href="https://translate.starship.rs/project/starship-prompt/zh-CN"
|
||||
<a href="https://github.com/starship/starship/blob/master/docs/zh-CN/guide/README.md"
|
||||
><img height="20" src="https://raw.githubusercontent.com/starship/starship/master/media/flag-cn.png" alt="简体中文" /></a>
|
||||
|
||||
<a href="https://translate.starship.rs/project/starship-prompt/es"
|
||||
@@ -73,6 +73,7 @@
|
||||
## 🍬 Fonctionnalités
|
||||
|
||||
- Le symbole de prompt devient rouge si la dernière commande a retourné un code différent de zéro
|
||||
- Current Elm version (`🌳`)
|
||||
- Version actuelle de Go (`🐹`)
|
||||
- Current Haskell version (`λ`)
|
||||
- Version actuelle de Java (`☕`)
|
||||
@@ -82,6 +83,7 @@
|
||||
- Version actuelle de Ruby (`💎`)
|
||||
- Version actuelle de Rust (`🦀`)
|
||||
- Version actuelle de .NET (`•NET`)
|
||||
- Current Crystal version (`🔮`).
|
||||
- Version actuelle du paquet dans le répertoire courant (`📦`)
|
||||
- npm (Node.js)
|
||||
- cargo (Rust)
|
||||
@@ -249,7 +251,7 @@ Merci à ces personnes merveilleuses ([clé emojis](https://allcontributors.org/
|
||||
<td align="center"><a href="https://github.com/sirMerr"><img src="https://avatars2.githubusercontent.com/u/11183523?v=4" width="100px;" alt="" /><br /><sub><b>Tiffany Le-Nguyen</b></sub></a><br /><a href="#ideas-sirMerr" title="Ideas, Planning, & Feedback">🤔</a> <a href="#maintenance-sirMerr" title="Maintenance">🚧</a> <a href="https://github.com/starship/starship/pulls?q=is%3Apr+reviewed-by%3AsirMerr" title="Reviewed Pull Requests">👀</a> <a href="https://github.com/starship/starship/commits?author=sirMerr" title="Documentation">📖</a></td>
|
||||
<td align="center"><a href="https://about.snuggi.es"><img src="https://avatars0.githubusercontent.com/u/26250962?v=4" width="100px;" alt="" /><br /><sub><b>Snuggle</b></sub></a><br /><a href="#design-Snuggle" title="Design">🎨</a> <a href="#ideas-Snuggle" title="Ideas, Planning, & Feedback">🤔</a> <a href="#maintenance-Snuggle" title="Maintenance">🚧</a> <a href="https://github.com/starship/starship/pulls?q=is%3Apr+reviewed-by%3ASnuggle" title="Reviewed Pull Requests">👀</a></td>
|
||||
<td align="center"><a href="https://github.com/mehcode"><img src="https://avatars1.githubusercontent.com/u/753919?v=4" width="100px;" alt="" /><br /><sub><b>Ryan Leckey</b></sub></a><br /><a href="https://github.com/starship/starship/pulls?q=is%3Apr+reviewed-by%3Amehcode" title="Reviewed Pull Requests">👀</a></td>
|
||||
<td align="center"><a href="https://github.com/youssefhabri"><img src="https://avatars3.githubusercontent.com/u/1578005?v=4" width="100px;" alt="" /><br /><sub><b>Youssef Habri</b></sub></a><br /><a href="https://github.com/starship/starship/commits?author=youssefhabri" title="Code">💻</a></td>
|
||||
<td align="center"><a href="https://github.com/youssefhabri"><img src="https://avatars3.githubusercontent.com/u/1578005?v=4" width="100px;" alt="" /><br /><sub><b>Youssef Habri</b></sub></a><br /><a href="https://github.com/starship/starship/commits?author=youssefhabri" title="Code">💻</a> <a href="https://github.com/starship/starship/commits?author=youssefhabri" title="Documentation">📖</a> <a href="https://github.com/starship/starship/commits?author=youssefhabri" title="Tests">⚠️</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><a href="https://github.com/chipbuster"><img src="https://avatars2.githubusercontent.com/u/4605384?v=4" width="100px;" alt="" /><br /><sub><b>Kevin Song</b></sub></a><br /><a href="https://github.com/starship/starship/issues?q=author%3Achipbuster" title="Bug reports">🐛</a> <a href="https://github.com/starship/starship/commits?author=chipbuster" title="Code">💻</a> <a href="https://github.com/starship/starship/commits?author=chipbuster" title="Documentation">📖</a> <a href="https://github.com/starship/starship/commits?author=chipbuster" title="Tests">⚠️</a></td>
|
||||
@@ -329,7 +331,8 @@ Merci à ces personnes merveilleuses ([clé emojis](https://allcontributors.org/
|
||||
<td align="center"><a href="https://blog.brightone.space"><img src="https://avatars1.githubusercontent.com/u/12615679?v=4" width="100px;" alt="" /><br /><sub><b>Oleksii Filonenko</b></sub></a><br /><a href="#translation-filalex77" title="Translation">🌍</a></td>
|
||||
<td align="center"><a href="https://github.com/ivanovart"><img src="https://avatars2.githubusercontent.com/u/5867379?v=4" width="100px;" alt="" /><br /><sub><b>Artem Ivanov</b></sub></a><br /><a href="#translation-ivanovart" title="Translation">🌍</a></td>
|
||||
<td align="center"><a href="http://www.drivendata.org"><img src="https://avatars3.githubusercontent.com/u/1799186?v=4" width="100px;" alt="" /><br /><sub><b>Peter Bull</b></sub></a><br /><a href="https://github.com/starship/starship/commits?author=pjbull" title="Code">💻</a> <a href="https://github.com/starship/starship/commits?author=pjbull" title="Tests">⚠️</a></td>
|
||||
<td align="center"><a href="https://andrewpro.me"><img src="https://avatars1.githubusercontent.com/u/8220926?v=4" width="100px;" alt="" /><br /><sub><b>Andrew Prokhorenkov</b></sub></a><br /><a href="https://github.com/starship/starship/commits?author=m0nhawk" title="Code">💻</a> <a href="https://github.com/starship/starship/commits?author=m0nhawk" title="Documentation">📖</a> <a href="https://github.com/starship/starship/commits?author=m0nhawk" title="Tests">⚠️</a> <a href="#projectManagement-m0nhawk" title="Project Management">📆</a></td>
|
||||
<td align="center"><a href="https://andrewpro.me"><img src="https://avatars1.githubusercontent.com/u/8220926?v=4" width="100px;" alt="" /><br /><sub><b>Andrew Prokhorenkov</b></sub></a><br /><a href="https://github.com/starship/starship/commits?author=m0nhawk" title="Code">💻</a> <a href="https://github.com/starship/starship/commits?author=m0nhawk" title="Documentation">📖</a> <a href="https://github.com/starship/starship/commits?author=m0nhawk" title="Tests">⚠️</a></td>
|
||||
<td align="center"><a href="https://github.com/chirsz-ever"><img src="https://avatars2.githubusercontent.com/u/31474766?v=4" width="100px;" alt="" /><br /><sub><b>chirsz</b></sub></a><br /><a href="#translation-chirsz-ever" title="Translation">🌍</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user