mirror of
https://github.com/starship/starship.git
synced 2026-06-22 02:02:12 +07:00
docs(i18n): new Crowdin updates (#7069)
* New translations readme.md (French) * New translations readme.md (Spanish) * New translations readme.md (Arabic) * New translations readme.md (German) * New translations readme.md (Italian) * New translations readme.md (Japanese) * New translations readme.md (Korean) * New translations readme.md (Dutch) * New translations readme.md (Norwegian) * New translations readme.md (Polish) * New translations readme.md (Portuguese) * New translations readme.md (Russian) * New translations readme.md (Turkish) * New translations readme.md (Ukrainian) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Traditional) * New translations readme.md (Vietnamese) * New translations readme.md (Portuguese, Brazilian) * New translations readme.md (Indonesian) * New translations readme.md (Bengali) * New translations readme.md (Sorani (Kurdish)) * New translations readme.md (Ukrainian) * New translations readme.md (Ukrainian) * New translations readme.md (Korean) * New translations readme.md (Italian) * New translations readme.md (Italian) * New translations readme.md (Italian) * New translations readme.md (French) * New translations readme.md (Spanish) * New translations readme.md (Arabic) * New translations readme.md (German) * New translations readme.md (Italian) * New translations readme.md (Japanese) * New translations readme.md (Korean) * New translations readme.md (Dutch) * New translations readme.md (Norwegian) * New translations readme.md (Polish) * New translations readme.md (Portuguese) * New translations readme.md (Russian) * New translations readme.md (Turkish) * New translations readme.md (Ukrainian) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Traditional) * New translations readme.md (Vietnamese) * New translations readme.md (Portuguese, Brazilian) * New translations readme.md (Indonesian) * New translations readme.md (Bengali) * New translations readme.md (Sorani (Kurdish)) * New translations readme.md (Chinese Traditional) * New translations readme.md (Chinese Traditional) * New translations jetpack.md (Chinese Traditional) * New translations catppuccin-powerline.md (Chinese Traditional) * New translations readme.md (Chinese Traditional)
This commit is contained in:
+49
-50
@@ -4035,15 +4035,15 @@ The `scala` module shows the currently installed version of [Scala](https://www.
|
||||
| `detect_extensions` | `['sbt', 'scala']` | 應觸發此模組的副檔名。 |
|
||||
| `detect_files` | `['.scalaenv', '.sbtenv', 'build.sbt']` | 應觸發此模組的檔案名稱。 |
|
||||
| `detect_folders` | `['.metals']` | 應觸發此模組的資料夾名稱。 |
|
||||
| `symbol` | `'🆂 '` | A format string representing the symbol of Scala. |
|
||||
| `symbol` | `'🆂 '` | 用來表示 Scala 符號的格式化字串。 |
|
||||
| `style` | `'red dimmed'` | 這個模組的風格。 |
|
||||
| `disabled` | `false` | Disables the `scala` module. |
|
||||
| `disabled` | `false` | 停用`scala` 模組。 |
|
||||
|
||||
### 變數
|
||||
|
||||
| 變數 | 範例 | 說明 |
|
||||
| --------- | -------- | ---------------------- |
|
||||
| version | `2.13.5` | The version of `scala` |
|
||||
| version | `2.13.5` | `scala` 的版本 |
|
||||
| symbol | | 對應 `symbol` 選項的設定值 |
|
||||
| style\* | | 對應 <0>style</0> 選項的設定值 |
|
||||
|
||||
@@ -4066,23 +4066,23 @@ The `shell` module shows an indicator for currently used shell.
|
||||
|
||||
### 選項
|
||||
|
||||
| 選項 | 預設 | 說明 |
|
||||
| ---------------------- | ------------------------- | ------------------------------------------------------------------------------------------------------ |
|
||||
| `bash_indicator` | `'bsh'` | A format string used to represent bash. |
|
||||
| `fish_indicator` | `'fsh'` | A format string used to represent fish. |
|
||||
| `zsh_indicator` | `'zsh'` | A format string used to represent zsh. |
|
||||
| `powershell_indicator` | `'psh'` | A format string used to represent powershell. |
|
||||
| `pwsh_indicator` | | A format string used to represent pwsh. The default value mirrors the value of `powershell_indicator`. |
|
||||
| `ion_indicator` | `'ion'` | A format string used to represent ion. |
|
||||
| `elvish_indicator` | `'esh'` | A format string used to represent elvish. |
|
||||
| `tcsh_indicator` | `'tsh'` | A format string used to represent tcsh. |
|
||||
| `xonsh_indicator` | `'xsh'` | A format string used to represent xonsh. |
|
||||
| `cmd_indicator` | `'cmd'` | A format string used to represent cmd. |
|
||||
| `nu_indicator` | `'nu'` | A format string used to represent nu. |
|
||||
| `unknown_indicator` | `''` | The default value to be displayed when the shell is unknown. |
|
||||
| `format` | `'[$indicator]($style) '` | 此模組的格式。 |
|
||||
| `style` | `'white bold'` | 這個模組的風格。 |
|
||||
| `disabled` | `true` | Disables the `shell` module. |
|
||||
| 選項 | 預設 | 說明 |
|
||||
| ---------------------- | ------------------------- | -------------------------------------------------------------------------------- |
|
||||
| `bash_indicator` | `'bsh'` | 用來表示 bash 的格式化字串。 |
|
||||
| `fish_indicator` | `'fsh'` | 用來表示 fish 的格式化字串。 |
|
||||
| `zsh_indicator` | `'zsh'` | 用來表示 zsh 的格式化字串。 |
|
||||
| `powershell_indicator` | `'psh'` | 用來表示 powershell 的格式化字串。 |
|
||||
| `pwsh_indicator` | | 用來表示 pwsh 的格式化字串。 The default value mirrors the value of `powershell_indicator`. |
|
||||
| `ion_indicator` | `'ion'` | 用來表示 ion 的格式化字串。 |
|
||||
| `elvish_indicator` | `'esh'` | 用來表示 elvish 的格式化字串。 |
|
||||
| `tcsh_indicator` | `'tsh'` | 用來表示 tcsh 的格式化字串。 |
|
||||
| `xonsh_indicator` | `'xsh'` | 用來表示 xonsh 的格式化字串。 |
|
||||
| `cmd_indicator` | `'cmd'` | A format string used to represent cmd. |
|
||||
| `nu_indicator` | `'nu'` | A format string used to represent nu. |
|
||||
| `unknown_indicator` | `''` | The default value to be displayed when the shell is unknown. |
|
||||
| `format` | `'[$indicator]($style) '` | 此模組的格式。 |
|
||||
| `style` | `'white bold'` | 這個模組的風格。 |
|
||||
| `disabled` | `true` | Disables the `shell` module. |
|
||||
|
||||
### 變數
|
||||
|
||||
@@ -4152,11 +4152,10 @@ Using `repeat` and `repeat_offset` along with `character` module, one can get pr
|
||||
|
||||
[shlvl]
|
||||
disabled = false
|
||||
format = '[$symbol$shlvl]($style)'
|
||||
format = '[$symbol]($style)'
|
||||
repeat = true
|
||||
symbol = '❯'
|
||||
repeat_offset = 1
|
||||
threshold = 0
|
||||
```
|
||||
|
||||
## Singularity
|
||||
@@ -4170,7 +4169,7 @@ The `singularity` module shows the current [Singularity](https://sylabs.io/singu
|
||||
| `format` | `'[$symbol\[$env\]]($style) '` | 此模組的格式。 |
|
||||
| `symbol` | `''` | A format string displayed before the image name. |
|
||||
| `style` | `'bold dimmed blue'` | 這個模組的風格。 |
|
||||
| `disabled` | `false` | Disables the `singularity` module. |
|
||||
| `disabled` | `false` | 停用 <0>singularity</0> 模組。 |
|
||||
|
||||
### 變數
|
||||
|
||||
@@ -4203,21 +4202,21 @@ The `solidity` module shows the currently installed version of [Solidity](https:
|
||||
| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- |
|
||||
| `format` | `'via [$symbol($version )]($style)'` | 此模組的格式。 |
|
||||
| `version_format` | `'v${major}.${minor}.${patch}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
||||
| `symbol` | `'S '` | A format string representing the symbol of Solidity |
|
||||
| `compiler | ['solc'] | The default compiler for Solidity. |
|
||||
| `symbol` | `'S '` | 用來表示 Solidity 符號的格式化字串。 |
|
||||
| `compiler | ['solc'] | Solidity 的預設編譯器。 |
|
||||
| `detect_extensions` | `['sol']` | 應觸發此模組的副檔名。 |
|
||||
| `detect_files` | `[]` | 應觸發此模組的檔案名稱。 |
|
||||
| `detect_folders` | `[]` | 應觸發此模組的資料夾名稱。 |
|
||||
| `style` | `'bold blue'` | 這個模組的風格。 |
|
||||
| `disabled` | `false` | Disables this module. |
|
||||
| `disabled` | `false` | 停用此模組。 |
|
||||
|
||||
### 變數
|
||||
|
||||
| 變數 | 範例 | 說明 |
|
||||
| --------- | -------- | ------------------------- |
|
||||
| version | `v0.8.1` | The version of `solidity` |
|
||||
| symbol | | 對應 `symbol` 選項的設定值 |
|
||||
| style\* | | 對應 <0>style</0> 選項的設定值 |
|
||||
| 變數 | 範例 | 說明 |
|
||||
| --------- | -------- | ---------------------- |
|
||||
| version | `v0.8.1` | `solidity` 的版本 |
|
||||
| symbol | | 對應 `symbol` 選項的設定值 |
|
||||
| style\* | | 對應 <0>style</0> 選項的設定值 |
|
||||
|
||||
*: 此變數僅能用於 style 字串的一部分
|
||||
|
||||
@@ -4241,15 +4240,15 @@ The `spack` module shows the current [Spack](https://spack.readthedocs.io/en/lat
|
||||
| `symbol` | `'🅢 '` | 環境名稱前使用的符號。 |
|
||||
| `style` | `'bold blue'` | 這個模組的風格。 |
|
||||
| `format` | `'via [$symbol$environment]($style) '` | 此模組的格式。 |
|
||||
| `disabled` | `false` | Disables the `spack` module. |
|
||||
| `disabled` | `false` | 停用`spack` 模組。 |
|
||||
|
||||
### 變數
|
||||
|
||||
| 變數 | 範例 | 說明 |
|
||||
| ----------- | ------------ | ----------------------------- |
|
||||
| environment | `astronauts` | The current spack environment |
|
||||
| symbol | | 對應 `symbol` 選項的設定值 |
|
||||
| style\* | | 對應 <0>style</0> 選項的設定值 |
|
||||
| 變數 | 範例 | 說明 |
|
||||
| ----------- | ------------ | ---------------------- |
|
||||
| environment | `astronauts` | 目前的 spack 環境 |
|
||||
| symbol | | 對應 `symbol` 選項的設定值 |
|
||||
| style\* | | 對應 <0>style</0> 選項的設定值 |
|
||||
|
||||
*: 此變數僅能用於 style 字串的一部分
|
||||
|
||||
@@ -4272,7 +4271,7 @@ The `status` module displays the exit code of the previous command. If $success_
|
||||
|
||||
| 選項 | 預設 | 說明 |
|
||||
| --------------------------- | ----------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
|
||||
| `format` | `'[$symbol$status]($style) '` | The format of the module |
|
||||
| `format` | `'[$symbol$status]($style) '` | 此模組的格式 |
|
||||
| `symbol` | `'❌'` | The symbol displayed on program error |
|
||||
| `success_symbol` | `''` | The symbol displayed on program success |
|
||||
| `not_executable_symbol` | `'🚫'` | The symbol displayed when file isn't executable |
|
||||
@@ -4288,7 +4287,7 @@ The `status` module displays the exit code of the previous command. If $success_
|
||||
| `pipestatus_separator` | <code>|</code> | The symbol used to separate pipestatus segments (supports formatting) |
|
||||
| `pipestatus_format` | `'\[$pipestatus\] => [$symbol$common_meaning$signal_name$maybe_int]($style) '` | The format of the module when the command is a pipeline |
|
||||
| `pipestatus_segment_format` | | When specified, replaces `format` when formatting pipestatus segments |
|
||||
| `disabled` | `true` | Disables the `status` module. |
|
||||
| `disabled` | `true` | 停用 `status` 模組。 |
|
||||
|
||||
### 變數
|
||||
|
||||
@@ -4331,7 +4330,7 @@ The `sudo` module displays if sudo credentials are currently cached. The module
|
||||
|
||||
| 選項 | 預設 | 說明 |
|
||||
| --------------- | ------------------------ | ------------------------------------------------------- |
|
||||
| `format` | `'[as $symbol]($style)'` | The format of the module |
|
||||
| `format` | `'[as $symbol]($style)'` | 此模組的格式 |
|
||||
| `symbol` | `'🧙 '` | The symbol displayed when credentials are cached |
|
||||
| `style` | `'bold blue'` | 這個模組的風格。 |
|
||||
| `allow_windows` | `false` | Since windows has no default sudo, default is disabled. |
|
||||
@@ -4523,7 +4522,7 @@ By default, the module will be shown if any of the following conditions are met:
|
||||
| `detect_extensions` | `['.typ']` | 應觸發此模組的副檔名。 |
|
||||
| `detect_files` | `['template.typ']` | 應觸發此模組的檔案名稱。 |
|
||||
| `detect_folders` | `[]` | 應觸發此模組的資料夾名稱。 |
|
||||
| `disabled` | `false` | Disables the `typst` module. |
|
||||
| `disabled` | `false` | 停用 `typst` 模組。 |
|
||||
|
||||
### 變數
|
||||
|
||||
@@ -4634,18 +4633,18 @@ The `vlang` module shows you your currently installed version of [V](https://vla
|
||||
| ------------------- | -------------------------------------------- | ------------------------------------------------------------------------- |
|
||||
| `format` | `'via [$symbol($version )]($style)'` | 此模組的格式。 |
|
||||
| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
||||
| `symbol` | `'V '` | A format string representing the symbol of V |
|
||||
| `symbol` | `'V '` | 用來表示 V 符號的格式化字串。 |
|
||||
| `detect_extensions` | `['v']` | 應觸發此模組的副檔名。 |
|
||||
| `detect_files` | `['v.mod', 'vpkg.json', '.vpkg-lock.json' ]` | 應觸發此模組的檔案名稱。 |
|
||||
| `detect_folders` | `[]` | 應觸發此模組的資料夾名稱。 |
|
||||
| `style` | `'blue bold'` | 這個模組的風格。 |
|
||||
| `disabled` | `false` | Disables the `vlang` module. |
|
||||
| `disabled` | `false` | 停用`vlang`模組。 |
|
||||
|
||||
### 變數
|
||||
|
||||
| 變數 | 範例 | 說明 |
|
||||
| --------- | ------ | ---------------------- |
|
||||
| version | `v0.2` | The version of `v` |
|
||||
| version | `v0.2` | <0>v</0> 的版本 |
|
||||
| symbol | | 對應 `symbol` 選項的設定值 |
|
||||
| style\* | | 對應 <0>style</0> 選項的設定值 |
|
||||
|
||||
@@ -4668,7 +4667,7 @@ The `vcsh` module displays the current active [VCSH](https://github.com/RichiH/v
|
||||
| `symbol` | `''` | The symbol used before displaying the repository name. |
|
||||
| `style` | `'bold yellow'` | 這個模組的風格。 |
|
||||
| `format` | `'vcsh [$symbol$repo]($style) '` | 此模組的格式。 |
|
||||
| `disabled` | `false` | Disables the `vcsh` module. |
|
||||
| `disabled` | `false` | 停用 `vcsh` 模組。 |
|
||||
|
||||
### 變數
|
||||
|
||||
@@ -4706,13 +4705,13 @@ The `xmake` module shows the currently installed version of [XMake](https://xmak
|
||||
| `detect_files` | `['xmake.lua']` | 應觸發此模組的檔案名稱。 |
|
||||
| `detect_folders` | `[]` | 應觸發此模組的資料夾名稱。 |
|
||||
| `style` | `'bold green'` | 這個模組的風格。 |
|
||||
| `disabled` | `false` | Disables the `xmake` module. |
|
||||
| `disabled` | `false` | 停用 `xmake` 模組。 |
|
||||
|
||||
### 變數
|
||||
|
||||
| 變數 | 範例 | 說明 |
|
||||
| --------- | -------- | ---------------------- |
|
||||
| version | `v2.9.5` | The version of xmake |
|
||||
| version | `v2.9.5` | xmake 的版本 |
|
||||
| symbol | | 對應 `symbol` 選項的設定值 |
|
||||
| style\* | | 對應 <0>style</0> 選項的設定值 |
|
||||
|
||||
@@ -4730,9 +4729,9 @@ By default the `zig` module shows the currently installed version of [Zig](https
|
||||
| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- |
|
||||
| `format` | `'via [$symbol($version )]($style)'` | 此模組的格式。 |
|
||||
| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
||||
| `symbol` | `'↯ '` | The symbol used before displaying the version of Zig. |
|
||||
| `symbol` | `'↯ '` | 顯示在 Zig 版本之前的符號。 |
|
||||
| `style` | `'bold yellow'` | 這個模組的風格。 |
|
||||
| `disabled` | `false` | Disables the `zig` module. |
|
||||
| `disabled` | `false` | 停用 `zig` 模組。 |
|
||||
| `detect_extensions` | `['zig']` | 應觸發此模組的副檔名。 |
|
||||
| `detect_files` | `[]` | 應觸發此模組的檔案名稱。 |
|
||||
| `detect_folders` | `[]` | 應觸發此模組的資料夾名稱。 |
|
||||
@@ -4741,7 +4740,7 @@ By default the `zig` module shows the currently installed version of [Zig](https
|
||||
|
||||
| 變數 | 範例 | 說明 |
|
||||
| --------- | -------- | ---------------------- |
|
||||
| version | `v0.6.0` | The version of `zig` |
|
||||
| version | `v0.6.0` | `zig` 的版本 |
|
||||
| symbol | | 對應 `symbol` 選項的設定值 |
|
||||
| style\* | | 對應 <0>style</0> 選項的設定值 |
|
||||
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
><img
|
||||
height="20"
|
||||
src="https://raw.githubusercontent.com/starship/starship/master/media/flag-id.png"
|
||||
alt="印尼文 (Bahasa)"
|
||||
alt="印尼文 Bahasa"
|
||||
/></a>
|
||||
|
||||
<a
|
||||
|
||||
@@ -23,16 +23,10 @@ choco install starship
|
||||
|
||||
## [termux](https://termux.com)
|
||||
|
||||
### 先決要求
|
||||
|
||||
```sh
|
||||
pkg install getconf
|
||||
```
|
||||
|
||||
### 安裝
|
||||
|
||||
```sh
|
||||
curl -sS https://starship.rs/install.sh | sh -s -- --bin-dir /data/data/com.termux/files/usr/bin
|
||||
pkg install starship
|
||||
```
|
||||
|
||||
## [Funtoo Linux](https://www.funtoo.org/Welcome)
|
||||
|
||||
@@ -8,7 +8,7 @@ This preset is a minimally modified version of [Gruvbox Rainbow](./gruvbox-rainb
|
||||
|
||||
### 先決要求
|
||||
|
||||
- A [Nerd Font](https://www.nerdfonts.com/) installed and enabled in your terminal
|
||||
- 已安裝 [Nerd Font](https://www.nerdfonts.com/),並在終端機被啟用。
|
||||
|
||||
### 設定
|
||||
|
||||
@@ -23,6 +23,6 @@ By default this preset uses the Mocha flavour of Catppucin, but you can specify
|
||||
- `catppuccin_macchiato`
|
||||
- `catppuccin_latte`
|
||||
|
||||
[Click to download TOML](/presets/toml/catppuccin-powerline.toml)
|
||||
[點擊此處下載 TOML](/presets/toml/catppuccin-powerline.toml)
|
||||
|
||||
<<< @/public/presets/toml/catppuccin-powerline.toml
|
||||
|
||||
@@ -11,7 +11,7 @@ This is a pseudo minimalist preset inspired by the [geometry](https://github.com
|
||||
### Prerequisite
|
||||
|
||||
- Requires a shell with [`right-prompt`](https://starship.rs/advanced-config/#enable-right-prompt) support.
|
||||
- [Jetbrains Mono](https://www.jetbrains.com/lp/mono/) is recommended.
|
||||
- 建議使用 [Jetbrains Mono](https://www.jetbrains.com/lp/mono/)。
|
||||
|
||||
### 設定
|
||||
|
||||
|
||||
Reference in New Issue
Block a user