mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
docs(i18n): Update translations (#683)
This commit is contained in:
@@ -89,8 +89,10 @@ prompt_order = [
|
||||
"kubernetes",
|
||||
"directory",
|
||||
"git_branch",
|
||||
"git_commit",
|
||||
"git_state",
|
||||
"git_status",
|
||||
"hg_branch",
|
||||
"package",
|
||||
"dotnet",
|
||||
"golang",
|
||||
@@ -121,7 +123,7 @@ Das `aws`-Modul zeigt das aktuelle AWS-Profil an. Dies basiert auf den Umgebungs
|
||||
|
||||
| Variable | Standardwert | Beschreibung |
|
||||
| ----------------- | --------------- | --------------------------------------------------------------------------- |
|
||||
| `symbol` | `"☁️ "` | Symbol das vor dem aktuellen AWS-Profil angezeigt wird. |
|
||||
| `symbol` | `"☁️ "` | Symbol das vor dem aktuellen AWS-Profil angezeigt wird. |
|
||||
| `style` | `"bold yellow"` | Stil für dieses Modul. |
|
||||
| `disabled` | `false` | Deaktiviert das `aws`-Modul. |
|
||||
| `displayed_items` | `all` | Choose which item to display. Possible values: [`all`, `profile`, `region`] |
|
||||
@@ -339,8 +341,8 @@ Internally, this module uses its own mechanism for version detection. Typically
|
||||
| Variable | Standardwert | Beschreibung |
|
||||
| ----------- | ------------- | ------------------------------------------------------------------ |
|
||||
| `symbol` | `"•NET "` | Symbol das vor der dotnet-Version angezeigt wird. |
|
||||
| `style` | `"bold blue"` | Stil für dieses Modul. |
|
||||
| `heuristic` | `true` | Schnelle Versionserkennung nutzen um Starship bedienbar zu halten. |
|
||||
| `style` | `"bold blue"` | Stil für dieses Modul. |
|
||||
| `disabled` | `false` | Deaktiviert das `dotnet`-Modul. |
|
||||
|
||||
### Beispiel
|
||||
@@ -408,6 +410,36 @@ truncation_length = 4
|
||||
truncation_symbol = ""
|
||||
```
|
||||
|
||||
## Git Commit
|
||||
|
||||
The `git_commit` module shows the active branch of the repo in your current directory.
|
||||
|
||||
::: tip
|
||||
|
||||
Dieses Modul ist standardmäßig deaktiviert. Setze in deiner Konfiguration `disabled` auf `false` um es zu aktivieren.
|
||||
|
||||
:::
|
||||
|
||||
### Optionen
|
||||
|
||||
| Variable | Standardwert | Beschreibung |
|
||||
| -------------------- | -------------- | ------------------------------------------------ |
|
||||
| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
|
||||
| `prefix` | `(` | Prefix to display immediately before git commit. |
|
||||
| `suffix` | `)` | Suffix to display immediately after git commit. |
|
||||
| `style` | `"bold green"` | Stil für dieses Modul. |
|
||||
| `disabled` | `true` | Disables the `git_commit` module. |
|
||||
|
||||
### Beispiel
|
||||
|
||||
```toml
|
||||
# ~/.config/starship.toml
|
||||
|
||||
[git_commit]
|
||||
disabled = false
|
||||
commit_hash_length = 4
|
||||
```
|
||||
|
||||
## Git-Zustand
|
||||
|
||||
The `git_state` module will show in directories which are part of a git repository, and where there is an operation in progress, such as: _REBASING_, _BISECTING_, etc. If there is progress information (e.g., REBASING 3/10), that information will be shown too.
|
||||
@@ -474,7 +506,6 @@ The `git_status` module shows symbols representing the state of the repo in your
|
||||
| `enabled` | `false` | Show the number of files |
|
||||
| `style` | | Optionally style the count differently than the module |
|
||||
|
||||
|
||||
### Beispiel
|
||||
|
||||
```toml
|
||||
@@ -525,6 +556,31 @@ Das `golang`-Modul zeigt die aktuell installierte Version von Golang. Das Modul
|
||||
symbol = "🏎💨 "
|
||||
```
|
||||
|
||||
## Mercurial Branch
|
||||
|
||||
The `hg_branch` module shows the active branch of the repo in your current directory.
|
||||
|
||||
### Optionen
|
||||
|
||||
| Variable | Standardwert | Beschreibung |
|
||||
| ------------------- | --------------- | -------------------------------------------------------------------------------------------- |
|
||||
| `symbol` | `" "` | The symbol used before the hg bookmark or branch name of the repo in your current directory. |
|
||||
| `truncation_length` | `2^63 - 1` | Truncates the hg branch name to X graphemes |
|
||||
| `truncation_symbol` | `"…"` | The symbol used to indicate a branch name was truncated. |
|
||||
| `style` | `"bold purple"` | Stil für dieses Modul. |
|
||||
| `disabled` | `true` | Disables the `hg_branch` module. |
|
||||
|
||||
### Beispiel
|
||||
|
||||
```toml
|
||||
# ~/.config/starship.toml
|
||||
|
||||
[hg_branch]
|
||||
symbol = "🌱 "
|
||||
truncation_length = 4
|
||||
truncation_symbol = ""
|
||||
```
|
||||
|
||||
## Hostname
|
||||
|
||||
Das `hostname`-Modul zeigt den Hostnamen des Systems an.
|
||||
@@ -671,8 +727,8 @@ Dieses Modul ist standardmäßig deaktiviert. Setze in deiner Konfiguration `dis
|
||||
| `threshold` | `75` | Hide the memory usage unless it exceeds this percentage. |
|
||||
| `symbol` | `"🐏 "` | Symbol das vor der Speicherauslastung angezeigt wird. |
|
||||
| `separator` | `" | "` | The symbol or text that will seperate the ram and swap usage. |
|
||||
| `style` | `"bold dimmed white"` | The style for the module. |
|
||||
| `disabled` | `true` | Disables the `memory_usage` module. |
|
||||
| `style` | `"bold dimmed white"` | Stil für dieses Modul. |
|
||||
| `disabled` | `true` | Deaktiviert das `memory_usage`-Modul. |
|
||||
|
||||
### Beispiel
|
||||
|
||||
@@ -764,6 +820,30 @@ The `package` module is shown when the current directory is the repository for a
|
||||
symbol = "🎁 "
|
||||
```
|
||||
|
||||
## PHP
|
||||
|
||||
The `php` module shows the currently installed version of PHP. Das Modul wird nur dann angezeigt, wenn eine der folgenden Bedingungen zutrifft:
|
||||
|
||||
- Das aktuelle Verzeichnis enthält eine `composer.json`-Datei
|
||||
- The current directory contains a `.php` file
|
||||
|
||||
### Optionen
|
||||
|
||||
| Variable | Standardwert | Beschreibung |
|
||||
| ---------- | ------------ | ----------------------------------------------------- |
|
||||
| `symbol` | `"🐘 "` | The symbol used before displaying the version of PHP. |
|
||||
| `style` | `"bold red"` | Stil für dieses Modul. |
|
||||
| `disabled` | `false` | Disables the `php` module. |
|
||||
|
||||
### Beispiel
|
||||
|
||||
```toml
|
||||
# ~/.config/starship.toml
|
||||
|
||||
[php]
|
||||
symbol = "🔹 "
|
||||
```
|
||||
|
||||
## Python
|
||||
|
||||
The `python` module shows the currently installed version of Python.
|
||||
|
||||
Reference in New Issue
Block a user