summaryrefslogtreecommitdiffstats
path: root/docs/ja-JP/config/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ja-JP/config/README.md')
-rw-r--r--docs/ja-JP/config/README.md1113
1 files changed, 570 insertions, 543 deletions
diff --git a/docs/ja-JP/config/README.md b/docs/ja-JP/config/README.md
index e80ca51c8..1bae32c2f 100644
--- a/docs/ja-JP/config/README.md
+++ b/docs/ja-JP/config/README.md
@@ -3,7 +3,7 @@
Starshipの設定を開始するには、`~/.config/starship.toml` ファイルを作成します。
```sh
-mkdir -p ~/.config && starship print-config --default > ~/.config/starship.toml
+mkdir -p ~/.config && touch ~/.config/starship.toml
```
Starshipのすべての設定は、この[TOML](https://github.com/toml-lang/toml)ファイルで行われます。
@@ -49,9 +49,9 @@ $ENV:STARSHIP_CACHE = "$HOME\AppData\Local\Temp"
### 用語
-**モジュール**: OSのコンテキスト情報に基づいて情報を提供するプロンプト内のコンポーネントです。 たとえば、現在のディレクトリがNodeJSプロジェクトである場合、「nodejs」モジュールは、現在コンピューターにインストールされているNodeJSのバージョンを表示します。
+**モジュール**: OSのコンテキスト情報に基づいて情報を提供するプロンプト内のコンポーネントです。 For example, the "nodejs" module shows the version of Node.js that is currently installed on your computer, if your current directory is a Node.js project.
-**変数**: モジュールが提供する情報を含むサブコンポーネントを小さくする。 例えば、"nodejs" モジュール内の "version" 変数には、NodeJS の現在のバージョンが含まれています。
+**変数**: モジュールが提供する情報を含むサブコンポーネントを小さくする。 For example, the "version" variable in the "nodejs" module contains the current version of Node.js.
慣例により、ほとんどのモジュールにはデフォルトの端末色の接頭辞(「nodejs」の`via` など)と接尾辞として空のスペースがあります。
@@ -147,7 +147,7 @@ format = '''
| `format` | [link](#default-prompt-format) | プロンプトの形式を設定します。 |
| `scan_timeout` | `30` | ファイルをスキャンする際のタイムアウト時間 (milliseconds) です。 |
| `command_timeout` | `500` | Timeout for commands executed by starship (in milliseconds). |
-| `add_newline` | `true` | Inserts blank line between shell prompts. |
+| `add_newline` | `true` | シェルプロンプトの間に空行を挿入します。 |
### 設定例
@@ -266,7 +266,7 @@ When using [AWSume](https://awsu.me) the profile is read from the `AWSUME_PROFIL
| symbol | | オプション `記号` の値をミラーする |
| style\* | | オプション `style` の値をミラーする |
-\*: This variable can only be used as a part of a style string
+\*: この変数はスタイル文字列の一部としてのみ使用できます
### 設定例
@@ -311,7 +311,7 @@ symbol = "🅰 "
## バッテリー
-The `battery` module shows how charged the device's battery is and its current charging status. The module is only visible when the device's battery is below 10%.
+`battery`モジュールは、デバイスのバッテリー残量と現在の充電状態を示します。 モジュールは、デバイスのバッテリー残量が10%未満の場合にのみ表示されます。
### オプション
@@ -339,7 +339,7 @@ discharging_symbol = "💀 "
### バッテリーの表示
-The `display` configuration option is used to define when the battery indicator should be shown (threshold), which symbol would be used (symbol), and what it would like (style). If no `display` is provided. デフォルトは次のとおりです。
+The `display` configuration option is used to define when the battery indicator should be shown (threshold), which symbol would be used (symbol), and what it would like (style). `display` が提供されない場合、 デフォルトは次のとおりです。
```toml
[[battery.display]]
@@ -351,12 +351,12 @@ The default value for the `charging_symbol` and `discharging_symbol` option is r
#### オプション
-The `display` option is an array of the following table.
+`display`オプションは、次の表の通りです。
| オプション | デフォルト | 説明 |
| -------------------- | ---------- | --------------------------------------------------------------------------------------------------------- |
-| `threshold` | `10` | The upper bound for the display option. |
-| `style` | `bold red` | The style used if the display option is in use. |
+| `threshold` | `10` | バッテリーが表示される上限です。 |
+| `style` | `bold red` | displayオプションが使用されている場合のスタイルです。 |
| `charging_symbol` | `-` | Optional symbol displayed if display option is in use, defaults to battery's `charging_symbol` option. |
| `discharging_symbol` | `-` | Optional symbol displayed if display option is in use, defaults to battery's `discharging_symbol` option. |
@@ -378,16 +378,16 @@ discharging_symbol = 💦
## 文字
-The `character` module shows a character (usually an arrow) beside where the text is entered in your terminal.
+`character`モジュールは、端末でテキストが入力される場所の横に文字(通常は矢印)を表示します。
-The character will tell you whether the last command was successful or not. It can do this in two ways:
+文字は、最後のコマンドが成功したかどうかを示します。 表し方は下記の2つです。
- 色の変更 (`赤`/`緑`)
- プロンプトの表示の変更 (`❯`/`✖`)
-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).
+デフォルトでは、色だけが変更されます。 If you also want to change its shape take a look at [this example](#with-custom-error-shape).
-::: warning `error_symbol` is not supported on elvish shell. :::
+::: warning `error_symbol` はelvishシェルではサポートされていません。 :::
### オプション
@@ -438,22 +438,23 @@ vicmd_symbol = "[V](bold green) "
## CMake
-The `cmake` module shows the currently installed version of CMake. By default the module will be activated if any of the following conditions are met:
+The `cmake` module shows the currently installed version of [CMake](https://cmake.org/). デフォルトでは次のいずれかの条件が満たされると、モジュールがアクティブになります。
- カレントディレクトリに `CMakeLists.txt` ファイルが含まれている
- カレントディレクトリに `CMakeCache.txt` ファイルが含まれている
### オプション
-| オプション | デフォルト | 説明 |
-| ------------------- | -------------------------------------- | ------------------------- |
-| `format` | `"via [$symbol($version )]($style)"` | moduleのフォーマットです。 |
-| `symbol` | `"△ "` | cmakeのバージョンの前に使用される記号 |
-| `detect_extensions` | `[]` | どの拡張子がこのモジュールをアクティブにするか |
-| `detect_files` | `["CMakeLists.txt", "CMakeCache.txt"]` | どのファイル名がこのモジュールをアクティブにするか |
-| `detect_folders` | `[]` | どのフォルダーがこのモジュールをアクティブにするか |
-| `style` | `"bold blue"` | モジュールのスタイルです。 |
-| `disabled` | `false` | `cmake`モジュールを無効にします。 |
+| オプション | デフォルト | 説明 |
+| ------------------- | -------------------------------------- | ------------------------------------------------------------------------- |
+| `format` | `"via [$symbol($version )]($style)"` | moduleのフォーマットです。 |
+| `version_format` | `v{raw}` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
+| `symbol` | `"△ "` | cmakeのバージョンの前に使用される記号 |
+| `detect_extensions` | `[]` | どの拡張子がこのモジュールをアクティブにするか |
+| `detect_files` | `["CMakeLists.txt", "CMakeCache.txt"]` | どのファイル名がこのモジュールをアクティブにするか |
+| `detect_folders` | `[]` | どのフォルダーがこのモジュールをアクティブにするか |
+| `style` | `"bold blue"` | モジュールのスタイルです。 |
+| `disabled` | `false` | `cmake`モジュールを無効にします。 |
### 変数
@@ -463,19 +464,19 @@ The `cmake` module shows the currently installed version of CMake. By default th
| symbol | | オプション `記号` の値をミラーする |
| style\* | | オプション `style` の値をミラーする |
-\*: This variable can only be used as a part of a style string
+\*: この変数はスタイル文字列の一部としてのみ使用できます
## コマンド実行時間
-The `cmd_duration` module shows how long the last command took to execute. The module will be shown only if the command took longer than two seconds, or the `min_time` config value, if it exists.
+`cmd_duration`モジュールは、最後のコマンドの実行にかかった時間を示します。 モジュールが表示されるのは、コマンドが2秒以上かかった場合、または`min_time`値が存在する場合のみです。
-::: warning Do not hook the DEBUG trap in Bash
+::: warning BashでDEBUGトラップをhookしない
-If you are running Starship in `bash`, do not hook the `DEBUG` trap after running `eval $(starship init $0)`, or this module **will** break.
+`bash`でStarshipを実行している場合、 `eval $(starship init $0)`実行した後に`DEBUG`トラップをフックしないでください。そうしないと、このモジュールが**おそらくですが**壊れます。
:::
-Bash users who need preexec-like functionality can use [rcaloras's bash_preexec framework](https://github.com/rcaloras/bash-preexec). Simply define the arrays `preexec_functions` and `precmd_functions` before running `eval $(starship init $0)`, and then proceed as normal.
+preexecのような機能を必要とするBashユーザーは、 [rcalorasのbash_preexecフレームワーク](https://github.com/rcaloras/bash-preexec)を使用できます。 `eval $(starship init $0)` を実行する前に、`preexec_functions`、および`precmd_functions`定義するだけで、通常どおり続行します。
### オプション
@@ -491,7 +492,7 @@ Bash users who need preexec-like functionality can use [rcaloras's bash_preexec
::: tip
-Showing desktop notifications requires starship to be built with `rust-notify` support. You check if your starship supports notifications by running `STARSHIP_LOG=debug starship module cmd_duration -d 60000` when `show_notifications` is set to `true`.
+デスクトップ通知を表示するには、 `rust-notify` をサポートしているstarshipをビルドする必要があります。 `show_notifications` が `true` となっている状態で `STARSHIP_LOG=debug starship module cmd_duration -d 60000` を実行することにより、starshipが通知をサポートしているかを確認することができます。
:::
@@ -502,7 +503,7 @@ Showing desktop notifications requires starship to be built with `rust-notify` s
| duration | `16m40s` | コマンドの実行時間 |
| style\* | | オプション `style` の値をミラーする |
-\*: This variable can only be used as a part of a style string
+\*: この変数はスタイル文字列の一部としてのみ使用できます
### 設定例
@@ -516,11 +517,11 @@ format = "underwent [$duration](bold yellow)"
## Conda
-The `conda` module shows the current conda environment, if `$CONDA_DEFAULT_ENV` is set.
+`$CONDA_DEFAULT_ENV`が設定されている場合、`conda`モジュールは現在のcondaの環境を表示します。
::: tip
-This does not suppress conda's own prompt modifier, you may want to run `conda config --set changeps1 False`.
+Note: これはconda自身の プロンプト修飾子 を抑制しません。`conda config --set changeps1 False` で実行することができます。
:::
@@ -543,7 +544,7 @@ This does not suppress conda's own prompt modifier, you may want to run `conda c
| symbol | | オプション `記号` の値をミラーする |
| style\* | | オプション `style` の値をミラーする |
-\*: This variable can only be used as a part of a style string
+\*: この変数はスタイル文字列の一部としてのみ使用できます
### 設定例
@@ -556,22 +557,23 @@ format = "[$symbol$environment](dimmed green) "
## Crystal
-The `crystal` module shows the currently installed version of Crystal. デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。
+The `crystal` module shows the currently installed version of [Crystal](https://crystal-lang.org/). デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。
- カレントディレクトリに`shard.yml`ファイルが含まれている
- カレントディレクトリに`.cr`の拡張子のファイルが含まれている
### オプション
-| オプション | デフォルト | 説明 |
-| ------------------- | ------------------------------------ | ------------------------------ |
-| `symbol` | `"🔮 "` | Crystalのバージョンを表示する前に使用される記号です。 |
-| `style` | `"bold red"` | モジュールのスタイルです。 |
-| `detect_extensions` | `["cr"]` | どの拡張子がこのモジュールをアクティブにするか |
-| `detect_files` | `["shard.yml"]` | どのファイル名がこのモジュールをアクティブにするか |
-| `detect_folders` | `[]` | どのフォルダーがこのモジュールをアクティブにするか |
-| `format` | `"via [$symbol($version )]($style)"` | moduleのフォーマットです。 |
-| `disabled` | `false` | `crystal`モジュールを無効にします。 |
+| オプション | デフォルト | 説明 |
+| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- |
+| `symbol` | `"🔮 "` | Crystalのバージョンを表示する前に使用される記号です。 |
+| `format` | `"via [$symbol($version )]($style)"` | moduleのフォーマットです。 |
+| `version_format` | `v{raw}` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
+| `style` | `"bold red"` | モジュールのスタイルです。 |
+| `detect_extensions` | `["cr"]` | どの拡張子がこのモジュールをアクティブにするか |
+| `detect_files` | `["shard.yml"]` | どのファイル名がこのモジュールをアクティブにするか |
+| `detect_folders` | `[]` | どのフォルダーがこのモジュールをアクティブにするか |
+| `disabled` | `false` | `crystal`モジュールを無効にします。 |
### 変数
@@ -581,7 +583,7 @@ The `crystal` module shows the currently installed version of Crystal. デフォ
| symbol | | オプション `記号` の値をミラーする |
| style\* | | オプション `style` の値をミラーする |
-\*: This variable can only be used as a part of a style string
+\*: この変数はスタイル文字列の一部としてのみ使用できます
### 設定例
@@ -594,7 +596,7 @@ format = "via [✨ $version](bold blue) "
## Dart
-The `dart` module shows the currently installed version of Dart. デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。
+The `dart` module shows the currently installed version of [Dart](https://dart.dev/). デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。
- The current directory contains a file with `.dart` extension
- The current directory contains a `.dart_tool` directory
@@ -602,15 +604,16 @@ The `dart` module shows the currently installed version of Dart. デフォルト
### オプション
-| オプション | デフォルト | 説明 |
-| ------------------- | ------------------------------------------------- | ------------------------- |
-| `format` | `"via [$symbol($version )]($style)"` | moduleのフォーマットです。 |
-| `symbol` | `"🎯 "` | Dartのシンボルを表すフォーマット文字列 |
-| `detect_extensions` | `['dart']` | どの拡張子がこのモジュールをアクティブにするか |
-| `detect_files` | `["pubspec.yaml", "pubspec.yml", "pubspec.lock"]` | どのファイル名がこのモジュールをアクティブにするか |
-| `detect_folders` | `[".dart_tool"]` | どのフォルダーがこのモジュールをアクティブにするか |
-| `style` | `"bold blue"` | モジュールのスタイルです。 |
-| `disabled` | `false` | `dart`モジュールを無効にします。 |
+| オプション | デフォルト | 説明 |
+| ------------------- | ------------------------------------------------- | ------------------------------------------------------------------------- |
+| `format` | `"via [$symbol($version )]($style)"` | moduleのフォーマットです。 |
+| `version_format` | `v{raw}` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
+| `symbol` | `"🎯 "` | Dartのシンボルを表すフォーマット文字列 |
+| `detect_extensions` | `["dart"]` | どの拡張子がこのモジュールをアクティブにするか |
+| `detect_files` | `["pubspec.yaml", "pubspec.yml", "pubspec.lock"]` | どのファイル名がこのモジュールをアクティブにするか |
+| `detect_folders` | `[".dart_tool"]` | どのフォルダーがこのモジュールをアクティブにするか |
+| `style` | `"bold blue"` | モジュールのスタイルです。 |
+| `disabled` | `false` | `dart`モジュールを無効にします。 |
### 変数
@@ -620,7 +623,7 @@ The `dart` module shows the currently installed version of Dart. デフォルト
| symbol | | オプション `記号` の値をミラーする |
| style\* | | オプション `style` の値をミラーする |
-\*: This variable can only be used as a part of a style string
+\*: この変数はスタイル文字列の一部としてのみ使用できます
### 設定例
@@ -633,20 +636,21 @@ format = "via [🔰 $version](bold red) "
## Deno
-The `deno` module shows you your currently installed version of Deno. By default the module will be shown if any of the following conditions are met:
+The `deno` module shows you your currently installed version of [Deno](https://deno.land/). デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。
- The current directory contains a `mod.ts`, `mod.js`, `deps.ts` or `deps.js` file
### オプション
-| オプション | デフォルト | 説明 |
-| ------------------- | -------------------------------------------- | --------------------------- |
-| `format` | `"via [$symbol($version )]($style)"` | module のフォーマットです。 |
-| `symbol` | `"🦕 "` | Dart のシンボルを表すフォーマット文字列 |
-| `detect_extensions` | `[]` | どの拡張子がこのモジュールをアクティブにするか |
-| `detect_files` | `["mod.ts", "mod.js", "deps.ts", "deps.js"]` | どのファイル名がこのモジュールをアクティブにするか |
-| `detect_folders` | `[]` | どのフォルダーがこのモジュールをアクティブにするか |
-| `style` | `"green bold"` | モジュールのスタイルです。 |
-| `disabled` | `false` | Disables the `deno` module. |
+| オプション | デフォルト | 説明 |
+| ------------------- | -------------------------------------------- | ------------------------------------------------------------------------- |
+| `format` | `"via [$symbol($version )]($style)"` | module のフォーマットです。 |
+| `version_format` | `v{raw}` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
+| `symbol` | `"🦕 "` | Dart のシンボルを表すフォーマット文字列 |
+| `detect_extensions` | `[]` | どの拡張子がこのモジュールをアクティブにするか |
+| `detect_files` | `["mod.ts", "mod.js", "deps.ts", "deps.js"]` | どのファイル名がこのモジュールをアクティブにするか |
+| `detect_folders` | `[]` | どのフォルダーがこのモジュールをアクティブにするか |
+| `style` | `"green bold"` | モジュールのスタイルです。 |
+| `disabled` | `false` | Disables the `deno` module. |
### 変数
@@ -667,33 +671,33 @@ format = "via [🦕 $version](green bold) "
## Directory
-The `directory` module shows the path to your current directory, truncated to three parent folders. Your directory will also be truncated to the root of the git repo that you're currently in.
+`directory`モジュールには、現在のディレクトリへのパスが表示され、3つの親フォルダは切り捨てられます。 ディレクトリは、現在のgitリポジトリであるとルートとなります。
-When using the fish style pwd option, instead of hiding the path that is truncated, you will see a shortened name of each directory based on the number you enable for the option.
+fishスタイルのpwdオプションを使用すると、切り捨てられたパスを非表示にする代わりに、オプションで有効にした番号に基づいて各ディレクトリの短縮名が表示されます。
-For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, and the option set to `1`. You will now see `~/D/N/nixpkgs/pkgs`, whereas before it would have been `nixpkgs/pkgs`.
+例として、`~/Dev/Nix/nixpkgs/pkgs`で、`nixpkgs`がリポジトリルートであり、オプションが`1`に設定されている場合を挙げます。 以前は`nixpkgs/pkgs`でしたが、`~/D/N/nixpkgs/pkgs`が表示されます。
### オプション
-| オプション | デフォルト | 説明 |
-| ------------------- | -------------------------------------------------- | -------------------------------------------------------------------------------- |
-| `truncation_length` | `3` | The number of parent folders that the current directory should be truncated to. |
-| `truncate_to_repo` | `true` | Whether or not to truncate to the root of the git repo that you're currently in. |
-| `format` | `"[$path]($style)[$read_only]($read_only_style) "` | moduleのフォーマットです。 |
-| `style` | `"bold cyan"` | モジュールのスタイルです。 |
-| `disabled` | `false` | Disables the `directory` module. |
-| `read_only` | `"🔒"` | The symbol indicating current directory is read only. |
-| `read_only_style` | `"red"` | The style for the read only symbol. |
-| `truncation_symbol` | `""` | The symbol to prefix to truncated paths. eg: "…/" |
-| `home_symbol` | `"~"` | The symbol indicating home directory. |
+| オプション | デフォルト | 説明 |
+| ------------------- | -------------------------------------------------- | ----------------------------------------------------- |
+| `truncation_length` | `3` | 現在のディレクトリを切り捨てる親フォルダーの数です。 |
+| `truncate_to_repo` | `true` | 現在いるgitリポジトリのルートに切り捨てるかどうかです。 |
+| `format` | `"[$path]($style)[$read_only]($read_only_style) "` | moduleのフォーマットです。 |
+| `style` | `"bold cyan"` | モジュールのスタイルです。 |
+| `disabled` | `false` | `directory`モジュールを無効にします。 |
+| `read_only` | `"🔒"` | The symbol indicating current directory is read only. |
+| `read_only_style` | `"red"` | The style for the read only symbol. |
+| `truncation_symbol` | `""` | The symbol to prefix to truncated paths. eg: "…/" |
+| `home_symbol` | `"~"` | The symbol indicating home directory. |
<details>
-<summary>This module has a few advanced configuration options that control how the directory is displayed.</summary>
+<summary>このモジュールは、どのようにディレクトリを表示するかについての高度なオプションをいくつか持っています。</summary>
| Advanced Option | デフォルト | 説明 |
| --------------------------- | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `substitutions` | | A table of substitutions to be made to the path. |
-| `fish_style_pwd_dir_length` | `0` | The number of characters to use when applying fish shell pwd path logic. |
+| `fish_style_pwd_dir_length` | `0` | fish shellのpwdパスロジックを適用するときに使用する文字数です。 |
| `use_logical_path` | `true` | If `true` render the logical path sourced from the shell via `PWD` or `--logical-path`. If `false` instead render the physical filesystem path with symlinks resolved. |
`substitutions` allows you to define arbitrary replacements for literal strings that occur in the path, for example long network prefixes or development directories (i.e. Java). Note that this will disable the fish style PWD.
@@ -715,7 +719,7 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an
| path | `"D:/Projects"` | カレントディレクトリのパス |
| style\* | `"black bold dimmed"` | オプション `style` の値をミラーする |
-\*: This variable can only be used as a part of a style string
+\*: この変数はスタイル文字列の一部としてのみ使用できます
### 設定例
@@ -729,7 +733,7 @@ truncation_symbol = "…/"
## Docker Context
-The `docker_context` module shows the currently active [Docker context](https://docs.docker.com/engine/context/working-with-contexts/) if it's not set to `default`.
+`docker_context`モジュールは、 [Dockerコンテキスト](https://docs.docker.com/engine/context/working-with-contexts/)が`デフォルト`に設定されていない場合、現在アクティブな <1>Dockerコンテキストを表示します。
### オプション
@@ -742,7 +746,7 @@ The `docker_context` module shows the currently active [Docker context](https://
| `detect_files` | `The format for the module.` | Which filenames should trigger this module (needs `only_with_files` to be true). |
| `detect_folders` | `[]` | Which folders should trigger this module (needs `only_with_files` to be true). |
| `style` | `"blue bold"` | モジュールのスタイルです。 |
-| `disabled` | `false` | Disables the `docker_context` module. |
+| `disabled` | `false` | `docker_context`モジュールを無効にします。 |
### 変数
@@ -752,7 +756,7 @@ The `docker_context` module shows the currently active [Docker context](https://
| symbol | | オプション `記号` の値をミラーする |
| style\* | | オプション `style` の値をミラーする |
-\*: This variable can only be used as a part of a style string
+\*: この変数はスタイル文字列の一部としてのみ使用できます
### 設定例
@@ -765,7 +769,7 @@ format = "via [🐋 $context](blue bold)"
## Dotnet
-The `dotnet` module shows the relevant version of the .NET Core SDK for the current directory. If the SDK has been pinned in the current directory, the pinned version is shown. Otherwise the module shows the latest installed version of the SDK.
+The `dotnet` module shows the relevant version of the [.NET Core SDK](https://dotnet.microsoft.com/) for the current directory. もし SDKは現在のディレクトリに固定されているのであれば、その固定されたバージョンが表示されます。 それ以外の場合、モジュール SDKの最新のインストールバージョンを示します。
By default this module will only be shown in your prompt when one or more of the following files are present in the current directory:
@@ -781,22 +785,23 @@ By default this module will only be shown in your prompt when one or more of the
You'll also need the .NET Core SDK installed in order to use it correctly.
-Internally, this module uses its own mechanism for version detection. Typically it is twice as fast as running `dotnet --version`, but it may show an incorrect version if your .NET project has an unusual directory layout. If accuracy is more important than speed, you can disable the mechanism by setting `heuristic = false` in the module options.
+内部的に、このモジュールは自身のバージョン検知のメカニズムを利用します。 `dotnet --version` を実行するより2倍速く実行できますが、.NET project一般的でないディレクトリlayoutの場合は間違ったバージョンが示されてしまうことがあります。 速度よりも精度が重要な場合は、次の方法でメカニズムを無効にできます。 モジュールオプションで`heuristic = false `を設定します。
The module will also show the Target Framework Moniker (<https://docs.microsoft.com/en-us/dotnet/standard/frameworks#supported-target-framework-versions>) when there is a csproj file in the current directory.
### オプション
-| オプション | デフォルト | 説明 |
-| ------------------- | ------------------------------------------------------------------------------------------------------- | -------------------------------------------------------- |
-| `format` | `"[$symbol($version )(🎯 $tfm )]($style)"` | moduleのフォーマットです。 |
-| `symbol` | `".NET "` | The symbol used before displaying the version of dotnet. |
-| `heuristic` | `true` | Use faster version detection to keep starship snappy. |
-| `detect_extensions` | `["sln", "csproj", "fsproj", "xproj"]` | どの拡張子がこのモジュールをアクティブにするか |
-| `detect_files` | `["global.json", "project.json", "Directory.Build.props", "Directory.Build.targets", "Packages.props"]` | どのファイル名がこのモジュールをアクティブにするか |
-| `detect_folders` | `[]` | Which folders should trigger this modules. |
-| `style` | `"bold blue"` | モジュールのスタイルです。 |
-| `disabled` | `false` | Disables the `dotnet` module. |
+| オプション | デフォルト | 説明 |
+| ------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
+| `format` | `"[$symbol($version )(🎯 $tfm )]($style)"` | moduleのフォーマットです。 |
+| `version_format` | `v{raw}` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
+| `symbol` | `".NET "` | dotnetのバージョンを表示する前に使用される記号です。 |
+| `heuristic` | `true` | より高速なバージョン検出を使用して、starshipの動作を維持します。 |
+| `detect_extensions` | `["sln", "csproj", "fsproj", "xproj"]` | どの拡張子がこのモジュールをアクティブにするか |
+| `detect_files` | `["global.json", "project.json", "Directory.Build.props", "Directory.Build.targets", "Packages.props"]` | どのファイル名がこのモジュールをアクティブにするか |
+| `detect_folders` | `[]` | どのフォルダーがこのモジュールをアクティブにするか |
+| `style` | `"bold blue"` | モジュールのスタイルです。 |
+| `disabled` | `false` | `dotnet`モジュールを無効にします。 |
### 変数
@@ -807,7 +812,7 @@ The module will also show the Target Framework Moniker (<https://docs.microsoft.
| symbol | | オプション `記号` の値をミラーする |
| style\* | | オプション `style` の値をミラーする |
-\*: This variable can only be used as a part of a style string
+\*: この変数はスタイル文字列の一部としてのみ使用できます
### 設定例
@@ -822,21 +827,22 @@ heuristic = false
## Elixir
-The `elixir` module shows the currently installed version of Elixir and Erlang/OTP. デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。
+The `elixir` module shows the currently installed version of [Elixir](https://elixir-lang.org/) and [Erlang/OTP](https://erlang.org/doc/). デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。
-- The current directory contains a `mix.exs` file.
+- カレントディレクトリに`mix.exs`ファイルが含まれている.
### オプション
-| オプション | デフォルト | 説明 |
-| ------------------- | ----------------------------------------------------------- | --------------------------------------------------------------- |
-| `symbol` | `"💧 "` | The symbol used before displaying the version of Elixir/Erlang. |
-| `detect_extensions` | `[]` | どの拡張子がこのモジュールをアクティブにするか |
-| `detect_files` | `["mix.exs"]` | どのファイル名がこのモジュールをアクティブにするか |
-| `detect_folders` | `[]` | Which folders should trigger this modules. |
-| `style` | `"bold purple"` | モジュールのスタイルです。 |
-| `format` | `'via [$symbol($version \(OTP $otp_version\) )]($style)'` | The format for the module elixir. |
-| `disabled` | `false` | Disables the `elixir` module. |
+| オプション | デフォルト | 説明 |
+| ------------------- | ----------------------------------------------------------- | ------------------------------------------------------------------------- |
+| `format` | `'via [$symbol($version \(OTP $otp_version\) )]($style)'` | The format for the module elixir. |
+| `version_format` | `v{raw}` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
+| `symbol` | `"💧 "` | The symbol used before displaying the version of Elixir/Erlang. |
+| `detect_extensions` | `[]` | どの拡張子がこのモジュールをアクティブにするか |
+| `detect_files` | `["mix.exs"]` | どのファイル名がこのモジュールをアクティブにするか |
+| `detect_folders` | `[]` | どのフォルダーがこのモジュールをアクティブにするか |
+| `style` | `"bold purple"` | モジュールのスタイルです。 |
+| `disabled` | `false` | Disables the `elixir` module. |
### 変数
@@ -847,7 +853,7 @@ The `elixir` module shows the currently installed version of Elixir and Erlang/O
| symbol | | オプション `記号` の値をミラーする |
| style\* | | オプション `style` の値をミラーする |
-\*: This variable can only be used as a part of a style string
+\*: この変数はスタイル文字列の一部としてのみ使用できます
### 設定例
@@ -860,25 +866,26 @@ symbol = "🔮 "
## Elm
-The `elm` module shows the currently installed version of Elm. デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。
+The `elm` module shows the currently installed version of [Elm](https://elm-lang.org/). デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。
-- The current directory contains a `elm.json` file
-- The current directory contains a `elm-pa