docs(i18n): Update translations (#875)

This commit is contained in:
Matan Kushner
2020-02-04 12:11:36 -05:00
committed by GitHub
parent 860accac55
commit 8e9d9409cf
24 changed files with 998 additions and 834 deletions
+15 -17
View File
@@ -1,28 +1,26 @@
---
home: true
heroImage: /logo.svg
heroText: null
heroText:
tagline: The cross-shell prompt for astronauts
actionText: Commencez →
actionLink: ./guide/
features:
-
title: Compatibilité d'abord
details: Fonctionne sur tous les principaux shells et système d'exploitation. Utilisez-le partout !
-
title: Propulsé par Rust
details: Profiter de toute la rapidité et la securité de Rust, pour rendre votre prompt le plus rapide et fiable possible.
-
title: Personnalisable
details: Tous les petits détails sont personnalisable à votre goût, pour rendre votre prompt aussi léger ou complet que le vous souhaitez.
footer: ISC licencié | Copyright © 2019-present Starship Contributors
#Used for the description meta tag, for SEO
metaTitle: "Starship: Cross-Shell Prompt"
description: Starship is the minimal, blazing fast, and extremely customizable prompt for any shell! Shows the information you need, while staying sleek and minimal. Quick installation available for Bash, Fish, ZSH, Ion, and Powershell.
---
<div class="features">
<div class="feature">
<h2>Compatibilité d'abord</h2>
<p>Fonctionne sur tous les principaux shells et système d'exploitation. Utilisez-le partout !</p>
</div>
<div class="feature">
<h2>Propulsé par Rust</h2>
<p>Profiter de toute la rapidité et la securité de Rust, pour rendre votre prompt le plus rapide et fiable possible.</p>
</div>
<div class="feature">
<h2>Personnalisable</h2>
<p>Tous les petits détails sont personnalisable à votre goût, pour rendre votre prompt aussi léger ou complet que le vous souhaitez.</p>
</div>
</div>
<div class="center">
<video class="demo-video" muted autoplay loop playsinline>
<source src="/demo.webm" type="video/webm">
@@ -52,7 +50,7 @@ footer: ISC licencié | Copyright © 2019-present Starship Contributors
brew install starship
```
Avec [Scoop](https://scoop.sh):
Avec [Scoop](https://scoop.sh):
```powershell
scoop install starship
+32 -8
View File
@@ -1,6 +1,6 @@
# Configuration
::: remarque
::: tip
🔥 La configuration est en train d'être travaillée. Beaucoup de nouvelles options de configuration seront disponibles dans les prochaines versions.
@@ -101,6 +101,7 @@ prompt_order = [
"package",
"dotnet",
"golang",
"haskell",
"java",
"nodejs",
"php",
@@ -286,7 +287,7 @@ prefix = "underwent "
The `conda` module shows the current conda environment, if `$CONDA_DEFAULT_ENV` is set.
::: remarque
::: tip
This does not suppress conda's own prompt modifier, you may want to run `conda config --set changeps1 False`.
@@ -433,7 +434,7 @@ truncation_symbol = ""
The `git_commit` module shows the current commit hash of the repo in your current directory.
::: remarque
::: tip
This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file.
@@ -575,6 +576,29 @@ The `golang` module shows the currently installed version of Golang. The module
[golang]
symbol = "🏎💨 "
```
## Haskell
The `haskell` module shows the currently installed version of Haskell Stack version. The module will be shown if any of the following conditions are met:
- The current directory contains a `stack.yaml` file
### Options
| Variable | Default | Description |
| ---------- | ------------ | --------------------------------------------------------- |
| `symbol` | `"λ "` | The symbol used before displaying the version of Haskell. |
| `style` | `"bold red"` | The style for the module. |
| `disabled` | `false` | Disables the `haskell` module. |
### Example
```toml
# ~/.config/starship.toml
[haskell]
symbol = "λx.x "
```
## Mercurial Branch
@@ -656,7 +680,7 @@ threshold = 4
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`.
::: remarque
::: tip
This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file.
@@ -730,8 +754,8 @@ pure_msg = "pure shell"
The `java` module shows the currently installed version of Java. The module will be shown if any of the following conditions are met:
- The current directory contains a `pom.xml`, `build.gradle`, `build.gradle.kts` or `build.sbt` file
- The current directory contains a file with the `.java`, `.class` or `.jar` extension
- The current directory contains a `pom.xml`, `build.gradle.kts` or `build.sbt` file
- The current directory contains a file with the `.java`, `.class`, `.gradle` or `.jar` extension
### Options
@@ -756,7 +780,7 @@ 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.
::: remarque
::: tip
This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file.
@@ -981,7 +1005,7 @@ symbol = "🏎💨 "
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.
::: remarque
::: tip
This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file.
+3 -1
View File
@@ -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-68-orange" alt="Tous les contributeurs"></a>
<a href="#contributors"><img src="https://img.shields.io/badge/all%20contributors-69-orange" alt="Tous les contributeurs"></a>
<!-- ALL-CONTRIBUTORS-BADGE:END -->
</p>
@@ -74,6 +74,7 @@
- Le symbole de prompt devient rouge si la dernière commande a retourné un code différent de zéro
- Version actuelle de Go (`🐹`)
- Current Haskell version (`λ`)
- Version actuelle de Java (`☕`)
- Version actuelle de Node.js (`⬢`)
- Version actuelle de PHP (`🐘`)
@@ -328,6 +329,7 @@ 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>
</tr>
</table>