mirror of
https://github.com/starship/starship.git
synced 2024-11-22 16:23:17 +01:00
docs(i18n): new Crowdin updates (#4284)
* New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Spanish) * New translations README.md (Portuguese) * New translations README.md (Indonesian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Vietnamese) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Simplified) * New translations README.md (Turkish) * New translations README.md (Russian) * New translations README.md (Polish) * New translations README.md (French) * New translations README.md (Dutch) * New translations README.md (Korean) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Italian) * New translations README.md (German) * New translations README.md (Arabic) * New translations README.md (Sorani (Kurdish)) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Japanese) * New translations README.md (French) * New translations README.md (Russian) * New translations README.md (Chinese Simplified) * New translations README.md (Vietnamese) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Chinese Simplified) * New translations README.md (Chinese Simplified)
This commit is contained in:
parent
cfe781de08
commit
112d723877
@ -1481,12 +1481,13 @@ The `git_commit` module shows the current commit hash and also the tag (if any)
|
||||
### Options
|
||||
|
||||
| Option | الافتراضي | الوصف |
|
||||
| -------------------- | ---------------------------------- | ------------------------------------------------------- |
|
||||
| -------------------- | ---------------------------------- | ------------------------------------------------------------------------------------ |
|
||||
| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
|
||||
| `format` | `"[\\($hash$tag\\)]($style) "` | The format for the module. |
|
||||
| `style` | `"bold green"` | The style for the module. |
|
||||
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
||||
| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |
|
||||
| `tag_max_candidates` | `0` | How many commits to consider for tag display. The default only allows exact matches. |
|
||||
| `tag_symbol` | `" 🏷 "` | Tag symbol prefixing the info shown |
|
||||
| `disabled` | `false` | Disables the `git_commit` module. |
|
||||
|
||||
|
@ -1481,12 +1481,13 @@ The `git_commit` module shows the current commit hash and also the tag (if any)
|
||||
### Options
|
||||
|
||||
| Option | Default | Description |
|
||||
| -------------------- | ---------------------------------- | ------------------------------------------------------- |
|
||||
| -------------------- | ---------------------------------- | ------------------------------------------------------------------------------------ |
|
||||
| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
|
||||
| `format` | `"[\\($hash$tag\\)]($style) "` | The format for the module. |
|
||||
| `style` | `"bold green"` | The style for the module. |
|
||||
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
||||
| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |
|
||||
| `tag_max_candidates` | `0` | How many commits to consider for tag display. The default only allows exact matches. |
|
||||
| `tag_symbol` | `" 🏷 "` | Tag symbol prefixing the info shown |
|
||||
| `disabled` | `false` | Disables the `git_commit` module. |
|
||||
|
||||
|
@ -1481,12 +1481,13 @@ The `git_commit` module shows the current commit hash and also the tag (if any)
|
||||
### Optionen
|
||||
|
||||
| Option | Standardwert | Beschreibung |
|
||||
| -------------------- | ---------------------------------- | ------------------------------------------------------- |
|
||||
| -------------------- | ---------------------------------- | ------------------------------------------------------------------------------------ |
|
||||
| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
|
||||
| `format` | `"[\\($hash$tag\\)]($style) "` | Das Format für das Modul. |
|
||||
| `style` | `"bold green"` | Stil für dieses Modul. |
|
||||
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
||||
| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |
|
||||
| `tag_max_candidates` | `0` | How many commits to consider for tag display. The default only allows exact matches. |
|
||||
| `tag_symbol` | `" 🏷 "` | Tag symbol prefixing the info shown |
|
||||
| `disabled` | `false` | Disables the `git_commit` module. |
|
||||
|
||||
|
@ -146,11 +146,11 @@ format = '''
|
||||
|
||||
### Coincidencia negativa
|
||||
|
||||
Many modules have `detect_extensions`, `detect_files`, and `detect_folders` variables. These take lists of strings to match or not match. "Negative" options, those which should not be matched, are indicated with a leading "!" character. The presence of _any_ negative indicator in the directory will result in the module not being matched.
|
||||
Varios módulos tienen variables `detect_extensions`, `detect_files`y `detect_folders`. Estas toman listas de cadenas de texto para que coincidan o no coincidan. Las opciones "negativas", aquellas que no deben coincidir, están indicadas con un carácter "!" al inicio. La presencia de _cualquier_ indicador negativo en el directorio hará que el módulo no coincida.
|
||||
|
||||
Extensions are matched against both the characters after the last dot in a filename, and the characters after the first dot in a filename. For example, `foo.bar.tar.gz` will be matched against `bar.tar.gz` and `gz` in the `detect_extensions` variable. Files whose name begins with a dot are not considered to have extensions at all.
|
||||
Las extensiones coinciden tanto con los caracteres después del último punto en un nombre de archivo, como con los caracteres después del primer punto en un nombre de archivo. Por ejemplo, `foo.bar.tar.gz` será emparejado contra `bar.tar.gz` y `gz` en la variable `detect_extensions`. Los archivos cuyo nombre comienza con un punto no se consideran extensiones en absoluto.
|
||||
|
||||
To see how this works in practice, you could match TypeScript but not MPEG Transport Stream files thus:
|
||||
Para ver cómo funciona esto en la práctica, puede hacer coincidir con archivos TypeScript, pero no con archivos MPEG Transport Stream, así:
|
||||
|
||||
```toml
|
||||
detect_extensions = ["ts", "!video.ts", "!audio.ts"]
|
||||
@ -195,7 +195,7 @@ El `format` predeterminado se utiliza para definir el formato del prompt, si est
|
||||
```toml
|
||||
format = "$all"
|
||||
|
||||
# Which is equivalent to
|
||||
# Lo cual es equivalente a:
|
||||
format = """
|
||||
$username\
|
||||
$hostname\
|
||||
@ -282,7 +282,7 @@ format="$all$directory$character"
|
||||
|
||||
## AWS
|
||||
|
||||
The `aws` module shows the current AWS region and profile and an expiration timer when using temporary credentials. The output of the module uses the `AWS_REGION`, `AWS_DEFAULT_REGION`, and `AWS_PROFILE` env vars and the `~/.aws/config` and `~/.aws/credentials` files as required.
|
||||
El módulo `aws` muestra la región y el perfil actual de AWS y un temporizador de vencimiento cuando se utilizan credenciales temporales. La salida del módulo utiliza las variables de entorno `AWS_REGION`, `AWS_DEFAULT_REGION` y `AWS_PROFILE`, y los archivos `~/. ws/config` y `~/.aws/credenciales` según sea necesario.
|
||||
|
||||
The module will display a profile only if its credentials are present in `~/.aws/credentials` or if a `credential_process` or `sso_start_url` are defined in `~/.aws/config`. Alternatively, having any of the `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, or `AWS_SESSION_TOKEN` env vars defined will also suffice. If the option `force_display` is set to `true`, all available information will be displayed even if no credentials per the conditions above are detected.
|
||||
|
||||
@ -1481,14 +1481,15 @@ El módulo `git_commit` muestra el hash de la confirmación actual y también la
|
||||
### Opciones
|
||||
|
||||
| Opción | Predeterminado | Descripción |
|
||||
| -------------------- | ---------------------------------- | -------------------------------------------------------------------------------------- |
|
||||
| -------------------- | ---------------------------------- | ------------------------------------------------------------------------------------------------------ |
|
||||
| `commit_hash_length` | `7` | La longitud del hash del commit de git mostrado. |
|
||||
| `format` | `"[\\($hash$tag\\)]($style) "` | El formato del módulo. |
|
||||
| `style` | `"bold green"` | El estilo del módulo. |
|
||||
| `only_detached` | `true` | Mostrar solo el hash de la confirmación de git cuando esté en estado "detached `HEAD`" |
|
||||
| `tag_disabled` | `true` | Deshabilita mostrar información de etiquetas en el módulo `git_commit`. |
|
||||
| `tag_max_candidates` | `0` | How many commits to consider for tag display. El valor por defecto sólo permite coincidencias exactas. |
|
||||
| `tag_symbol` | `" 🏷 "` | Símbolo de etiqueta prefijando la información mostrada |
|
||||
| `disabled` | `false` | Desactiva el módulo `git_commit`. |
|
||||
| `disabled` | `false` | Deshabilita el módulo `git_commit`. |
|
||||
|
||||
### Variables
|
||||
|
||||
|
@ -1481,12 +1481,13 @@ Le module `git_commit` affiche le hash du commit actuel ainsi que le tag (le cas
|
||||
### Options
|
||||
|
||||
| Option | Défaut | Description |
|
||||
| -------------------- | ---------------------------------- | -------------------------------------------------------------------------- |
|
||||
| -------------------- | ---------------------------------- | ------------------------------------------------------------------------------------ |
|
||||
| `commit_hash_length` | `7` | La longueur du hash affiché du commit git. |
|
||||
| `format` | `"[\\($hash$tag\\)]($style) "` | Format du module. |
|
||||
| `style` | `"bold green"` | Le style du module. |
|
||||
| `only_detached` | `true` | Ne montrer le hash du commit qu'en mode `HEAD` détachée. |
|
||||
| `tag_disabled` | `true` | Désactive l'affichage des informations du tag dans le module `git_commit`. |
|
||||
| `tag_max_candidates` | `0` | How many commits to consider for tag display. The default only allows exact matches. |
|
||||
| `tag_symbol` | `" 🏷 "` | Symbole préfixant les informations affichées concernant le tag |
|
||||
| `disabled` | `false` | Désactive le module `git_commit`. |
|
||||
|
||||
|
@ -1481,12 +1481,13 @@ The `git_commit` module shows the current commit hash and also the tag (if any)
|
||||
### Opsi
|
||||
|
||||
| Opsi | Bawaan | Deskripsi |
|
||||
| -------------------- | ---------------------------------- | ------------------------------------------------------- |
|
||||
| -------------------- | ---------------------------------- | ------------------------------------------------------------------------------------ |
|
||||
| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
|
||||
| `fromat` | `"[\\($hash$tag\\)]($style) "` | Format dari modul. |
|
||||
| `style` | `"bold green"` | Gaya penataan untuk modul. |
|
||||
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
||||
| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |
|
||||
| `tag_max_candidates` | `0` | How many commits to consider for tag display. The default only allows exact matches. |
|
||||
| `tag_symbol` | `" 🏷 "` | Tag symbol prefixing the info shown |
|
||||
| `disabled` | `false` | Disables the `git_commit` module. |
|
||||
|
||||
|
@ -1481,12 +1481,13 @@ The `git_commit` module shows the current commit hash and also the tag (if any)
|
||||
### Opzioni
|
||||
|
||||
| Opzione | Default | Descrizione |
|
||||
| -------------------- | ---------------------------------- | ------------------------------------------------------- |
|
||||
| -------------------- | ---------------------------------- | ------------------------------------------------------------------------------------ |
|
||||
| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
|
||||
| `format` | `"[\\($hash$tag\\)]($style) "` | The format for the module. |
|
||||
| `style` | `"bold green"` | Lo stile per il modulo. |
|
||||
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
||||
| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |
|
||||
| `tag_max_candidates` | `0` | How many commits to consider for tag display. The default only allows exact matches. |
|
||||
| `tag_symbol` | `" 🏷 "` | Tag symbol prefixing the info shown |
|
||||
| `disabled` | `false` | Disables the `git_commit` module. |
|
||||
|
||||
|
@ -148,7 +148,7 @@ description: Starship はミニマルで、非常に高速で、カスタマイ
|
||||
|
||||
#### Nushell
|
||||
|
||||
::: 警告
|
||||
::: warning
|
||||
|
||||
これは将来的に変更される可能性があります。 Nushell v0.61+ のみサポートされています。
|
||||
|
||||
|
@ -8,11 +8,11 @@ Starship は汎用性の高いシェルですが、時には特定の処理を
|
||||
|
||||
:::
|
||||
|
||||
## TransientPrompt in PowerShell
|
||||
## PowerShell の TransientPrompt
|
||||
|
||||
It is possible to replace the previous-printed prompt with a custom string. This is useful in cases where all the prompt information is not always needed. To enable this, run `Enable-TransientPrompt` in the shell session. To make it permanent, put this statement in your `$PROFILE`. Transience can be disabled on-the-fly with `Disable-TransientPrompt`.
|
||||
過去に出力されたプロンプトを置き換えることができます。 全ての情報が必要では無い時に役に立ちます。 有効にするには、 `Enable-TransientPrompt` をシェルで実行してください。 `$PROFILE` に追記することによって常時有効にすることが出来ます。 また、 `Disable-TransientPrompt` によっていつでも無効化することが出来ます。
|
||||
|
||||
By default, the left side of input gets replaced with `>`. To customize this, define a new function called `Invoke-Starship-TransientFunction`. For example, to display Starship's `character` module here, you would do
|
||||
デフォルトでは、入力の左側が `>` 出置き換えられます。 カスタマイズするには、関数を `Invoke-Starship-TransientFunction` という名前で定義してください。 Starshipの `character` モジュールを表示する場合はこのようにします:
|
||||
|
||||
```powershell
|
||||
function Invoke-Starship-TransientFunction {
|
||||
@ -26,7 +26,7 @@ Enable-TransientPrompt
|
||||
|
||||
## TransientPrompt and TransientRightPrompt in Cmd
|
||||
|
||||
Clink allows you to replace the previous-printed prompt with custom strings. This is useful in cases where all the prompt information is not always needed. To enable this, run `clink set prompt.transient <value>` where \<value\> can be one of:
|
||||
Clink allows you to replace the previous-printed prompt with custom strings. 全ての情報が必要では無い時に役に立ちます。 To enable this, run `clink set prompt.transient <value>` where \<value\> can be one of:
|
||||
|
||||
- `always`: always replace the previous prompt
|
||||
- `same_dir`: replace the previous prompt only if the working directory is same
|
||||
@ -34,7 +34,7 @@ Clink allows you to replace the previous-printed prompt with custom strings. Thi
|
||||
|
||||
You need to do this only once. Make the following changes to your `starship.lua` to customize what gets displayed on the left and on the right:
|
||||
|
||||
- By default, the left side of input gets replaced with `>`. To customize this, define a new function called `starship_transient_prompt_func`. This function receives the current prompt as a string that you can utilize. For example, to display Starship's `character` module here, you would do
|
||||
- デフォルトでは、入力の左側が `>` 出置き換えられます。 To customize this, define a new function called `starship_transient_prompt_func`. This function receives the current prompt as a string that you can utilize. Starshipの `character` モジュールを表示する場合はこのようにします:
|
||||
|
||||
```lua
|
||||
function starship_transient_prompt_func(prompt)
|
||||
|
@ -1479,12 +1479,13 @@ ignore_branches = ["master", "main"]
|
||||
### オプション
|
||||
|
||||
| オプション | デフォルト | 説明 |
|
||||
| -------------------- | ---------------------------------- | ----------------------------------------- |
|
||||
| -------------------- | ---------------------------------- | ------------------------------------------------------------------------------------ |
|
||||
| `commit_hash_length` | `7` | 表示されるgitコミットハッシュの長さです。 |
|
||||
| `format` | `"[\\($hash$tag\\)]($style) "` | module のフォーマットです。 |
|
||||
| `style` | `"bold green"` | モジュールのスタイルです。 |
|
||||
| `only_detached` | `true` | detached `HEAD` 状態のときのみ git コミットハッシュを表示する |
|
||||
| `tag_disabled` | `true` | `git_commit` モジュールのタグ情報の表示を無効にする。 |
|
||||
| `tag_max_candidates` | `0` | How many commits to consider for tag display. The default only allows exact matches. |
|
||||
| `tag_symbol` | `" 🏷 "` | 表示される情報の前に追加されるタグシンボル |
|
||||
| `disabled` | `false` | `git_commit` モジュールを無効にします。 |
|
||||
|
||||
|
@ -251,7 +251,7 @@ curl -sS https://starship.rs/install.sh | sh
|
||||
<details>
|
||||
<summary>Windows</summary>
|
||||
|
||||
Install the latest version for your system with the MSI-installers from the [releases section](https://github.com/starship/starship/releases/latest).
|
||||
[Releasesセクション](https://github.com/starship/starship/releases/latest) のMSIインストーラーでシステムに合った最新バージョンをインストールしてください。
|
||||
|
||||
以下のいずれかのパッケージマネージャーを使用して、Starshipをインストールします。
|
||||
|
||||
|
@ -1481,12 +1481,13 @@ The `git_commit` module shows the current commit hash and also the tag (if any)
|
||||
### Options
|
||||
|
||||
| Option | Default | Description |
|
||||
| -------------------- | ---------------------------------- | ------------------------------------------------------- |
|
||||
| -------------------- | ---------------------------------- | ------------------------------------------------------------------------------------ |
|
||||
| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
|
||||
| `format` | `"[\\($hash$tag\\)]($style) "` | The format for the module. |
|
||||
| `style` | `"bold green"` | The style for the module. |
|
||||
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
||||
| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |
|
||||
| `tag_max_candidates` | `0` | How many commits to consider for tag display. The default only allows exact matches. |
|
||||
| `tag_symbol` | `" 🏷 "` | Tag symbol prefixing the info shown |
|
||||
| `disabled` | `false` | Disables the `git_commit` module. |
|
||||
|
||||
|
@ -1481,12 +1481,13 @@ The `git_commit` module shows the current commit hash and also the tag (if any)
|
||||
### Options
|
||||
|
||||
| Option | Default | Description |
|
||||
| -------------------- | ---------------------------------- | ------------------------------------------------------- |
|
||||
| -------------------- | ---------------------------------- | ------------------------------------------------------------------------------------ |
|
||||
| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
|
||||
| `format` | `"[\\($hash$tag\\)]($style) "` | The format for the module. |
|
||||
| `style` | `"bold green"` | The style for the module. |
|
||||
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
||||
| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |
|
||||
| `tag_max_candidates` | `0` | How many commits to consider for tag display. The default only allows exact matches. |
|
||||
| `tag_symbol` | `" 🏷 "` | Tag symbol prefixing the info shown |
|
||||
| `disabled` | `false` | Disables the `git_commit` module. |
|
||||
|
||||
|
@ -1481,12 +1481,13 @@ The `git_commit` module shows the current commit hash and also the tag (if any)
|
||||
### Options
|
||||
|
||||
| Option | Default | Description |
|
||||
| -------------------- | ---------------------------------- | ------------------------------------------------------- |
|
||||
| -------------------- | ---------------------------------- | ------------------------------------------------------------------------------------ |
|
||||
| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
|
||||
| `format` | `"[\\($hash$tag\\)]($style) "` | The format for the module. |
|
||||
| `style` | `"bold green"` | The style for the module. |
|
||||
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
||||
| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |
|
||||
| `tag_max_candidates` | `0` | How many commits to consider for tag display. The default only allows exact matches. |
|
||||
| `tag_symbol` | `" 🏷 "` | Tag symbol prefixing the info shown |
|
||||
| `disabled` | `false` | Disables the `git_commit` module. |
|
||||
|
||||
|
@ -1479,12 +1479,13 @@ O módulo `git_commit` exibe o hash do comiit atual e também a tag (se existir)
|
||||
### Opções
|
||||
|
||||
| Opções | Padrão | Descrição |
|
||||
| -------------------- | ---------------------------------- | ------------------------------------------------------------------ |
|
||||
| -------------------- | ---------------------------------- | ------------------------------------------------------------------------------------ |
|
||||
| `commit_hash_length` | `7` | O tamanho do git commit hash para ser exibido. |
|
||||
| `format` | `"[\\($hash$tag\\)]($style) "` | O formato do módulo. |
|
||||
| `style` | `"bold green"` | O estilo do módulo. |
|
||||
| `only_detached` | `true` | Apenas exibe o git commit hash quando o estado for detached `HEAD` |
|
||||
| `tag_disabled` | `true` | Desabilita a exibição da informação da tag no módulo `git_commit`. |
|
||||
| `tag_max_candidates` | `0` | How many commits to consider for tag display. The default only allows exact matches. |
|
||||
| `tag_symbol` | `" 🏷 "` | Simbolo da tag prefixado na informação a ser exibida |
|
||||
| `disabled` | `false` | Desabilita o módulo `git_commit`. |
|
||||
|
||||
|
@ -1481,12 +1481,13 @@ The `git_commit` module shows the current commit hash and also the tag (if any)
|
||||
### Options
|
||||
|
||||
| Option | Default | Description |
|
||||
| -------------------- | ---------------------------------- | ------------------------------------------------------- |
|
||||
| -------------------- | ---------------------------------- | ------------------------------------------------------------------------------------ |
|
||||
| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
|
||||
| `format` | `"[\\($hash$tag\\)]($style) "` | The format for the module. |
|
||||
| `style` | `"bold green"` | The style for the module. |
|
||||
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
||||
| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |
|
||||
| `tag_max_candidates` | `0` | How many commits to consider for tag display. The default only allows exact matches. |
|
||||
| `tag_symbol` | `" 🏷 "` | Tag symbol prefixing the info shown |
|
||||
| `disabled` | `false` | Disables the `git_commit` module. |
|
||||
|
||||
|
@ -1481,12 +1481,13 @@ The `git_commit` module shows the current commit hash and also the tag (if any)
|
||||
### Опции
|
||||
|
||||
| Параметр | По умолчанию | Описание |
|
||||
| -------------------- | ---------------------------------- | ------------------------------------------------------- |
|
||||
| -------------------- | ---------------------------------- | ------------------------------------------------------------------------------------ |
|
||||
| `commit_hash_length` | `7` | Длина отображаемого хэша коммита git. |
|
||||
| `format` | `"[\\($hash$tag\\)]($style) "` | Формат модуля. |
|
||||
| `style` | `"bold green"` | Стиль модуля. |
|
||||
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
||||
| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |
|
||||
| `tag_max_candidates` | `0` | How many commits to consider for tag display. The default only allows exact matches. |
|
||||
| `tag_symbol` | `" 🏷 "` | Tag symbol prefixing the info shown |
|
||||
| `disabled` | `false` | Отключает модуль `git_commit`. |
|
||||
|
||||
|
@ -1481,12 +1481,13 @@ The `git_commit` module shows the current commit hash and also the tag (if any)
|
||||
### Options
|
||||
|
||||
| Option | Default | Description |
|
||||
| -------------------- | ---------------------------------- | ------------------------------------------------------- |
|
||||
| -------------------- | ---------------------------------- | ------------------------------------------------------------------------------------ |
|
||||
| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
|
||||
| `format` | `"[\\($hash$tag\\)]($style) "` | The format for the module. |
|
||||
| `stil` | `"bold green"` | The style for the module. |
|
||||
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
||||
| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |
|
||||
| `tag_max_candidates` | `0` | How many commits to consider for tag display. The default only allows exact matches. |
|
||||
| `tag_symbol` | `" 🏷 "` | Tag symbol prefixing the info shown |
|
||||
| `disabled` | `false` | Disables the `git_commit` module. |
|
||||
|
||||
|
@ -1481,12 +1481,13 @@ Mô đun `git_commit` hiển thị hash commit hiện tại và tag (nếu có)
|
||||
### Các tuỳ chọn
|
||||
|
||||
| Tuỳ chọn | Mặc định | Mô tả |
|
||||
| -------------------- | ---------------------------------- | --------------------------------------------------------- |
|
||||
| -------------------- | ---------------------------------- | ------------------------------------------------------------------------------------ |
|
||||
| `commit_hash_length` | `7` | Độ dài của git commit hash được hiển thị. |
|
||||
| `format` | `"[\\($hash$tag\\)]($style) "` | Định dạng cho module. |
|
||||
| `style` | `"bold green"` | Kiểu cho module. |
|
||||
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
||||
| `tag_disabled` | `true` | Vô hiệu hiển thị thông tin tag trong mô đun `git_commit`. |
|
||||
| `tag_max_candidates` | `0` | How many commits to consider for tag display. The default only allows exact matches. |
|
||||
| `tag_symbol` | `" 🏷 "` | Biểu tượng tag trước thông tin được hiển thị |
|
||||
| `disabled` | `false` | Vô hiệu mô đun `git_commit`. |
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
home: true
|
||||
heroImage: /logo.svg
|
||||
heroText:
|
||||
tagline: 轻量级、反应迅速、可无限定制的高颜值终端!
|
||||
tagline: 轻量、迅速、可无限定制的高颜值终端!
|
||||
actionText: 快速上手 →
|
||||
actionLink: ./guide/
|
||||
features:
|
||||
|
@ -1481,12 +1481,13 @@ The `git_commit` module shows the current commit hash and also the tag (if any)
|
||||
### 配置项
|
||||
|
||||
| 选项 | 默认值 | 描述 |
|
||||
| -------------------- | ---------------------------------- | ------------------------------------------------------- |
|
||||
| -------------------- | ---------------------------------- | ------------------------------------------------------------------------------------ |
|
||||
| `commit_hash_length` | `7` | 显示的 git 提交哈希值的长度。 |
|
||||
| `format` | `"[\\($hash$tag\\)]($style) "` | 组件格式化模板。 |
|
||||
| `style` | `"bold green"` | 此组件的样式。 |
|
||||
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
||||
| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |
|
||||
| `tag_max_candidates` | `0` | How many commits to consider for tag display. The default only allows exact matches. |
|
||||
| `tag_symbol` | `" 🏷 "` | Tag symbol prefixing the info shown |
|
||||
| `disabled` | `false` | 禁用 `git_commit` 组件。 |
|
||||
|
||||
|
@ -150,7 +150,7 @@
|
||||
align="right"
|
||||
/>
|
||||
|
||||
**轻量级、反应迅速、可无限定制的高颜值终端!**
|
||||
**轻量、迅速、可无限定制的高颜值终端!**
|
||||
|
||||
- **快:** 很快 —— 真的真的非常快! 🚀
|
||||
- **定制化:** 可定制各种各样的提示符。
|
||||
|
@ -1481,12 +1481,13 @@ The `git_commit` module shows the current commit hash and also the tag (if any)
|
||||
### 選項
|
||||
|
||||
| Option | 預設 | 說明 |
|
||||
| -------------------- | ---------------------------------- | ------------------------------------------------------- |
|
||||
| -------------------- | ---------------------------------- | ------------------------------------------------------------------------------------ |
|
||||
| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
|
||||
| `format` | `"[\\($hash$tag\\)]($style) "` | The format for the module. |
|
||||
| `style` | `"bold green"` | 這個模組的風格。 |
|
||||
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
||||
| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |
|
||||
| `tag_max_candidates` | `0` | How many commits to consider for tag display. The default only allows exact matches. |
|
||||
| `tag_symbol` | `" 🏷 "` | Tag symbol prefixing the info shown |
|
||||
| `disabled` | `false` | Disables the `git_commit` module. |
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user