summaryrefslogtreecommitdiffstats
path: root/docs/zh-TW
diff options
context:
space:
mode:
authorMatan Kushner <hello@matchai.dev>2021-02-06 12:46:15 -0500
committerGitHub <noreply@github.com>2021-02-06 12:46:15 -0500
commitf9bebc9ab859a1afd71d7993dd73567b0d67f50a (patch)
treef0a13694bf235a68ef1063b85a458ea1dd603f1a /docs/zh-TW
parentedb17bc5c73780b0e4a902cd3a0d7f348e8cb14f (diff)
docs(i18n): New Crowdin updates (#2219)
Diffstat (limited to 'docs/zh-TW')
-rw-r--r--docs/zh-TW/README.md13
-rw-r--r--docs/zh-TW/config/README.md47
-rw-r--r--docs/zh-TW/guide/README.md18
3 files changed, 74 insertions, 4 deletions
diff --git a/docs/zh-TW/README.md b/docs/zh-TW/README.md
index e49ee500b..10da9cda6 100644
--- a/docs/zh-TW/README.md
+++ b/docs/zh-TW/README.md
@@ -110,3 +110,16 @@ description: Starship is the minimal, blazing fast, and extremely customizable p
eval $(starship init ion)
```
+
+ #### Elvish
+
+ ::: warning Only elvish v0.15 or higher is supported. :::
+
+ Add the following to the end of `~/.elvish/rc.elv`:
+
+ ```sh
+ # ~/.elvish/rc.elv
+
+ eval (starship init elvish)
+ ```
+
diff --git a/docs/zh-TW/config/README.md b/docs/zh-TW/config/README.md
index 8764de52e..fb20f59d2 100644
--- a/docs/zh-TW/config/README.md
+++ b/docs/zh-TW/config/README.md
@@ -209,6 +209,7 @@ $ruby\
$rust\
$swift\
$terraform\
+$vagrant\
$zig\
$nix_shell\
$conda\
@@ -371,6 +372,8 @@ style = "bold yellow"
By default it only changes color. If you also want to change it's shape take a look at [this example](#with-custom-error-shape).
+::: warning `error_symbol` is not supported on elvish shell. :::
+
### 選項
| Option | 預設 | 說明 |
@@ -1601,7 +1604,7 @@ truncation_symbol = ""
The `nim` module shows the currently installed version of Nim. 這個模組在下列其中一個條件達成時顯示:
-- The current directory contains a `nim.cfg` file
+- 現在資料夾中包含一個 `nim.cfg` 檔案
- The current directory contains a file with the `.nim` extension
- The current directory contains a file with the `.nims` extension
- The current directory contains a file with the `.nimble` extension
@@ -1872,7 +1875,7 @@ format = "via [🦪 $version]($style) "
The `php` module shows the currently installed version of PHP. 這個模組在下列其中一個條件達成時顯示:
-- The current directory contains a `composer.json` file
+- 現在資料夾中包含一個 `composer.json` 檔案
- The current directory contains a `.php-version` file
- The current directory contains a `.php` file
@@ -1908,7 +1911,7 @@ format = "via [🔹 $version](147 bold) "
The `purescript` module shows the currently installed version of PureScript version. 這個模組在下列其中一個條件達成時顯示:
-- The current directory contains a `spago.dhall` file
+- 現在資料夾中包含一個 `spago.dhall` 檔案
- The current directory contains a \*.purs files
### 選項
@@ -2156,6 +2159,8 @@ The `status` module displays the exit code of the previous command. The module w
:::
+::: warning This module is not supported on elvish shell. :::
+
### 選項
| Option | 預設 | 說明 |
@@ -2195,7 +2200,7 @@ The `status` module displays the exit code of the previous command. The module w
[status]
style = "bg:blue"
symbol = "🔴"
-format = '[\[$symbol $status_common_meaning$status_signal_name$status_maybe_int\]]($style) '
+format = '[\[$symbol $common_meaning$signal_name$maybe_int\]]($style) '
map_symbol = true
disabled = false
@@ -2382,6 +2387,40 @@ disabled = false
show_always = true
```
+## Vagrant
+
+The `vagrant` module shows the currently installed version of Vagrant. 這個模組在下列其中一個條件達成時顯示:
+
+- The current directory contains a `Vagrantfile` file
+
+### 選項
+
+| Option | 預設 | 說明 |
+| ---------- | ------------------------------------ | --------------------------------------------------- |
+| `format` | `"via [$symbol($version )]($style)"` | The format for the module. |
+| `symbol` | `"⍱ "` | A format string representing the symbol of Vagrant. |
+| `style` | `"cyan bold"` | 這個模組的風格。 |
+| `disabled` | `false` | Disables the `Vagrant` module. |
+
+### Variables
+
+| 變數 | 範例 | 說明 |
+| --------- | ---------------- | ------------------------------------ |
+| version | `Vagrant 2.2.10` | The version of `Vagrant` |
+| symbol | | Mirrors the value of option `symbol` |
+| style\* | | Mirrors the value of option `style` |
+
+\*: This variable can only be used as a part of a style string
+
+### 範例
+
+```toml
+# ~/.config/starship.toml
+
+[vagrant]
+format = "via [⍱ $version](bold white) "
+```
+
## Zig
The `zig` module shows the currently installed version of Zig. 這個模組在下列其中一個條件達成時顯示:
diff --git a/docs/zh-TW/guide/README.md b/docs/zh-TW/guide/README.md
index 8a7897e2e..a3aa0d891 100644
--- a/docs/zh-TW/guide/README.md
+++ b/docs/zh-TW/guide/README.md
@@ -92,6 +92,13 @@
height="20"
src="https://raw.githubusercontent.com/starship/starship/master/media/flag-fr.png"
alt="Français" /></a>
+ &nbsp;
+ <a
+ href="https://github.com/starship/starship/blob/master/docs/vi-VN/guide/README.md"
+ ><img
+ height="20"
+ src="https://raw.githubusercontent.com/starship/starship/master/media/flag-vn.png"
+ alt="Tiếng Việt" /></a>
</p>
<h1></h1>
@@ -211,6 +218,17 @@
eval $(starship init ion)
```
+
+ #### Elvish
+
+ **Warning** Only elvish v0.15 or higher is supported. Add the following to the end of `~/.elvish/rc.elv`:
+
+ ```sh
+ # ~/.elvish/rc.elv
+
+ eval (starship init elvish)
+ ```
+
## 🤝 貢獻
我們歡迎具有**各式各樣能力**的貢獻者! 如果你正在尋找容易加入的方法,試試看標註為「[good first issue](https://github.com/starship/starship/labels/🌱%20good%20first%20issue)」的 issue。