1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-12-04 19:03:38 +00:00

docs(i18n): new Crowdin updates (#5883)

* New translations readme.md (Chinese Traditional)

* New translations readme.md (Chinese Traditional)

* New translations readme.md (Chinese Traditional)

* New translations readme.md (Chinese Traditional)

* New translations readme.md (Chinese Traditional)
This commit is contained in:
Matan Kushner 2024-03-30 00:42:36 +09:00 committed by GitHub
parent 4131edaa60
commit df477694d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 40 additions and 40 deletions

View File

@ -22,7 +22,7 @@ features:
footer: ISC Licensed | Copyright © 2019-present Starship Contributors
#Used for the description meta tag, for SEO
metaTitle: "Starship跨 Shell 提示字元"
description: Starship 是適合任何 shell 的最小、極速、高度客製化的提示字元! 顯示你需要的訊息,同時保持順暢與最小化。 Quick installation available for Bash, Fish, ZSH, Ion, Tcsh, Elvish, Nu, Xonsh, Cmd, and PowerShell.
description: Starship 是適合任何 shell 的最小、極速、高度客製化的提示字元! 顯示你需要的訊息,同時保持順暢與最小化。 有針對 Bash、Fish、ZSH、Ion 、Tcsh、Elvish、Nu、Xonsh、Cmd 與 Powershell 的快速安裝指南。
---
<video class="demo-video" muted autoplay loop playsinline>
@ -58,7 +58,7 @@ description: Starship 是適合任何 shell 的最小、極速、高度客製化
brew install starship
```
With [Winget](https://github.com/microsoft/winget-cli):
使用 [Winget](https://github.com/microsoft/winget-cli)
```powershell
winget install starship
@ -124,7 +124,7 @@ description: Starship 是適合任何 shell 的最小、極速、高度客製化
::: warning
Only elvish v0.18 or higher is supported.
只有支援 elvish v0.18 或以上版本。
:::
@ -152,18 +152,18 @@ description: Starship 是適合任何 shell 的最小、極速、高度客製化
::: warning
This will change in the future. Only Nushell v0.78+ is supported.
這項設定未來會改變。 只有支援 Nushell v0.78+。
:::
Add the following to the end of your Nushell env file (find it by running `$nu.env-path` in Nushell):
新增下列內容至你的 Nushell env 檔案中的最下方(在 Nushell 執行 `$nu.env-path` 找到它)。
```sh
mkdir ~/.cache/starship
starship init nu | save -f ~/.cache/starship/init.nu
```
And add the following to the end of your Nushell configuration (find it by running `$nu.config-path`):
新增下列的內容至你的 Nushell 設定檔最下方(執行 `$nu.config-path` 找到它):
```sh
use ~/.cache/starship/init.nu
@ -183,7 +183,7 @@ description: Starship 是適合任何 shell 的最小、極速、高度客製化
#### 命令提示字元
您需要在 Cmd 中使用 [Clink](https://chrisant996.github.io/clink/clink.html) (v1.2.30+)。 Add the following to a file `starship.lua` and place this file in Clink scripts directory:
您需要在 Cmd 中使用 [Clink](https://chrisant996.github.io/clink/clink.html) (v1.2.30+)。 新增下列的內容到檔案 `starship.lua` 中並將這個檔案存放在 Clink scripts 的路徑下方:
```lua
-- starship.lua

View File

@ -1,4 +1,4 @@
# Frequently Asked Questions
# 常見問題FAQ
## 主頁示例圖中的效果是使用哪些配置達成的?
@ -64,9 +64,9 @@ Starship executes different commands to get information to display in the prompt
如果你看見了一些不認得的符號,你可以使用 `starship explain` 來列出當下顯示出的 modules 的解釋。
## Starship is doing something unexpected, how can I debug it?
## Starship 運作時做出預期之外的事情,我該怎麼除錯?
You can enable the debug logs by using the `STARSHIP_LOG` env var. These logs can be very verbose so it is often useful to use the `module` command if you are trying to debug a particular module, for example, if you are trying to debug the `rust` module you could run the following command to get the trace logs and output from the module.
你可以使用 `STARSHIP_LOG` 環境變數開啟除錯記錄 (debug logs)。 These logs can be very verbose so it is often useful to use the `module` command if you are trying to debug a particular module, for example, if you are trying to debug the `rust` module you could run the following command to get the trace logs and output from the module.
```sh
env STARSHIP_LOG=trace starship module rust
@ -117,7 +117,7 @@ echo -e "\xee\x82\xa0"
如果你是透過安裝腳本來安裝 Starship 的,可以執行以下的命令來移除執行檔。
```sh
# Locate and delete the starship binary
# 定位並且刪除 starship 執行檔
sh -c 'rm "$(command -v 'starship')"'
```

View File

@ -15,7 +15,7 @@
<a href="https://crates.io/crates/starship"
><img
src="https://img.shields.io/crates/v/starship?style=flat-square"
alt="Crates.io version"
alt="Crates.io 版本"
/></a>
<a href="https://repology.org/project/starship/versions"
><img
@ -189,9 +189,9 @@
<details>
<summary>Android</summary>
Install Starship using any of the following package managers:
透過下列的套件管理器安裝 Starship
| Repository | Instructions |
| 儲存庫 | 說明 |
| --------------------------------------------------------------------------------- | ---------------------- |
| [Termux](https://github.com/termux/termux-packages/tree/master/packages/starship) | `pkg install starship` |
@ -200,32 +200,32 @@ Install Starship using any of the following package managers:
<details>
<summary>BSD</summary>
Install Starship using any of the following package managers:
透過下列的套件管理器安裝 Starship
| Distribution | Repository | Instructions |
| ------------ | -------------------------------------------------------- | --------------------------------- |
| **_Any_** | **[crates.io](https://crates.io/crates/starship)** | `cargo install starship --locked` |
| FreeBSD | [FreshPorts](https://www.freshports.org/shells/starship) | `pkg install starship` |
| NetBSD | [pkgsrc](https://pkgsrc.se/shells/starship) | `pkgin install starship` |
| 發行版本 | 儲存庫 | 說明 |
| ---------- | -------------------------------------------------------- | --------------------------------- |
| **_任一版本_** | **[crates.io](https://crates.io/crates/starship)** | `cargo install starship --locked` |
| FreeBSD | [FreshPorts](https://www.freshports.org/shells/starship) | `pkg install starship` |
| NetBSD | [pkgsrc](https://pkgsrc.se/shells/starship) | `pkgin install starship` |
</details>
<details>
<summary>Linux</summary>
Install the latest version for your system:
為你的系統安裝最新版本:
```sh
curl -sS https://starship.rs/install.sh | sh
```
Alternatively, install Starship using any of the following package managers:
或者,透過下列的套件管理器安裝 Starship
| Distribution | Repository | Instructions |
| 發行版本 | 儲存庫 | 說明 |
| ------------------ | ----------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------ |
| **_Any_** | **[crates.io](https://crates.io/crates/starship)** | `cargo install starship --locked` |
| _Any_ | [conda-forge](https://anaconda.org/conda-forge/starship) | `conda install -c conda-forge starship` |
| _Any_ | [Linuxbrew](https://formulae.brew.sh/formula/starship) | `brew install starship` |
| **_任一版本_** | **[crates.io](https://crates.io/crates/starship)** | `cargo install starship --locked` |
| _任一版本_ | [conda-forge](https://anaconda.org/conda-forge/starship) | `conda install -c conda-forge starship` |
| _任一版本_ | [Linuxbrew](https://formulae.brew.sh/formula/starship) | `brew install starship` |
| Alpine Linux 3.13+ | [Alpine Linux Packages](https://pkgs.alpinelinux.org/packages?name=starship) | `apk add starship` |
| Arch Linux | [Arch Linux Extra](https://archlinux.org/packages/extra/x86_64/starship) | `pacman -S starship` |
| CentOS 7+ | [Copr](https://copr.fedorainfracloud.org/coprs/atim/starship) | `dnf copr enable atim/starship` <br /> `dnf install starship` |
@ -240,15 +240,15 @@ Alternatively, install Starship using any of the following package managers:
<details>
<summary>macOS</summary>
Install the latest version for your system:
為你的系統安裝最新版本:
```sh
curl -sS https://starship.rs/install.sh | sh
```
Alternatively, install Starship using any of the following package managers:
或者,透過下列的套件管理器安裝 Starship
| Repository | Instructions |
| 儲存庫 | 說明 |
| -------------------------------------------------------- | --------------------------------------- |
| **[crates.io](https://crates.io/crates/starship)** | `cargo install starship --locked` |
| [conda-forge](https://anaconda.org/conda-forge/starship) | `conda install -c conda-forge starship` |
@ -260,11 +260,11 @@ Alternatively, install Starship using any of the following package managers:
<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).
透過[發布區](https://github.com/starship/starship/releases/latest)中的 MSI 安裝程式為你的系統安裝最新版本:
Install Starship using any of the following package managers:
透過下列的套件管理器安裝 Starship
| Repository | Instructions |
| 儲存庫 | 說明 |
| -------------------------------------------------------------------------------------------- | --------------------------------------- |
| **[crates.io](https://crates.io/crates/starship)** | `cargo install starship --locked` |
| [Chocolatey](https://community.chocolatey.org/packages/starship) | `choco install starship` |
@ -338,14 +338,14 @@ eval $(starship init ion)
<details>
<summary>Nushell</summary>
Add the following to the end of your Nushell env file (find it by running `$nu.env-path` in Nushell):
新增下列內容至你的 Nushell env 檔案中的最下方(在 Nushell 執行 `$nu.env-path` 找到它)。
```sh
mkdir ~/.cache/starship
starship init nu | save -f ~/.cache/starship/init.nu
```
And add the following to the end of your Nushell configuration (find it by running `$nu.config-path`):
新增下列的內容至你的 Nushell 設定檔最下方(執行 `$nu.config-path` 找到它):
```sh
use ~/.cache/starship/init.nu
@ -358,7 +358,7 @@ Note: Only Nushell v0.78+ is supported
<details>
<summary>PowerShell</summary>
Add the following to the end of your PowerShell configuration (find it by running `$PROFILE`):
新增下列的內容至你的 PowerShell 設定檔最下方(執行 `$PROFILE` 找到它):
```powershell
Invoke-Expression (&starship init powershell)
@ -421,11 +421,11 @@ eval "$(starship init zsh)"
請看之前這些幫助我們創造 Starship 的前任作品。 🙏
- **[denysdovhan/spaceship-prompt](https://github.com/denysdovhan/spaceship-prompt)** A ZSH prompt for astronauts.
- **[denysdovhan/spaceship-prompt](https://github.com/denysdovhan/spaceship-prompt)** 一個給太空人用的 ZSH 提示符號。
- **[denysdovhan/robbyrussell-node](https://github.com/denysdovhan/robbyrussell-node)** Cross-shell robbyrussell theme written in JavaScript.
- **[denysdovhan/robbyrussell-node](https://github.com/denysdovhan/robbyrussell-node)** 使用 JavaScript 寫出的跨終端機 robbyrussell 主題。
- **[reujab/silver](https://github.com/reujab/silver)** A cross-shell customizable powerline-like prompt with icons.
- **[reujab/silver](https://github.com/reujab/silver)** - 一個跨 shell、可客製化、像 powerline 的圖案提示符號。
## ❤️ 贊助我們

View File

@ -5,7 +5,7 @@
1. 下載 **starship** 執行檔到你的電腦裡
1. 修改 shell 的初始化腳本,讓其使用 starship 作為提示字元
For most users, the instructions on [the main page](../guide/#🚀-installation) will work great. 然而,對於一些較特別的平台,我們需要不同的安裝指引。
多數的使用者中, [主頁面](../guide/#🚀-installation)中的教學可以順利運作。 然而,對於一些較特別的平台,我們需要不同的安裝指引。
有太多平台不適用於主要的 README.md 檔案了,所以這裡有一些來自社群的其他平台的安裝指引。 你的平台不在這裡嗎? 如果你找出怎麼安裝,請幫我們加上你的指引!
@ -39,7 +39,7 @@ curl -sS https://starship.rs/install.sh | sh -s -- --bin-dir /data/data/com.term
### 安裝
On Funtoo Linux, starship can be installed from [core-kit](https://github.com/funtoo/core-kit/tree/1.4-release/app-shells/starship) via Portage:
在 Funtoo Linuxstarship 可以透過 Portage 並從 [core-kit](https://github.com/funtoo/core-kit/tree/1.4-release/app-shells/starship) 中安裝:
```sh
emerge app-shells/starship