docs(i18n): new Crowdin translations (#1238)

This commit is contained in:
Matan Kushner
2020-05-23 19:10:58 -04:00
committed by GitHub
parent 63799b97d1
commit accba5027d
20 changed files with 797 additions and 41 deletions
+84
View File
@@ -32,6 +32,11 @@ disabled = true
export STARSHIP_CONFIG=~/.starship
```
Equivalently in PowerShell (Windows) would be adding this line to your `$PROFILE`:
```ps1
$ENV:STARSHIP_CONFIG = "$HOME\.starship"
```
### 用語
**モジュール**: OSのコンテキスト情報に基づいて情報を提供するプロンプト内のコンポーネントです。 たとえば、現在のディレクトリがNodeJSプロジェクトである場合、「nodejs」モジュールは、現在コンピューターにインストールされているNodeJSのバージョンを表示します。
@@ -109,11 +114,14 @@ prompt_order = [
"java",
"julia",
"nodejs",
"ocaml",
"php",
"purescript",
"python",
"ruby",
"rust",
"terraform",
"zig",
"nix_shell",
"conda",
"memory_usage",
@@ -1029,6 +1037,34 @@ symbol = "🤖 "
symbol = "🎁 "
```
## OCaml
The `ocaml` module shows the currently installed version of OCaml. 次の条件のいずれかが満たされると、モジュールが表示されます。
- The current directory contains a file with `.opam` extension or `_opam` directory
- The current directory contains a `esy.lock` directory
- The current directory contains a `dune` or `dune-project` file
- The current directory contains a `jbuild` or `jbuild-ignore` file
- The current directory contains a `.merlin` file
- The current directory contains a file with `.ml`, `.mli`, `.re` or `.rei` extension
### オプション
| 変数 | デフォルト | 説明 |
| ---------- | --------------- | ------------------------------------------------------- |
| `symbol` | `"🐫 "` | The symbol used before displaying the version of OCaml. |
| `style` | `"bold yellow"` | モジュールのスタイルです。 |
| `disabled` | `false` | Disables the `ocaml` module. |
### 設定例
```toml
# ~/.config/starship.toml
[ocaml]
symbol = "🐪 "
```
## PHP
`php`モジュールは、現在インストールされているPHPのバージョンを示します。 次の条件のいずれかが満たされると、モジュールが表示されます。
@@ -1252,6 +1288,30 @@ utc_time_offset = "-5"
disabled = true
```
## Zig
The `zig` module shows the currently installed version of Zig. 次の条件のいずれかが満たされると、モジュールが表示されます。
- The current directory contains a `.zig` file
### オプション
| 変数 | デフォルト | 説明 |
| ---------- | --------------- | ----------------------------------------------------- |
| `symbol` | `"↯ "` | The symbol used before displaying the version of Zig. |
| `style` | `"bold yellow"` | モジュールのスタイルです。 |
| `disabled` | `false` | Disables the `zig` module. |
### 設定例
```toml
# ~/.config/starship.toml
[zig]
symbol = "⚡️ "
```
## Custom commands
The `custom` modules show the output of some arbitrary commands.
@@ -1302,3 +1362,27 @@ files = ["foo"] # can specify filters
when = """ test "$HOME" == "$PWD" """
prefix = " transcending "
```
## PureScript
The `purescript` module shows the currently installed version of PureScript version. 次の条件のいずれかが満たされると、モジュールが表示されます。
- The current directory contains a `spago.dhall` file
- The current directory contains a \*.purs files
### オプション
| 変数 | デフォルト | 説明 |
| ---------- | -------------- | ------------------------------------------------------------ |
| `symbol` | `"<=> "` | The symbol used before displaying the version of PureScript. |
| `style` | `"bold white"` | モジュールのスタイルです。 |
| `disabled` | `false` | Disables the `purescript` module. |
### 設定例
```toml
# ~/.config/starship.toml
[purescript]
symbol = "<=> "
```