summaryrefslogtreecommitdiffstats
path: root/docs/zh-TW
diff options
context:
space:
mode:
authorMatan Kushner <hello@matchai.dev>2020-02-07 16:47:30 -0500
committerGitHub <noreply@github.com>2020-02-07 16:47:30 -0500
commit3271b586f46c5ab26c73daeb7a3036dd0fc80554 (patch)
tree5b9526275c9d6e8c19258452402947aa7358c141 /docs/zh-TW
parent54acc2cdc311289b60700bf0f047cbc974289171 (diff)
docs(i18n): Update translations (#908)
Diffstat (limited to 'docs/zh-TW')
-rw-r--r--docs/zh-TW/config/README.md64
-rw-r--r--docs/zh-TW/guide/README.md11
2 files changed, 66 insertions, 9 deletions
diff --git a/docs/zh-TW/config/README.md b/docs/zh-TW/config/README.md
index f552639f6..36ded60f1 100644
--- a/docs/zh-TW/config/README.md
+++ b/docs/zh-TW/config/README.md
@@ -8,7 +8,7 @@
為了開始設定 Starship,請建立下右檔案: `~/.config/starship.toml`.
-```shell
+```sh
$ mkdir -p ~/.config && touch ~/.config/starship.toml
```
@@ -28,7 +28,7 @@ disabled = true
```
You can change default `starship.toml` file location with `STARSHIP_CONFIG` environment variable:
-```shell
+```sh
export STARSHIP_CONFIG=~/.starship
```
@@ -100,6 +100,7 @@ prompt_order = [
"hg_branch",
"package",
"dotnet",
+ "elm",
"golang",
"haskell",
"java",
@@ -114,6 +115,7 @@ prompt_order = [
"memory_usage",
"aws",
"env_var",
+ "crystal",
"cmd_duration",
"line_break",
"jobs",
@@ -376,6 +378,33 @@ style = "green"
heuristic = false
```
+## Elm
+
+The `elm` module shows the currently installed version of Elm. 這個模組在下列其中一個條件達成時顯示:
+
+- 現在資料夾中包含一個 `elm.json` 檔案
+- 現在資料夾中包含一個 `elm-package.json` 檔案
+- The current directory contains a `elm-stuff` folder
+- The current directory contains a `*.elm` files
+
+### 選項
+
+| 變數 | 預設 | 說明 |
+| ---------- | ------------- | ----------------------------------------------------- |
+| `symbol` | `"🌳 "` | The symbol used before displaying the version of Elm. |
+| `style` | `"bold cyan"` | 這個模組的風格。 |
+| `disabled` | `false` | Disables the `elm` module. |
+
+
+### 範例
+
+```toml
+# ~/.config/starship.toml
+
+[elm]
+symbol = " "
+```
+
## 環境變數
`env_var`模組顯示一個選擇的環境變數的現在數值。 這個模組只在下列條件其中之一達到時顯示:
@@ -580,7 +609,7 @@ symbol = "🏎💨 "
The `haskell` module shows the currently installed version of Haskell Stack version. 這個模組在下列其中一個條件達成時顯示:
-- 目前資料夾中有一個 `stack.yaml` 檔案
+- 現在資料夾中含有一個 `stack.yaml` 檔案
### 選項
@@ -597,7 +626,7 @@ The `haskell` module shows the currently installed version of Haskell Stack vers
# ~/.config/starship.toml
[haskell]
-symbol = "λx.x "
+symbol = " "
```
## Mercurial Branch
@@ -812,6 +841,31 @@ separator = "/"
style = "bold dimmed green"
```
+## Crystal
+
+The `crystal` module shows the currently installed version of Crystal. 這個模組在下列其中一個條件達成時顯示:
+
+- 現在資料夾中含有一個 `shard.yml` 檔案
+- The current directory contains a `.cr` file
+
+### 選項
+
+| 變數 | 預設 | 說明 |
+| ---------- | ------------ | --------------------------------------------------------- |
+| `symbol` | `"🔮 "` | The symbol used before displaying the version of crystal. |
+| `style` | `"bold red"` | 這個模組的風格。 |
+| `disabled` | `false` | Disables the `crystal` module. |
+
+### 範例
+
+```toml
+# ~/.config/starship.toml
+
+[crystal]
+symbol = "✨ "
+style = "bold blue"
+```
+
## NodeJS
`nodejs` 模組顯示現在安裝的 NodeJS 版本。 這個模組在下列其中一個條件達成時顯示:
@@ -869,7 +923,7 @@ symbol = "🎁 "
The `php` module shows the currently installed version of PHP. 這個模組在下列其中一個條件達成時顯示:
-- 現在資料夾中包含一個 `composer.json` 檔案
+- 目前資料夾中有一個 `composer.json` 檔案
- The current directory contains a `.php` file
### 選項
diff --git a/docs/zh-TW/guide/README.md b/docs/zh-TW/guide/README.md
index 88207877d..9c2904c98 100644
--- a/docs/zh-TW/guide/README.md
+++ b/docs/zh-TW/guide/README.md
@@ -21,7 +21,7 @@
src="https://img.shields.io/discord/567163873606500352?logo=discord"
alt="在 Discord 上聊天" /></a>
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
-<a href="#contributors"><img src="https://img.shields.io/badge/all%20contributors-69-orange" alt="All Contributors"></a>
+<a href="#contributors"><img src="https://img.shields.io/badge/all%20contributors-70-orange" alt="All Contributors"></a>
<!-- ALL-CONTRIBUTORS-BADGE:END -->
</p>
@@ -49,7 +49,7 @@
<a href="https://github.com/starship/starship/blob/master/docs/de-DE/guide/README.md"
><img height="20" src="https://raw.githubusercontent.com/starship/starship/master/media/flag-de.png" alt="Deutsch" /></a>
&nbsp;
- <a href="https://translate.starship.rs/project/starship-prompt/zh-CN"
+ <a href="https://github.com/starship/starship/blob/master/docs/zh-CN/guide/README.md"
><img height="20" src="https://raw.githubusercontent.com/starship/starship/master/media/flag-cn.png" alt="简体中文" /></a>
&nbsp;
<a href="https://translate.starship.rs/project/starship-prompt/es"
@@ -73,6 +73,7 @@
## 🍬 特色
- 如果最近一個指令結束時回傳非零的代碼,提示字元將轉成紅色
+- Current Elm version (`🌳`)
- 現在的 Go 版本 (`🐹`)
- Current Haskell version (`λ`)
- 現在的 Java 版本 (`☕`)
@@ -82,6 +83,7 @@
- 現在的 Ruby 版本 (`💎`)
- 現在的 Rust 版本 (`🦀`)
- Current .NET version (`•NET`)
+- Current Crystal version (`🔮`).
- 現在資料夾中的組件 (package) 版本 (`📦`)
- npm (Node.js)
- cargo (Rust)
@@ -249,7 +251,7 @@
<td align="center"><a href="https://github.com/sirMerr"><img src="https://avatars2.githubusercontent.com/u/11183523?v=4" width="100px;" alt="" /><br /><sub><b>Tiffany Le-Nguyen</b></sub></a><br /><a href="#ideas-sirMerr" title="Ideas, Planning, & Feedback">🤔</a> <a href="#maintenance-sirMerr" title="Maintenance">🚧</a> <a href="https://github.com/starship/starship/pulls?q=is%3Apr+reviewed-by%3AsirMerr" title="Reviewed Pull Requests">👀</a> <a href="https://github.com/starship/starship/commits?author=sirMerr" title="Documentation">📖</a></td>
<td align="center"><a href="https://about.snuggi.es"><img src="https://avatars0.githubusercontent.com/u/26250962?v=4" width="100px;" alt="" /><br /><sub><b>​Snuggle</b></sub></a><br /><a href="#design-Snuggle" title="Design">🎨</a> <a href="#ideas-Snuggle" title="Ideas, Planning, & Feedback">🤔</a> <a href="#maintenance-Snuggle" title="Maintenance">🚧</a> <a href="https://github.com/starship/starship/pulls?q=is%3Apr+reviewed-by%3ASnuggle" title="Reviewed Pull Requests">👀</a></td>
<td align="center"><a href="https://github.com/mehcode"><img src="https://avatars1.githubusercontent.com/u/753919?v=4" width="100px;" alt="" /><br /><sub><b>Ryan Leckey</b></sub></a><br /><a href="https://github.com/starship/starship/pulls?q=is%3Apr+reviewed-by%3Amehcode" title="Reviewed Pull Requests">👀</a></td>
- <td align="center"><a href="https://github.com/youssefhabri"><img src="https://avatars3.githubusercontent.com/u/1578005?v=4" width="100px;" alt="" /><br /><sub><b>Youssef Habri</b></sub></a><br /><a href="https://github.com/starship/starship/commits?author=youssefhabri" title="Code">💻</a></td>
+ <td align="center"><a href="https://github.com/youssefhabri"><img src="https://avatars3.githubusercontent.com/u/1578005?v=4" width="100px;" alt="" /><br /><sub><b>Youssef Habri</b></sub></a><br /><a href="https://github.com/starship/starship/commits?author=youssefhabri" title="Code">💻</a> <a href="https://github.com/starship/starship/commits?author=youssefhabri" title="Documentation">📖</a> <a href="https://github.com/starship/starship/commits?author=youssefhabri" title="Tests">⚠️</a></td>
</tr>
<tr>
<td align="center"><a href="https://github.com/chipbuster"><img src="https://avatars2.githubusercontent.com/u/4605384?v=4" width="100px;" alt="" /><br /><sub><b>Kevin Song</b></sub></a><br /><a href="https://github.com/starship/starship/issues?q=author%3Achipbuster" title="Bug reports">🐛</a> <a href="https://github.com/starship/starship/commits?author=chipbuster" title="Code">💻</a> <a href="https://github.com/starship/starship/commits?author=chipbuster" title="Documentation">📖</a> <a href="https://github.com/starship/starship/commits?author=chipbuster" title="Tests">⚠️</a></td>
@@ -329,7 +331,8 @@
<td align="center"><a href="https://blog.brightone.space"><img src="https://avatars1.githubusercontent.com/u/12615679?v=4" width="100px;" alt="" /><br /><sub><b>Oleksii Filonenko</b></sub></a><br /><a href="#translation-filalex77" title="Translation">🌍</a></td>
<td align="center"><a href="https://github.com/ivanovart"><img src="https://avatars2.githubusercontent.com/u/5867379?v=4" width="100px;" alt="" /><br /><sub><b>Artem Ivanov</b></sub></a><br /><a href="#translation-ivanovart" title="Translation">🌍</a></td>
<td align="center"><a href="http://www.drivendata.org"><img src="https://avatars3.githubusercontent.com/u/1799186?v=4" width="100px;" alt="" /><br /><sub><b>Peter Bull</b></sub></a><br /><a href="https://github.com/starship/starship/commits?author=pjbull" title="Code">💻</a> <a href="https://github.com/starship/starship/commits?author=pjbull" title="Tests">⚠️</a></td>
- <td align="center"><a href="https://andrewpro.me"><img src="https://avatars1.githubusercontent.com/u/8220926?v=4" width="100px;" alt="" /><br /><sub><b>Andrew Prokhorenkov</b></sub></a><br /><a href="https://github.com/starship/starship/commits?author=m0nhawk" title="Code">💻</a> <a href="https://github.com/starship/starship/commits?author=m0nhawk" title="Documentation">📖</a> <a href="https://github.com/starship/starship/commits?author=m0nhawk" title="Tests">⚠️</a> <a href="#projectManagement-m0nhawk" title="Project Management">📆</a></td>
+ <td align="center"><a href="https://andrewpro.me"><img src="https://avatars1.githubusercontent.com/u/8220926?v=4" width="100px;" alt="" /><br /><sub><b>Andrew Prokhorenkov</b></sub></a><br /><a href="https://github.com/starship/starship/commits?author=m0nhawk" title="Code">💻</a> <a href="https://github.com/starship/starship/commits?author=m0nhawk" title="Documentation">📖</a> <a href="https://github.com/starship/starship/commits?author=m0nhawk" title="Tests">⚠️</a></td>
+ <td align="center"><a href="https://github.com/chirsz-ever"><img src="https://avatars2.githubusercontent.com/u/31474766?v=4" width="100px;" alt="" /><br /><sub><b>chirsz</b></sub></a><br /><a href="#translation-chirsz-ever" title="Translation">🌍</a></td>
</tr>
</table>