summaryrefslogtreecommitdiffstats
path: root/docs/fr-FR
diff options
context:
space:
mode:
authorMatan Kushner <hello@matchai.dev>2021-07-10 17:15:23 -0400
committerGitHub <noreply@github.com>2021-07-10 17:15:23 -0400
commitcc32c7214bf94651cd456390cf40f0af27c35c1f (patch)
tree3df0b2b88d92768dae7796c935cccac8d0f3887d /docs/fr-FR
parent9f337d15e7efb6010066088d7f0a611a6ecb5d79 (diff)
docs(i18n): New Crowdin updates (#2834)
Diffstat (limited to 'docs/fr-FR')
-rw-r--r--docs/fr-FR/README.md13
-rw-r--r--docs/fr-FR/config/README.md61
-rw-r--r--docs/fr-FR/guide/README.md14
3 files changed, 78 insertions, 10 deletions
diff --git a/docs/fr-FR/README.md b/docs/fr-FR/README.md
index 7dd1a3db3..6b41919a2 100644
--- a/docs/fr-FR/README.md
+++ b/docs/fr-FR/README.md
@@ -138,3 +138,16 @@ description: Starship est une invite minimaliste, ultra-rapide et hautement pers
eval `starship init tcsh`
```
+
+ #### Nushell
+
+ ::: warning This will change in the future. Only nu version v0.33 or higher is supported. ::: Add the following to your nu config file. You can check the location of this file by running `config path` in nu.
+
+ ```toml
+ startup = [
+ "mkdir ~/.cache/starship",
+ "starship init nu | save ~/.cache/starship/init.nu",
+ "source ~/.cache/starship/init.nu"
+ ]
+ prompt = "starship_prompt"
+ ```
diff --git a/docs/fr-FR/config/README.md b/docs/fr-FR/config/README.md
index 0c050f00e..507907603 100644
--- a/docs/fr-FR/config/README.md
+++ b/docs/fr-FR/config/README.md
@@ -102,7 +102,7 @@ Une chaîne de formatage conditionnel enveloppée dans `(` et `)` ne sera pas re
Par exemple :
-- `(@$region)` ne montrera rien si la variable `région` est `None`, sinon `@` suivi de la valeur de la région.
+- `(@$region)` will show nothing if the variable `region` is `None` or empty string, otherwise `@` followed by the value of region.
- `(some text)` ne montrera toujours rien puisqu'il n'y a pas de variables enveloppées dans les accolades.
- Lorsque `$all` est un raccourci pour `\[$a$b\]`, `($all)` ne montrera rien que si `$a` et `$b` sont tous les deux `None`. Cela fonctionne comme `(\[$a$b\] )`.
@@ -174,7 +174,7 @@ Le `format` par défaut est utilisé pour définir le format de l'invite, si il
```toml
format = "$all"
-# Est équivalent à
+# Which is equivalent to
format = """
$username\
$hostname\
@@ -185,6 +185,7 @@ $vcsh\
$git_branch\
$git_commit\
$git_state\
+$git_metrics\
$git_status\
$hg_branch\
$docker_context\
@@ -391,7 +392,7 @@ Par défaut, seule la couleur change. Si vous désirez également changer sa for
::: warning
-Attention, `error_symbol` n'est pas supporté avec elvish.
+`error_symbol` is not supported on elvish and nu shell.
:::
@@ -745,7 +746,7 @@ truncation_symbol = "…/"
## Contexte Docker
-Le module `docker_context` affiche le [contexte Docker](https://docs.docker.com/engine/context/working-with-contexts/) actuellement actif s'il n'est pas réglé à `default`.
+The `docker_context` module shows the currently active [Docker context](https://docs.docker.com/engine/context/working-with-contexts/) if it's not set to `default` or if the `DOCKER_HOST` or `DOCKER_CONTEXT` environment variables are set (as they are meant to override the context in use).
### Options
@@ -804,7 +805,7 @@ The module will also show the Target Framework Moniker (<https://docs.microsoft.
| Option | Défaut | Description |
| ------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
-| `format` | `"[$symbol($version )(🎯 $tfm )]($style)"` | Format du module. |
+| `format` | `"via [$symbol($version )(🎯 $tfm )]($style)"` | Format du module. |
| `version_format` | `"v${raw}"` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
| `symbol` | `".NET "` | Le symbole utilisé avant d'afficher la version de dotnet. |
| `heuristic` | `true` | Utilisez la détection de versions plus rapide pour garder starship instantané. |
@@ -1169,6 +1170,46 @@ format = '[\($state( $progress_current of $progress_total)\)]($style) '
cherry_pick = "[🍒 PICKING](bold red)"
```
+## Git Metrics
+
+The `git_metrics` module will show the number of added and deleted lines in the current git repository.
+
+::: tip
+
+Ce module est désactivé par défaut. Pour l'activer, configurez `disabled` sur `false` dans votre fichier de configuration.
+
+:::
+
+### Options
+
+| Option | Défaut | Description |
+| --------------- | -------------------------------------------------------- | ---------------------------------- |
+| `added_style` | `"bold green"` | The style for the added count. |
+| `deleted_style` | `"bold green"` | The style for the deleted count. |
+| `format` | `'[+$added]($added_style) [-$deleted]($deleted_style) '` | Format du module. |
+| `disabled` | `true` | Disables the `git_metrics` module. |
+
+### Variables
+
+| Variable | Exemple | Description |
+| ----------------- | ------- | ------------------------------------------- |
+| added | `1` | The current number of added lines |
+| deleted | `2` | The current number of deleted lines |
+| added_style\* | | Mirrors the value of option `added_style` |
+| deleted_style\* | | Mirrors the value of option `deleted_style` |
+
+\* : Cette variable ne peut être utilisée que comme partie d'une chaîne de style
+
+### Exemple
+
+```toml
+# ~/.config/starship.toml
+
+[git_metrics]
+added_style = "bold blue"
+format = '[+$added]($added_style)/[-$deleted]($deleted_style) '
+```
+
## Statut Git
Le module `git_status` affiche des symboles représentant l'état du dépôt dans votre répertoire courant.
@@ -1416,7 +1457,7 @@ Le module `jobs` affiche le nombre de tâches en cours d'exécution. Le module n
::: warning
-Ce module n'est pas pris en charge sur tcsh.
+This module is not supported on tcsh and nu.
:::
@@ -2188,7 +2229,7 @@ python_binary = ["./venv/bin/python", "python", "python3", "python2"]
## R
-Le module `rlang` vous montre votre version de R actuellement installée. Le module sera affiché si l'une des conditions suivantes est remplie :
+The `rlang` module shows the currently installed version of R. The module will be shown if any of the following conditions are met:
- Le répertoire actuel contient un fichier avec l'extension `.R`.
- Le répertoire actuel contient un fichier avec l'extension `.Rd`.
@@ -2506,7 +2547,7 @@ Ce module est désactivé par défaut. Pour l'activer, configurez `disabled` sur
:::
-::: warning Ce module n'est pas supporté avec elvish. :::
+::: warning This module is not supported on elvish and nu shell. :::
### Options
@@ -2670,7 +2711,7 @@ Ce module est désactivé par défaut. Pour l'activer, configurez `disabled` sur
| `time_format` | voir plus bas | Le [format chrono](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) utilisé pour formater l'heure. |
| `style` | `"bold yellow"` | Le style utilisé par le module |
| `utc_time_offset` | `"local"` | Définir le décalage horaire UTC à utiliser. Range from -24 &lt; x &lt; 24. Accepte des nombres décimaux pour s'adapter aux décalages de 30/45 minutes. |
-| `disabled` | `true` | Désactive le module `time`. |
+| `disabled` | `true` | Désactiver le module `time`. |
| `time_range` | `"-"` | Sets the time range during which the module will be shown. Times must be specified in 24-hours format |
If `use_12hr` is `true`, then `time_format` defaults to `"%r"`. Sinon, il est défini comme `"%T"`. Manually setting `time_format` will override the `use_12hr` setting.
@@ -2720,7 +2761,7 @@ SSH connection is detected by checking environment variables `SSH_CONNECTION`, `
| `style_user` | `"bold yellow"` | Le style utilisé pour les utilisateurs non-root. |
| `format` | `"[$user]($style) in "` | Format du module. |
| `show_always` | `false` | Toujours afficher le module `username`. |
-| `disabled` | `false` | Désactive le module `username`. |
+| `disabled` | `false` | Désactiver le module `username`. |
### Variables
diff --git a/docs/fr-FR/guide/README.md b/docs/fr-FR/guide/README.md
index e8f957fa8..6c59b174e 100644
--- a/docs/fr-FR/guide/README.md
+++ b/docs/fr-FR/guide/README.md
@@ -263,6 +263,20 @@
eval `starship init tcsh`
```
+
+ #### Nushell
+
+ **Warning** This will change in the future. Only nu version v0.33 or higher is supported. Add the following to your nu config file. You can check the location of this file by running `config path` in nu.
+
+ ```toml
+ startup = [
+ "mkdir ~/.cache/starship",
+ "starship init nu | save ~/.cache/starship/init.nu",
+ "source ~/.cache/starship/init.nu"
+ ]
+ prompt = "starship_prompt"
+ ```
+
## 🤝 Contribuer
Nous sommes toujours à la recherche de contributeurs de **tous niveaux de compétence**! Si vous cherchez à faciliter votre entrée dans le projet, essayez un [good first issue](https://github.com/starship/starship/labels/🌱%20good%20first%20issue).