summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatan Kushner <hello@matchai.me>2019-11-02 20:12:46 +0900
committerGitHub <noreply@github.com>2019-11-02 20:12:46 +0900
commitd30a2c2705d7c90d66b715678cc9a6ac6f6661b8 (patch)
tree4a4a7eb97fb64fd7108b90a22ef64a43509f25cd
parent42f6868e3ff3dbf47e8a2c741a325cfc0a8486a7 (diff)
docs(i18n): Update documentation translations (#575)
-rw-r--r--docs/de-DE/advanced-config/README.md8
-rw-r--r--docs/de-DE/config/README.md130
-rw-r--r--docs/de-DE/guide/README.md10
-rw-r--r--docs/fr-FR/README.md22
-rw-r--r--docs/fr-FR/config/README.md73
-rw-r--r--docs/fr-FR/guide/README.md4
-rw-r--r--docs/ja-JP/README.md2
-rw-r--r--docs/ja-JP/config/README.md109
-rw-r--r--docs/ja-JP/guide/README.md12
-rw-r--r--docs/ru-RU/advanced-config/README.md2
-rw-r--r--docs/ru-RU/config/README.md357
-rw-r--r--docs/ru-RU/guide/README.md6
-rw-r--r--docs/zh-CN/config/README.md67
-rw-r--r--docs/zh-CN/guide/README.md36
-rw-r--r--docs/zh-TW/config/README.md76
-rw-r--r--docs/zh-TW/guide/README.md4
16 files changed, 522 insertions, 396 deletions
diff --git a/docs/de-DE/advanced-config/README.md b/docs/de-DE/advanced-config/README.md
index 37d945860..f10ce127a 100644
--- a/docs/de-DE/advanced-config/README.md
+++ b/docs/de-DE/advanced-config/README.md
@@ -61,7 +61,7 @@ Um die Funktion dauerhaft zu machen, schreiben Sie diese in die Shell-Konfigurat
## Style-Strings
-Style strings are a list of words, separated by whitespace. The words are not case sensitive (i.e. `bold` and `BoLd` are considered the same string). Each word can be one of the following:
+Style strings are a list of words, separated by whitespace. The words are not case sensitive (i.e. `bold` and `BoLd` are considered the same string). Jedes Wort kann eines der folgenden sein:
- `bold`
- `underline`
@@ -71,14 +71,14 @@ Style strings are a list of words, separated by whitespace. The words are not ca
- `<color>`
- `none`
-where `<color>` is a color specifier (discussed below). `fg:<color>` and `<color>` currently do the same thing , though this may change in the future. The order of words in the string does not matter.
+where `<color>` is a color specifier (discussed below). `fg:<color>` and `<color>` currently do the same thing , though this may change in the future. Die Reihenfolge der Wörter in der Zeichenkette spielt keine Rolle.
The `none` token overrides all other tokens in a string, so that e.g. `fg:red none fg:blue` will still create a string with no styling. It may become an error to use `none` in conjunction with other tokens in the future.
A color specifier can be one of the following:
- One of the standard terminal colors: `black`, `red`, `green`, `blue`, `yellow`, `purple`, `cyan`, `white`. You can optionally prefix these with `bright-` to get the bright version (e.g. `bright-white`).
- - A `#` followed by a six-digit hexadecimal number. This specifies an [RGB color hex code](https://www.w3schools.com/colors/colors_hexadecimal.asp).
- - A number between 0-255. This specifies an [8-bit ANSI Color Code](https://i.stack.imgur.com/KTSQa.png).
+ - Eine `#` gefolgt von einer sechsstelligen Hexadezimalnummer. This specifies an [RGB color hex code](https://www.w3schools.com/colors/colors_hexadecimal.asp).
+ - Eine Zahl zwischen 0-255. This specifies an [8-bit ANSI Color Code](https://i.stack.imgur.com/KTSQa.png).
If multiple colors are specified for foreground/background, the last one in the string will take priority.
diff --git a/docs/de-DE/config/README.md b/docs/de-DE/config/README.md
index b3f09ea4b..276d424a3 100644
--- a/docs/de-DE/config/README.md
+++ b/docs/de-DE/config/README.md
@@ -29,11 +29,11 @@ disabled = true
### Terminologie
-**Module**: Eine Komponente in der Konsole, die auf kontextualisierte Informationen des OS basiert. Zum Beispiel das "nodejs" Modul zeigt die version von NodeJS, die derzeit auf deinem Rechner installiert ist, wenn dein Arbeitsordner ein NodeJS Projekt umfasst.
+**Module**: Eine Komponente in der Konsole, die auf kontextualisierte Informationen des OS basiert. Zum Beispiel zeigt das Modul "nodejs" die Version von NodeJS, die derzeit auf Ihrem Computer installiert ist, wenn Ihr aktuelles Verzeichnis ein NodeJS-Projekt ist.
-**Segment**: Kleinere Sub-Komponente die ein Modul ergeben. Zum Beispiel, das "symbol" Segment im "nodejs" Modul beinhaltet das Symbol das vor der Versionsnummer gezeigt wird (Standard: ⬢).
+**Segment**: Kleinere Unterkomponenten, die ein Modul erstellen. Zum Beispiel, das "symbol" Segment im "nodejs" Modul beinhaltet das Symbol das vor der Versionsnummer gezeigt wird (Standard: ⬢).
-Hier ist die Darstellung des Node Moduls. Im folgenden Beispiel betrachten wir die Segmente "symbol" und "version". Jedes Modul hat auch einen Prefix und einen Suffix, das auf die Standardfarbe des Terminals gesetzt ist.
+Hier eine Darstellung des Node-Moduls. Im folgenden Beispiel betrachten wir die Segmente "symbol" und "version". Jedes Modul hat einen Präfix und einen Suffix, welche auf die Standardfarbe des Terminals gesetzt sind.
```
[prefix] [symbol] [version] [suffix]
@@ -42,16 +42,16 @@ Hier ist die Darstellung des Node Moduls. Im folgenden Beispiel betrachten wir d
### Style-Strings
-Die meisten Module in starship lassen dich den Darstellungsstil verändern. Dies passiert meistens an einem bestimmten Eintrag (gewöhnlich `style` genannt), der einen String mit den Einstellungen darstellt. Es folgen ein paar Beispiele für solche Strings zusammen mit Beschreibungen was sie bewirken. Details zur vollen Syntax findest du im [Erweiterten Einstellungshandbuch](/advanced-config/).
+Die meisten Module in Starship lassen dich den Darstellungsstil verändern. Dies passiert meistens an einem bestimmten Eintrag (gewöhnlich `style` genannt), der einen String mit den Einstellungen darstellt. Es folgen ein paar Beispiele für solche Strings zusammen mit Beschreibungen was sie bewirken. Details zur vollen Syntax findest du im [Erweiterten Konfigurationshandbuch](/advanced-config/).
- `"fg:green bg:blue"` setzt grünen Text auf blauen Hintergrund
- `"bg:blue fg:bright-green"` setzt hell-grünen Text auf blauen Hintergrund
- `"bold fg:27"` setzt dicke Schrift auf [ANSI Farbe](https://i.stack.imgur.com/KTSQa.png) 27
- `"underline bg:#bf5700"` setzt unterstrichenen Text auf einen orangenen Hintergrund
-- `"bold italic fg:purple"` setzt dicke Kursivschrift lila
-- `""` deativiert explizit jeden Stil
+- `"bold italic fg:purple"` setzt dicke lila Kursivschrift
+- `""` deaktiviert explizit jeden Stil
-Wie genau sich diese Konfiguration auswirkt liegt an deinem Shell Emulator. Einige Emulatoren zum Beispiel werden die Farben erhellen statt Text dick zu machen, und ein paar Farbthemata benutzen dieselben werte für normale und helle Farben. Für kursiven Text muss dein Terminal Kursivschrift unterstützen.
+Wie genau sich diese Konfiguration auswirkt liegt an deinem Terminal-Emulator. Einige Emulatoren zum Beispiel werden die Farben erhellen statt Text dick zu machen, und ein paar Farbthemen benutzen dieselben Werte für normale und helle Farben. Für kursiven Text muss dein Terminal Kursivschrift unterstützen.
## Prompt
@@ -63,22 +63,24 @@ Dies ist eine Liste mit Prompt-weiten Konfigurationsoptionen.
| -------------- | ----------------------------- | ------------------------------------------------------------------ |
| `add_newline` | `true` | Neuer Zeilenumbruch bei Start des Prompts. |
| `prompt_order` | [link](#default-prompt-order) | Stelle die Reihenfolge ein, in der die Module den prompt aufbauen. |
+| `scan_timeout` | `30` | Timeout for starship to scan files (in milliseconds). |
### Beispiel
```toml
# ~/.config/starship.toml
-# Kein Zeilenumbruch am Anfang der Eingabe
+# Disable the newline at the start of the prompt
add_newline = false
-
-# Überscheibt die Standard-Reihenfolge und nutzt die folgende
+# Overwrite a default_prompt_order and use custom prompt_order
prompt_order=["rust","line_break","package","line_break","character"]
+# Wait 10 milliseconds for starship to check files under the current directory.
+scan_timeout = 10
```
-### Default Promp Order
+### Standard-Promptreihenfolge
-Die Standard `prompt_order` wird benutzt um die Reihenfolge der Module im Prompt zu definieren, falls `prompt_order` leer oder nicht gesetzt ist. Der default sieht wie folgt aus:
+Die Standard `prompt_order` wird benutzt um die Reihenfolge der Module im Prompt zu definieren, falls `prompt_order` leer oder nicht gesetzt ist. Die Standardwerte sind folgende:
```toml
prompt_order = [
@@ -117,11 +119,11 @@ Das `aws`-Modul zeigt das aktuelle AWS-Profil an. Dies basiert auf den Umgebungs
### Optionen
-| Variable | Standardwert | Beschreibung |
-| ---------- | --------------- | ------------------------------------------------------------------- |
-| `symbol` | `"☁️ "` | Symbol das vor der Anzahl des aktuellen AWS-Profils angezeigt wird. |
-| `style` | `"bold yellow"` | Stil für dieses Modul. |
-| `disabled` | `false` | Deaktiviert das `aws`-Modul. |
+| Variable | Standardwert | Beschreibung |
+| ---------- | --------------- | ------------------------------------------------------- |
+| `symbol` | `"☁️ "` | Symbol das vor dem aktuellen AWS-Profil angezeigt wird. |
+| `style` | `"bold yellow"` | Stil für dieses Modul. |
+| `disabled` | `false` | Deaktiviert das `aws`-Modul. |
### Beispiel
@@ -148,9 +150,9 @@ Das `battery` Modul zeigt, wie hoch der Akku des Geräts geladen ist und den akt
| `disabled` | `false` | Wenn der Wert auf `true` steht, wird das Akkustand-Modul deaktiviert. |
<details>
-<summary>Das Batterie-Modul unterstützt auch einige ungewöhnliche Zustände.</summary>
+<summary>Das Batterie-Modul unterstützt auch einige untypische Zustände.</summary>
-| Variable | Description |
+| Variable | Beschreibung |
| ---------------- | --------------------------------------------------- |
| `unknown_symbol` | The symbol shown when the battery state is unknown. |
| `empty_symbol` | The symbol shown when the battery state is empty. |
@@ -172,7 +174,7 @@ discharging_symbol = "💀"
### Anzeige des Akkustandes
-Die `display` Konfiguration "threshold" stellt ein ab wann die Akkuanzeige eingeblendet wird. Mit "style" wird das Erscheinungsbild festgelegt. Wenn `display` nicht angegeben ist. Werden die folgenden Standardwerte verwendet:
+Die `display` Konfiguration "threshold" stellt ein ab wann die Akkuanzeige eingeblendet wird. Mit "style" wird das Erscheinungsbild festgelegt. Wenn `display` nicht angegeben ist. Die Standardwerte sind folgende:
```toml
[[battery.display]]
@@ -235,7 +237,7 @@ use_symbol_for_status = true
## Befehlsdauer
-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.
+Das `cmd_duration` Modul zeigt an wie lange der letzte Befehl ausgeführt wurde. Das Modul wird nur angezeigt wenn der letzte Befehl länger als zwei Sekunden ausgeführt wurde. Mit der `min_time` Option kann die Zeit eingestellt werden ab der <0>cmd_duration</0> angezeigt wird.
::: warning Nicht die DEBUG-trap in der Bash hooken
@@ -436,25 +438,39 @@ cherry_pick = "🍒 PICKING"
The `git_status` module shows symbols representing the state of the repo in your current directory.
-### Options
-
-| Variable | Standardwert | Beschreibung |
-| ----------------- | ------------ | ------------------------------------------------------- |
-| `conflicted` | `"="` | This branch has merge conflicts. |
-| `ahead` | `"⇡"` | This branch is ahead of the branch being tracked. |
-| `behind` | `"⇣"` | This branch is behind of the branch being tracked. |
-| `diverged` | `"⇕"` | This branch has diverged from the branch being tracked. |
-| `untracked` | `"?"` | There are untracked files in the working directory. |
-| `stashed` | `"$"` | A stash exists for the local repository. |
-| `modified` | `"!"` | There are file modifications in the working directory. |
-| `staged` | `"+"` | A new file has been added to the staging area. |
-| `renamed` | `"»"` | A renamed file has been added to the staging area. |
-| `deleted` | `"✘"` | A file's deletion has been added to the staging area. |
-| `show_sync_count` | `false` | Show ahead/behind count of the branch being tracked. |
-| `prefix` | `[` | Prefix to display immediately before git status. |
-| `suffix` | `]` | Suffix to display immediately after git status. |
-| `style` | `"bold red"` | Stil für dieses Modul. |
-| `disabled` | `false` | Deaktiviert das `git_status`-Modul. |
+### Optionen
+
+| Variable | Standardwert | Beschreibung |
+| ------------------ | -------------------------- | ------------------------------------------------------- |
+| `conflicted` | `"="` | This branch has merge conflicts. |
+| `conflicted_count` | [link](#git-status-counts) | Show and style the number of conflicts. |
+| `ahead` | `"⇡"` | This branch is ahead of the branch being tracked. |
+| `behind` | `"⇣"` | This branch is behind of the branch being tracked. |
+| `diverged` | `"⇕"` | This branch has diverged from the branch being tracked. |
+| `untracked` | `"?"` | There are untracked files in the working directory. |
+| `untracked_count` | [link](#git-status-counts) | Show and style the number of untracked files. |
+| `stashed` | `"$"` | A stash exists for the local repository. |
+| `modified` | `"!"` | There are file modifications in the working directory. |
+| `modified_count` | [link](#git-status-counts) | Show and style the number of modified files. |
+| `staged` | `"+"` | A new file has been added to the staging area. |
+| `staged_count` | [link](#git-status-counts) | Show and style the number of files staged files. |
+| `renamed` | `"»"` | A renamed file has been added to the staging area. |
+| `renamed_count` | [link](#git-status-counts) | Show and style the number of renamed files. |
+| `deleted` | `"✘"` | A file's deletion has been added to the staging area. |
+| `deleted_count` | [link](#git-status-counts) | Show and style the number of deleted files. |
+| `show_sync_count` | `false` | Show ahead/behind count of the branch being tracked. |
+| `prefix` | `[` | Prefix to display immediately before git status. |
+| `suffix` | `]` | Suffix to display immediately after git status. |
+| `style` | `"bold red"` | Stil für dieses Modul. |
+| `disabled` | `false` | Deaktiviert das `git_status`-Modul. |
+
+#### Git Status Counts
+
+| Variable | Standardwert | Beschreibung |
+| --------- | ------------ | ------------------------------------------------------ |
+| `enabled` | `false` | Show the number of files |
+| `style` | | Optionally style the count differently than the module |
+
### Beispiel
@@ -469,7 +485,10 @@ diverged = "😵"
untracked = "🤷‍"
stashed = "📦"
modified = "📝"
-staged = "➕"
+staged.value = "++"
+staged.style = "green"
+staged_count.enabled = true
+staged_count.style = "green"
renamed = "👅"
deleted = "🗑"
```
@@ -515,8 +534,8 @@ Das `hostname`-Modul zeigt den Hostnamen des Systems an.
| `prefix` | `""` | Prefix der unmittelbar vor dem Hostnamen angezeigt wird. |
| `suffix` | `""` | Suffix der unmittelbar nach dem Hostnamen angezeigt wird. |
| `trim_at` | `"."` | String that the hostname is cut off at, after the first match. `"."` will stop after the first dot. `""` will disable any truncation |
-| `style` | `"bold dimmed green"` | The style for the module. |
-| `disabled` | `false` | Disables the `hostname` module. |
+| `style` | `"bold dimmed green"` | Stil für dieses Modul. |
+| `disabled` | `false` | Deaktiviert das `hostname`-Modul. |
### Beispiel
@@ -554,11 +573,9 @@ symbol = "+ "
threshold = 4
```
-
## Kubernetes
-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`.
+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
@@ -585,7 +602,6 @@ style = "dim green"
disabled = false
```
-
## Zeilenumbruch
Das `line_break`-Modul unterteilt den Prompt in zwei Zeilen.
@@ -669,7 +685,7 @@ style = "bold dimmed green"
## Java
-The `java` module shows the currently installed version of Java. The module will be shown if any of the following conditions are met:
+Das `java` Modul zeigt die derzeit installierte Version von Java an. Das Modul wird nur dann angezeigt, wenn eine der folgenden Bedingungen zutrifft:
- The current directory contains a `pom.xml`, `build.gradle` or `build.sbt` file
- The current directory contains a file with the `.java`, `.class` or `.jar` extension
@@ -693,9 +709,9 @@ symbol = "🌟 "
## NodeJS
-The `nodejs` module shows the currently installed version of NodeJS. The module will be shown if any of the following conditions are met:
+Das `nodejs` Modul zeigt die derzeit installierte Version von NodeJS. Das Modul wird nur dann angezeigt, wenn eine der folgenden Bedingungen zutrifft:
-- The current directory contains a `package.json` file
+- Das aktuelle Verzeichnis enthält eine `package.json`-Datei
- The current directory contains a `node_modules` directory
- The current directory contains a file with the `.js` extension
@@ -751,14 +767,14 @@ 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.
-The module will be shown if any of the following conditions are met:
+Das Modul wird nur dann angezeigt, wenn eine der folgenden Bedingungen zutrifft:
- The current directory contains a `.python-version` file
-- The current directory contains a `requirements.txt` file
-- The current directory contains a `pyproject.toml` file
+- Das aktuelle Verzeichnis enthält eine `requirements.txt`-Datei
+- Das aktuelle Verzeichnis enthält eine `pyproject.toml`-Datei
- The current directory contains a file with the `.py` extension
- The current directory contains a `Pipfile` file
-- The current directory contains a `tox.ini` file
+- Das aktuelle Verzeichnis enthält eine `tox.ini`-Datei
### Optionen
@@ -783,7 +799,7 @@ pyenv_prefix = "foo "
## Ruby
-The `ruby` module shows the currently installed version of Ruby. The module will be shown if any of the following conditions are met:
+The `ruby` module shows the currently installed version of Ruby. Das Modul wird nur dann angezeigt, wenn eine der folgenden Bedingungen zutrifft:
- The current directory contains a `Gemfile` file
- The current directory contains a `.rb` file
@@ -807,7 +823,7 @@ symbol = "🔺 "
## Rust
-The `rust` module shows the currently installed version of Rust. The module will be shown if any of the following conditions are met:
+The `rust` module shows the currently installed version of Rust. Das Modul wird nur dann angezeigt, wenn eine der folgenden Bedingungen zutrifft:
- The current directory contains a `Cargo.toml` file
- The current directory contains a file with the `.rs` extension
@@ -843,7 +859,7 @@ Dieses Modul ist standardmäßig deaktiviert. Setze in deiner Konfiguration `dis
| Variable | Standardwert | Beschreibung |
| ----------------- | ------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
-| `12hr` | `false` | Aktiviert die Formatierung der Uhrzeit im 12-Stunden-Format. |
+| `use_12hr` | `false` | Aktiviert die Formatierung der Uhrzeit im 12-Stunden-Format. |
| `format` | Siehe unten | Das Format zum Anzeigen der Uhrzeit in [chrono-Formatierung](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html). |
| `style` | `bold yellow` | Stil für dieses Modul. |
| `disabled` | `true` | Deaktiviert das `time`-Modul. |
diff --git a/docs/de-DE/guide/README.md b/docs/de-DE/guide/README.md
index 395e2db98..6ee7fa4de 100644
--- a/docs/de-DE/guide/README.md
+++ b/docs/de-DE/guide/README.md
@@ -20,12 +20,12 @@
<a href="#contributors">
<img
src="https://badgen.net/badge/all%20contributors/42/orange"
- alt="All Contributors" /></a>
+ alt="Alle Mitwirkenden" /></a>
<!-- ALL-CONTRIBUTORS-BADGE:END -->
<a href="https://discord.gg/8Jzqu3T"
><img
src="https://badgen.net/badge/chat/on%20discord/7289da"
- alt="Chat on Discord" /></a>
+ alt="Auf Discord chatten" /></a>
</p>
<h4 align="center">
@@ -123,7 +123,7 @@
```
- #### Rust (v1.38 oder höher)
+ #### Rust (v1.38 oder neuer)
```sh
$ cargo install starship
@@ -290,6 +290,10 @@ Danke an diese wunderbaren Leute ([emoji-Schlüssel](https://allcontributors.org
</tr>
<tr>
<td align="center"><a href="https://github.com/CSumm"><img src="https://avatars1.githubusercontent.com/u/31711543?v=4" width="100px;" alt="Carl Summers" /><br /><sub><b>Carl Summers</b></sub></a><br /><a href="https://github.com/starship/starship/commits?author=CSumm" title="Documentation">📖</a></td>
+ <td align="center"><a href="http://www.slmt.tw"><img src="https://avatars2.githubusercontent.com/u/6824412?v=4" width="100px;" alt="Yushan Lin" /><br /><sub><b>Yushan Lin</b></sub></a><br /><a href="#translation-SLMT" title="Translation">🌍</a></td>
+ <td align="center"><a href="https://weihanglo.tw"><img src="https://avatars2.githubusercontent.com/u/14314532?v=4" width="100px;" alt="Weihang Lo" /><br /><sub><b>Weihang Lo</b></sub></a><br /><a href="#translation-weihanglo" title="Translation">🌍</a></td>
+ <td align="center"><a href="https://github.com/pinshan"><img src="https://avatars0.githubusercontent.com/u/7709675?v=4" width="100px;" alt="pinshan" /><br /><sub><b>pinshan</b></sub></a><br /><a href="#translation-pinshan" title="Translation">🌍</a></td>
+ <td align="center"><a href="https://github.com/brianlow"><img src="https://avatars2.githubusercontent.com/u/938138?v=4" width="100px;" alt="Brian Low" /><br /><sub><b>Brian Low</b></sub></a><br /><a href="https://github.com/starship/starship/commits?author=brianlow" title="Code">💻</a> <a href="https://github.com/starship/starship/commits?author=brianlow" title="Documentation">📖</a> <a href="https://github.com/starship/starship/commits?author=brianlow" title="Tests">⚠️</a></td>
</tr>
</table>
diff --git a/docs/fr-FR/README.md b/docs/fr-FR/README.md
index 2e3d3e403..59d6ef0b6 100644
--- a/docs/fr-FR/README.md
+++ b/docs/fr-FR/README.md
@@ -9,15 +9,15 @@ footer: ISC licencié | Copyright © 2019-present Starship Contributors
<div class="features">
<div class="feature">
<h2>Compatibilité d'abord</h2>
- <p>Works on the most common shells on the most common operating systems. Use it everywhere!</p>
+ <p>Fonctionne sur tous les principaux shells et système d'exploitation. Utilisez-le partout !</p>
</div>
<div class="feature">
- <h2>Rust-Powered</h2>
- <p>Brings the best-in-class speed and safety of Rust, to make your prompt as quick and reliable as possible.</p>
+ <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>Customizable</h2>
- <p>Every little detail is customizable to your liking, to make this prompt as minimal or feature-rich as you'd like it to be.</p>
+ <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>
@@ -28,11 +28,11 @@ footer: ISC licencié | Copyright © 2019-present Starship Contributors
</video>
</div>
-### Quick Install
+### Installation
-1. Install the **starship** binary:
+1. Installer le binaire **starship** :
- **[Download archives of precompiled binaries](https://github.com/starship/starship/releases)** if you don't use the platforms below.
+ **[Télécharger les archives des binaires précompilés](https://github.com/starship/starship/releases)** si vous n'utilisez pas une des plateformes citées ci-dessous.
#### Homebrew
@@ -42,7 +42,7 @@ footer: ISC licencié | Copyright © 2019-present Starship Contributors
```
- #### Rust (v1.38 or higher)
+ #### Rust (v1.38 ou plus)
```sh
$ cargo install starship
@@ -51,14 +51,14 @@ footer: ISC licencié | Copyright © 2019-present Starship Contributors
#### Arch Linux (AUR)
- Starship is available on the AUR under the name `starship`. Install it with `yay` or your favorite AUR helper.
+ Starship is disponible sur AUR sous le nom `starship`. Installer le avec `yay` ou votre client AUR favori.
```sh
$ yay -S starship
```
- #### Nix (unstable)
+ #### Nix (non stable)
```sh
$ nix-env --install starship
diff --git a/docs/fr-FR/config/README.md b/docs/fr-FR/config/README.md
index c876c45a1..21646394b 100644
--- a/docs/fr-FR/config/README.md
+++ b/docs/fr-FR/config/README.md
@@ -40,7 +40,7 @@ Voici la représentation du module node. Dans l'exemple suivant, "symbol" et "ve
"via " "⬢" "v10.4.1" ""
```
-### Style Strings
+### Chaînes de style
Most modules in starship allow you to configure their display styles. This is done with an entry (usually called `style`) which is a string specifying the configuration. Here are some examples of style strings along with what they do. For details on the full syntax, consult the [advanced config guide](/advanced-config/).
@@ -63,6 +63,7 @@ This is the list of prompt-wide configuration options.
| -------------- | ----------------------------- | ------------------------------------------------------ |
| `add_newline` | `true` | Add a new line before the start of the prompt. |
| `prompt_order` | [link](#default-prompt-order) | Configure the order in which the prompt module occurs. |
+| `scan_timeout` | `30` | Timeout for starship to scan files (in milliseconds). |
### Example
@@ -73,6 +74,8 @@ This is the list of prompt-wide configuration options.
add_newline = false
# Overwrite a default_prompt_order and use custom prompt_order
prompt_order=["rust","line_break","package","line_break","character"]
+# Wait 10 milliseconds for starship to check files under the current directory.
+scan_timeout = 10
```
### Default Prompt Order
@@ -118,7 +121,7 @@ The `aws` module shows the current AWS region and profile. This is based on `AWS
| Variable | Default | Description |
| ---------- | --------------- | ---------------------------------------------------------- |
-| `symbol` | `"☁️ "` | The symbol used before displaying the current AWS profile. |
+| `symbol` | `"☁️ "` | The symbol used before displaying the current AWS profile. |
| `style` | `"bold yellow"` | The style for the module. |
| `disabled` | `false` | Disables the `AWS` module. |
@@ -437,23 +440,37 @@ The `git_status` module shows symbols representing the state of the repo in your
### Options
-| Variable | Default | Description |
-| ----------------- | ------------ | ------------------------------------------------------- |
-| `conflicted` | `"="` | This branch has merge conflicts. |
-| `ahead` | `"⇡"` | This branch is ahead of the branch being tracked. |
-| `behind` | `"⇣"` | This branch is behind of the branch being tracked. |
-| `diverged` | `"⇕"` | This branch has diverged from the branch being tracked. |
-| `untracked` | `"?"` | There are untracked files in the working directory. |
-| `stashed` | `"$"` | A stash exists for the local repository. |
-| `modified` | `"!"` | There are file modifications in the working directory. |
-| `staged` | `"+"` | A new file has been added to the staging area. |
-| `renamed` | `"»"` | A renamed file has been added to the staging area. |
-| `deleted` | `"✘"` | A file's deletion has been added to the staging area. |
-| `show_sync_count` | `false` | Show ahead/behind count of the branch being tracked. |
-| `prefix` | `[` | Prefix to display immediately before git status. |
-| `suffix` | `]` | Suffix to display immediately after git status. |
-| `style` | `"bold red"` | The style for the module. |
-| `disabled` | `false` | Disables the `git_status` module. |
+| Variable | Default | Description |
+| ------------------ | -------------------------- | ------------------------------------------------------- |
+| `conflicted` | `"="` | This branch has merge conflicts. |
+| `conflicted_count` | [link](#git-status-counts) | Show and style the number of conflicts. |
+| `ahead` | `"⇡"` | This branch is ahead of the branch being tracked. |
+| `behind` | `"⇣"` | This branch is behind of the branch being tracked. |
+| `diverged` | `"⇕"` | This branch has diverged from the branch being tracked. |
+| `untracked` | `"?"` | There are untracked files in the working directory. |
+| `untracked_count` | [link](#git-status-counts) | Show and style the number of untracked files. |
+| `stashed` | `"$"` | A stash exists for the local repository. |
+| `modified` | `"!"` | There are file modifications in the working directory. |
+| `modified_count` | [link](#git-status-counts) | Show and style the number of modified files. |
+| `staged` | `"+"` | A new file has been added to the staging area. |
+| `staged_count` | [link](#git-status-counts) | Show and style the number of files staged files. |
+| `renamed` | `"»"` | A renamed file has been added to the staging area. |
+| `renamed_count` | [link](#git-status-counts) | Show and style the number of renamed files. |
+| `deleted` | `"✘"` | A file's deletion has been added to the staging area. |
+| `deleted_count` | [link](#git-status-counts) | Show and style the number of deleted files. |
+| `show_sync_count` | `false` | Show ahead/behind count of the branch being tracked. |
+| `prefix` | `[` | Prefix to display immediately before git status. |
+| `suffix` | `]` | Suffix to display immediately after git status. |
+| `style` | `"bold red"` | The style for the module. |
+| `disabled` | `false` | Disables the `git_status` module. |
+
+#### Git Status Counts
+
+| Variable | Default | Description |
+| --------- | ------- | ------------------------------------------------------ |
+| `enabled` | `false` | Show the number of files |
+| `style` | | Optionally style the count differently than the module |
+
### Example
@@ -468,7 +485,10 @@ diverged = "😵"
untracked = "🤷‍"
stashed = "📦"
modified = "📝"
-staged = "➕"
+staged.value = "++"
+staged.style = "green"
+staged_count.enabled = true
+staged_count.style = "green"
renamed = "👅"
deleted = "🗑"
```
@@ -553,13 +573,11 @@ symbol = "+ "
threshold = 4
```
-
## Kubernetes
-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`.
+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
+::: remarque
This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file.
@@ -584,7 +602,6 @@ style = "dim green"
disabled = false
```
-
## Line Break
The `line_break` module separates the prompt into two lines.
@@ -636,7 +653,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.
-::: tip
+::: remarque
This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file.
@@ -832,7 +849,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.
-::: tip
+::: remarque
This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file.
@@ -842,7 +859,7 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y
| Variable | Default | Description |
| ----------------- | ------------- | ------------------------------------------------------------------------------------------------------------------- |
-| `12hr` | `false` | Enables 12 hour formatting |
+| `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 |
| `disabled` | `true` | Disables the `time` module. |
di