mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
docs(i18n): New Crowdin translations (#619)
This commit is contained in:
+19
-14
@@ -9,7 +9,7 @@
|
||||
為了開始設定 Starship,請建立下右檔案: `~/.config/starship.toml`.
|
||||
|
||||
```shell
|
||||
$ touch ~/.config/starship.toml
|
||||
$ mkdir -p ~/.config && touch ~/.config/starship.toml
|
||||
```
|
||||
|
||||
所有關於 Starship 的設定都在這個 [TOML](https://github.com/toml-lang/toml) 檔案內:
|
||||
@@ -119,11 +119,12 @@ prompt_order = [
|
||||
|
||||
### 選項
|
||||
|
||||
| 變數 | 預設 | 說明 |
|
||||
| ---------- | --------------- | ------------------ |
|
||||
| `symbol` | `"☁️ "` | 顯示在目前 AWS 配置之前的符號。 |
|
||||
| `style` | `"bold yellow"` | 這個模組的風格。 |
|
||||
| `disabled` | `false` | 停用 `AWS` 模組。 |
|
||||
| 變數 | 預設 | 說明 |
|
||||
| ----------------- | --------------- | --------------------------------------------------------------------------- |
|
||||
| `symbol` | `"☁️ "` | 顯示在目前 AWS 配置之前的符號。 |
|
||||
| `style` | `"bold yellow"` | 這個模組的風格。 |
|
||||
| `disabled` | `false` | 停用 `AWS` 模組。 |
|
||||
| `displayed_items` | `all` | Choose which item to display. Possible values: [`all`, `profile`, `region`] |
|
||||
|
||||
### 範例
|
||||
|
||||
@@ -133,6 +134,7 @@ prompt_order = [
|
||||
[aws]
|
||||
style = "bold blue"
|
||||
symbol = "🅰 "
|
||||
displayed_items = "region"
|
||||
```
|
||||
|
||||
## 電池
|
||||
@@ -661,14 +663,15 @@ pure_msg = "pure shell"
|
||||
|
||||
### 選項
|
||||
|
||||
| 變數 | 預設 | 說明 |
|
||||
| ----------------- | --------------------- | ----------------------------- |
|
||||
| `show_percentage` | `false` | 以剩餘記憶體佔有的百分比的方式顯示記憶體使用狀況。 |
|
||||
| `show_swap` | `true` | 如果總 swap 使用量不為零的話,顯示 swap 使用量 |
|
||||
| `threshold` | `75` | 將記憶體使用量隱藏,除非使用量超過指定值。 |
|
||||
| `symbol` | `"🐏 "` | 顯示在記憶體使用量之前的符號。 |
|
||||
| `style` | `"bold dimmed white"` | 這個模組的風格。 |
|
||||
| `disabled` | `true` | 停用 `memory_usage` 模組。 |
|
||||
| 變數 | 預設 | 說明 |
|
||||
| ----------------- | --------------------- | ------------------------------------------------------------- |
|
||||
| `show_percentage` | `false` | 以剩餘記憶體佔有的百分比的方式顯示記憶體使用狀況。 |
|
||||
| `show_swap` | `true` | 如果總 swap 使用量不為零的話,顯示 swap 使用量 |
|
||||
| `threshold` | `75` | 將記憶體使用量隱藏,除非使用量超過指定值。 |
|
||||
| `symbol` | `"🐏 "` | 顯示在記憶體使用量之前的符號。 |
|
||||
| `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. |
|
||||
|
||||
### 範例
|
||||
|
||||
@@ -680,6 +683,7 @@ show_percentage = true
|
||||
show_swap = true
|
||||
threshold = -1
|
||||
symbol = " "
|
||||
separator = "/"
|
||||
style = "bold dimmed green"
|
||||
```
|
||||
|
||||
@@ -775,6 +779,7 @@ symbol = "🎁 "
|
||||
- 目前資料夾中有一個 `.py` 副檔名的檔案
|
||||
- 目前資料夾中有一個 `Pipfile` 檔案
|
||||
- 目前資料夾中有一個 `tox.ini` 檔案
|
||||
- A virtual environment is currently activated
|
||||
|
||||
### 選項
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
src="https://github.com/starship/starship/workflows/Main%20workflow/badge.svg"
|
||||
alt="GitHub Actions workflow status" /></a>
|
||||
<a href="https://crates.io/crates/starship"
|
||||
><img src="https://badgen.net/crates/v/starship" alt="Crates.io version" /></a>
|
||||
><img src="https://img.shields.io/crates/v/starship" alt="Crates.io version" /></a>
|
||||
<a href="https://repology.org/project/starship/versions"
|
||||
><img
|
||||
src="https://repology.org/badge/tiny-repos/starship.svg"
|
||||
@@ -19,12 +19,12 @@
|
||||
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
|
||||
<a href="#contributors">
|
||||
<img
|
||||
src="https://badgen.net/badge/all%20contributors/42/orange"
|
||||
src="https://img.shields.io/badge/all%20contributors-49-orange"
|
||||
alt="All Contributors" /></a>
|
||||
<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
||||
<a href="https://discord.gg/8Jzqu3T"
|
||||
><img
|
||||
src="https://badgen.net/badge/chat/on%20discord/7289da"
|
||||
src="https://img.shields.io/discord/567163873606500352?logo=discord"
|
||||
alt="Chat on Discord" /></a>
|
||||
</p>
|
||||
|
||||
@@ -294,6 +294,11 @@
|
||||
<td align="center"><a href="https://weihanglo.tw"><img src="https://avatars2.githubusercontent.com/u/14314532?v=4" width="100px;" alt="Weihang Lo" /><br /><sub><b>Weihang Lo</b></sub></a><br /><a href="#translation-weihanglo" title="Translation">🌍</a></td>
|
||||
<td align="center"><a href="https://github.com/pinshan"><img src="https://avatars0.githubusercontent.com/u/7709675?v=4" width="100px;" alt="pinshan" /><br /><sub><b>pinshan</b></sub></a><br /><a href="#translation-pinshan" title="Translation">🌍</a></td>
|
||||
<td align="center"><a href="https://github.com/brianlow"><img src="https://avatars2.githubusercontent.com/u/938138?v=4" width="100px;" alt="Brian Low" /><br /><sub><b>Brian Low</b></sub></a><br /><a href="https://github.com/starship/starship/commits?author=brianlow" title="Code">💻</a> <a href="https://github.com/starship/starship/commits?author=brianlow" title="Documentation">📖</a> <a href="https://github.com/starship/starship/commits?author=brianlow" title="Tests">⚠️</a></td>
|
||||
<td align="center"><a href="http://matiaskotlik.github.io"><img src="https://avatars2.githubusercontent.com/u/20362627?v=4" width="100px;" alt="Matias Kotlik" /><br /><sub><b>Matias Kotlik</b></sub></a><br /><a href="https://github.com/starship/starship/commits?author=matiaskotlik" title="Code">💻</a></td>
|
||||
<td align="center"><a href="https://marblenix.com"><img src="https://avatars0.githubusercontent.com/u/6401427?v=4" width="100px;" alt="marblenix" /><br /><sub><b>marblenix</b></sub></a><br /><a href="#infra-marblenix" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><a href="https://github.com/weirongxu"><img src="https://avatars3.githubusercontent.com/u/1709861?v=4" width="100px;" alt="Raidou" /><br /><sub><b>Raidou</b></sub></a><br /><a href="https://github.com/starship/starship/commits?author=weirongxu" title="Code">💻</a> <a href="https://github.com/starship/starship/commits?author=weirongxu" title="Tests">⚠️</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user