summaryrefslogtreecommitdiffstats
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
parent9f337d15e7efb6010066088d7f0a611a6ecb5d79 (diff)
docs(i18n): New Crowdin updates (#2834)
-rw-r--r--docs/ar-SA/README.md13
-rw-r--r--docs/ar-SA/config/README.md53
-rw-r--r--docs/ar-SA/guide/README.md14
-rw-r--r--docs/ckb-IR/README.md13
-rw-r--r--docs/ckb-IR/config/README.md53
-rw-r--r--docs/ckb-IR/guide/README.md14
-rw-r--r--docs/de-DE/README.md13
-rw-r--r--docs/de-DE/config/README.md53
-rw-r--r--docs/de-DE/guide/README.md14
-rw-r--r--docs/de-DE/installing/README.md2
-rw-r--r--docs/es-ES/README.md13
-rw-r--r--docs/es-ES/config/README.md105
-rw-r--r--docs/es-ES/guide/README.md14
-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
-rw-r--r--docs/it-IT/README.md13
-rw-r--r--docs/it-IT/config/README.md53
-rw-r--r--docs/it-IT/guide/README.md14
-rw-r--r--docs/ja-JP/README.md19
-rw-r--r--docs/ja-JP/config/README.md706
-rw-r--r--docs/ja-JP/guide/README.md18
-rw-r--r--docs/ja-JP/installing/README.md8
-rw-r--r--docs/ja-JP/migrating-to-0.45.0/README.md2
-rw-r--r--docs/ja-JP/presets/README.md22
-rw-r--r--docs/ko-KR/README.md13
-rw-r--r--docs/ko-KR/config/README.md53
-rw-r--r--docs/ko-KR/guide/README.md14
-rw-r--r--docs/nl-NL/README.md13
-rw-r--r--docs/nl-NL/config/README.md53
-rw-r--r--docs/nl-NL/guide/README.md14
-rw-r--r--docs/pl-PL/README.md13
-rw-r--r--docs/pl-PL/config/README.md53
-rw-r--r--docs/pl-PL/guide/README.md14
-rw-r--r--docs/pt-BR/README.md13
-rw-r--r--docs/pt-BR/config/README.md55
-rw-r--r--docs/pt-BR/guide/README.md14
-rw-r--r--docs/pt-PT/README.md13
-rw-r--r--docs/pt-PT/config/README.md53
-rw-r--r--docs/pt-PT/guide/README.md14
-rw-r--r--docs/ru-RU/README.md13
-rw-r--r--docs/ru-RU/config/README.md67
-rw-r--r--docs/ru-RU/guide/README.md14
-rw-r--r--docs/tr-TR/README.md13
-rw-r--r--docs/tr-TR/config/README.md53
-rw-r--r--docs/tr-TR/guide/README.md14
-rw-r--r--docs/vi-VN/README.md13
-rw-r--r--docs/vi-VN/advanced-config/README.md28
-rw-r--r--docs/vi-VN/config/README.md53
-rw-r--r--docs/vi-VN/guide/README.md14
-rw-r--r--docs/zh-CN/README.md13
-rw-r--r--docs/zh-CN/config/README.md53
-rw-r--r--docs/zh-CN/guide/README.md14
-rw-r--r--docs/zh-TW/README.md13
-rw-r--r--docs/zh-TW/config/README.md53
-rw-r--r--docs/zh-TW/guide/README.md14
56 files changed, 1658 insertions, 503 deletions
diff --git a/docs/ar-SA/README.md b/docs/ar-SA/README.md
index 01b74b575..6479d20de 100644
--- a/docs/ar-SA/README.md
+++ b/docs/ar-SA/README.md
@@ -138,3 +138,16 @@ description: Starship is the minimal, blazing fast, and extremely customizable p
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/ar-SA/config/README.md b/docs/ar-SA/config/README.md
index 5ad7d5d51..c4f2ec4ca 100644
--- a/docs/ar-SA/config/README.md
+++ b/docs/ar-SA/config/README.md
@@ -102,7 +102,7 @@ A conditional format string wrapped in `(` and `)` will not render if all variab
For example:
-- `(@$region)` will show nothing if the variable `region` is `None`, otherwise `@` followed by the value of region.
+- `(@$region)` will show nothing if the variable `region` is `None` or empty string, otherwise `@` followed by the value of region.
- `(some text)` will always show nothing since there are no variables wrapped in the braces.
- When `$all` is a shortcut for `\[$a$b\]`, `($all)` will show nothing only if `$a` and `$b` are both `None`. This works the same as `(\[$a$b\] )`.
@@ -185,6 +185,7 @@ $vcsh\
$git_branch\
$git_commit\
$git_state\
+$git_metrics\
$git_status\
$hg_branch\
$docker_context\
@@ -391,7 +392,7 @@ By default it only changes color. If you also want to change its shape take a lo
::: warning
-`error_symbol` is not supported on elvish shell.
+`error_symbol` is not supported on elvish and nu shell.
:::
@@ -745,7 +746,7 @@ truncation_symbol = "…/"
## Docker Context
-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`.
+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 | Default | Description |
| ------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
-| `format` | `"[$symbol($version )(🎯 $tfm )]($style)"` | The format for the module. |
+| `format` | `"via [$symbol($version )(🎯 $tfm )]($style)"` | The format for the module. |
| `version_format` | `"v${raw}"` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
| `symbol` | `".NET "` | The symbol used before displaying the version of dotnet. |
| `heuristic` | `true` | Use faster version detection to keep starship snappy. |
@@ -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
+
+This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file.
+
+:::
+
+### Options
+
+| Option | Default | Description |
+| --------------- | -------------------------------------------------------- | ---------------------------------- |
+| `added_style` | `"bold green"` | The style for the added count. |
+| `deleted_style` | `"bold red"` | The style for the deleted count. |
+| `format` | `'[+$added]($added_style) [-$deleted]($deleted_style) '` | The format for the module. |
+| `disabled` | `true` | Disables the `git_metrics` module. |
+
+### Variables
+
+| Variable | Example | 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` |
+
+\*: This variable can only be used as a part of a style string
+
+### Example
+
+```toml
+# ~/.config/starship.toml
+
+[git_metrics]
+added_style = "bold blue"
+format = '[+$added]($added_style)/[-$deleted]($deleted_style) '
+```
+
## Git Status
The `git_status` module shows symbols representing the state of the repo in your current directory.
@@ -1416,7 +1457,7 @@ The `jobs` module shows the current number of jobs running. The module will be s
::: warning
-This module is not supported on tcsh.
+This module is not supported on tcsh and nu.
:::
@@ -2505,7 +2546,7 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y
:::
-::: warning This module is not supported on elvish shell. :::
+::: warning This module is not supported on elvish and nu shell. :::
### Options
diff --git a/docs/ar-SA/guide/README.md b/docs/ar-SA/guide/README.md
index 985c61a40..a89e9e59c 100644
--- a/docs/ar-SA/guide/README.md
+++ b/docs/ar-SA/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"
+ ```
+
## 🤝 Contributing
We are always looking for contributors of **all skill levels**! If you're looking to ease your way into the project, try out a [good first issue](https://github.com/starship/starship/labels/🌱%20good%20first%20issue).
diff --git a/docs/ckb-IR/README.md b/docs/ckb-IR/README.md
index 43d5d3d20..901e53fe1 100644
--- a/docs/ckb-IR/README.md
+++ b/docs/ckb-IR/README.md
@@ -138,3 +138,16 @@ description: 'Starship: یەکێ لە promptـە سوکەڵە، خێرا، و ب
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/ckb-IR/config/README.md b/docs/ckb-IR/config/README.md
index 5ad7d5d51..c4f2ec4ca 100644
--- a/docs/ckb-IR/config/README.md
+++ b/docs/ckb-IR/config/README.md
@@ -102,7 +102,7 @@ A conditional format string wrapped in `(` and `)` will not render if all variab
For example:
-- `(@$region)` will show nothing if the variable `region` is `None`, otherwise `@` followed by the value of region.
+- `(@$region)` will show nothing if the variable `region` is `None` or empty string, otherwise `@` followed by the value of region.
- `(some text)` will always show nothing since there are no variables wrapped in the braces.
- When `$all` is a shortcut for `\[$a$b\]`, `($all)` will show nothing only if `$a` and `$b` are both `None`. This works the same as `(\[$a$b\] )`.
@@ -185,6 +185,7 @@ $vcsh\
$git_branch\
$git_commit\
$git_state\
+$git_metrics\
$git_status\
$hg_branch\
$docker_context\
@@ -391,7 +392,7 @@ By default it only changes color. If you also want to change its shape take a lo
::: warning
-`error_symbol` is not supported on elvish shell.
+`error_symbol` is not supported on elvish and nu shell.
:::
@@ -745,7 +746,7 @@ truncation_symbol = "…/"
## Docker Context
-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`.
+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 | Default | Description |
| ------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
-| `format` | `"[$symbol($version )(🎯 $tfm )]($style)"` | The format for the module. |
+| `format` | `"via [$symbol($version )(🎯 $tfm )]($style)"` | The format for the module. |
| `version_format` | `"v${raw}"` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
| `symbol` | `".NET "` | The symbol used before displaying the version of dotnet. |
| `heuristic` | `true` | Use faster version detection to keep starship snappy. |
@@ -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
+
+This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file.
+
+:::
+
+### Options
+
+| Option | Default | Description |
+| --------------- | -------------------------------------------------------- | ---------------------------------- |
+| `added_style` | `"bold green"` | The style for the added count. |
+| `deleted_style` | `"bold red"` | The style for the deleted count. |
+| `format` | `'[+$added]($added_style) [-$deleted]($deleted_style) '` | The format for the module. |
+| `disabled` | `true` | Disables the `git_metrics` module. |
+
+### Variables
+
+| Variable | Example | 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` |
+
+\*: This variable can only be used as a part of a style string
+
+### Example
+
+```toml
+# ~/.config/starship.toml
+
+[git_metrics]
+added_style = "bold blue"
+format = '[+$added]($added_style)/[-$deleted]($deleted_style) '
+```
+
## Git Status
The `git_status` module shows symbols representing the state of the repo in your current directory.
@@ -1416,7 +1457,7 @@ The `jobs` module shows the current number of jobs running. The module will be s
::: warning
-This module is not supported on tcsh.
+This module is not supported on tcsh and nu.
:::
@@ -2505,7 +2546,7 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y
:::
-::: warning This module is not supported on elvish shell. :::
+::: warning This module is not supported on elvish and nu shell. :::
### Options
diff --git a/docs/ckb-IR/guide/README.md b/docs/ckb-IR/guide/README.md
index 9446d6894..a7033c5fb 100644
--- a/docs/ckb-IR/guide/README.md
+++ b/docs/ckb-IR/guide/README.md
@@ -259,6 +259,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"
+ ```
+
## 🤝 بەژداریکردن
ئێمە هەموو کات ئەگەڕێین بۆ بەژداریکەرێک لە هەر **ئاست و توانایەکدا بێت**! ئەگەر بەدوای ئەوەوەی کە بێیتە ئەم پڕۆژەیەوە [good first issue](https://github.com/starship/starship/labels/🌱%20good%20first%20issue) تاقیبکەرەوە.
diff --git a/docs/de-DE/README.md b/docs/de-DE/README.md
index e3df36309..20b5725fe 100644
--- a/docs/de-DE/README.md
+++ b/docs/de-DE/README.md
@@ -138,3 +138,16 @@ description: Starship ist eine minimale, super schnelle, und extrem anpassbare P
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/de-DE/config/README.md b/docs/de-DE/config/README.md
index b7539cbab..62c8838d9 100644
--- a/docs/de-DE/config/README.md
+++ b/docs/de-DE/config/README.md
@@ -102,7 +102,7 @@ A conditional format string wrapped in `(` and `)` will not render if all variab
For example:
-- `(@$region)` will show nothing if the variable `region` is `None`, otherwise `@` followed by the value of region.
+- `(@$region)` will show nothing if the variable `region` is `None` or empty string, otherwise `@` followed by the value of region.
- `(some text)` will always show nothing since there are no variables wrapped in the braces.
- When `$all` is a shortcut for `\[$a$b\]`, `($all)` will show nothing only if `$a` and `$b` are both `None`. This works the same as `(\[$a$b\] )`.
@@ -185,6 +185,7 @@ $vcsh\
$git_branch\
$git_commit\
$git_state\
+$git_metrics\
$git_status\
$hg_branch\
$docker_context\
@@ -391,7 +392,7 @@ By default it only changes color. If you also want to change its shape take a lo
::: Warnung
-`error_symbol` is not supported on elvish shell.
+`error_symbol` is not supported on elvish and nu shell.
:::
@@ -745,7 +746,7 @@ truncation_symbol = "…/"
## Docker Context
-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`.
+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).
### Optionen
@@ -804,7 +805,7 @@ The module will also show the Target Framework Moniker (<https://docs.microsoft.
| Option | Standardwert | Beschreibung |
| ------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
-| `format` | `"[$symbol($version )(🎯 $tfm )]($style)"` | The format for the module. |
+| `format` | `"via [$symbol($version )(🎯 $tfm )]($style)"` | The format for the module. |
| `version_format` | `"v${raw}"` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
| `symbol` | `".NET "` | Symbol das vor der dotnet-Version angezeigt wird. |
| `heuristic` | `true` | Schnelle Versionserkennung nutzen um Starship bedienbar zu halten. |
@@ -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.
+
+::: Tipp
+
+Dieses Modul ist standardmäßig deaktiviert. Setze in deiner Konfiguration `disabled` auf `false` um es zu aktivieren.
+
+:::
+
+### Optionen
+
+| Option | Standardwert | Beschreibung |
+| --------------- | -------------------------------------------------------- | ---------------------------------- |
+| `added_style` | `"bold green"` | The style for the added count. |
+| `deleted_style` | `"bold red"` | The style for the deleted count. |
+| `format` | `'[+$added]($added_style) [-$deleted]($deleted_style) '` | The format for the module. |
+| `disabled` | `true` | Disables the `git_metrics` module. |
+
+### Variables
+
+| Variable | Beispiel | Beschreibung |
+| ----------------- | -------- | ------------------------------------------- |
+| 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` |
+
+\*: This variable can only be used as a part of a style string
+
+### Beispiel
+
+```toml
+# ~/.config/starship.toml
+
+[git_metrics]
+added_style = "bold blue"
+format = '[+$added]($added_style)/[-$deleted]($deleted_style) '
+```
+
## Git-Status
The `git_status` module shows symbols representing the state of the repo in your current directory.
@@ -1416,7 +1457,7 @@ The `jobs` module shows the current number of jobs running. The module will be s
::: Warnung
-This module is not supported on tcsh.
+This module is not supported on tcsh and nu.
:::
@@ -2505,7 +2546,7 @@ Dieses Modul ist standardmäßig deaktiviert. Setze in deiner Konfiguration `dis
:::
-::: warning This module is not supported on elvish shell. :::
+::: warning This module is not supported on elvish and nu shell. :::
### Optionen
diff --git a/docs/de-DE/guide/README.md b/docs/de-DE/guide/README.md
index 7188fb138..a1feb4ecc 100644
--- a/docs/de-DE/guide/README.md
+++ b/docs/de-DE/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"
+ ```
+
## 🤝 Mitwirken
Wir laden Leute **aller Erfahrungsstufen** herzlich ein mitzumachen! Falls du dich mit dem Projekt vertaut machen willst, versuche ein [good first issue](https://github.com/starship/starship/labels/🌱%20good%20first%20issue).
diff --git a/docs/de-DE/installing/README.md b/docs/de-DE/installing/README.md
index bf3cb3b13..43ea17751 100644
--- a/docs/de-DE/installing/README.md
+++ b/docs/de-DE/installing/README.md
@@ -2,7 +2,7 @@
Um starship zu installieren, musst du zwei Dinge tun:
-1. Get the **starship** binary onto your computer
+1. Holen Sie sich das **starship** Binary auf Ihren Computer
1. Tell your shell to use the starship binary as its prompt by modifying its init scripts
For most users, the instructions on [the main page](/guide/#🚀-installation) will work great. However, for some more specialized platforms, different instructions are needed.
diff --git a/docs/es-ES/README.md b/docs/es-ES/README.md
index 7641df034..7d4616aa8 100644
--- a/docs/es-ES/README.md
+++ b/docs/es-ES/README.md
@@ -138,3 +138,16 @@ description: '¡Starship es el prompt minimalista, ultrarápido e infinitamente
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/es-ES/config/README.md b/docs/es-ES/config/README.md
index 27326276d..eb5d3fbef 100644
---