summaryrefslogtreecommitdiffstats
path: root/docs/ja-JP/config/README.md
diff options
context:
space:
mode:
authorMatan Kushner <hello@matchai.dev>2022-03-01 17:05:57 -0500
committerGitHub <noreply@github.com>2022-03-01 23:05:57 +0100
commitaabc786dab868d8330c463220c8c70c3a817a825 (patch)
treedd9c92213fa273dc763dbd205448ea1b657efa82 /docs/ja-JP/config/README.md
parent0f3c8ca194ca7e78fe0d394ef0e3e9ac082d9d82 (diff)
docs(i18n): new Crowdin updates (#3586)
* New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Italian) * New translations README.md (Italian) * New translations README.md (French) * New translations README.md (Russian) * New translations README.md (Indonesian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Vietnamese) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Simplified) * New translations README.md (Turkish) * New translations README.md (Portuguese) * New translations README.md (Spanish) * New translations README.md (Polish) * New translations README.md (Dutch) * New translations README.md (Korean) * New translations README.md (Japanese) * New translations README.md (Italian) * New translations README.md (German) * New translations README.md (Arabic) * New translations README.md (Sorani (Kurdish)) * New translations README.md (French) * New translations README.md (Russian) * New translations README.md (Indonesian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Vietnamese) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Simplified) * New translations README.md (Turkish) * New translations README.md (Portuguese) * New translations README.md (Spanish) * New translations README.md (Polish) * New translations README.md (Dutch) * New translations README.md (Korean) * New translations README.md (Japanese) * New translations README.md (Italian) * New translations README.md (German) * New translations README.md (Arabic) * New translations README.md (Sorani (Kurdish)) * New translations README.md (French) * New translations README.md (Russian) * New translations README.md (Indonesian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Vietnamese) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Simplified) * New translations README.md (Turkish) * New translations README.md (Portuguese) * New translations README.md (Spanish) * New translations README.md (Polish) * New translations README.md (Dutch) * New translations README.md (Korean) * New translations README.md (Japanese) * New translations README.md (Italian) * New translations README.md (German) * New translations README.md (Arabic) * New translations README.md (Sorani (Kurdish)) * New translations README.md (French) * New translations README.md (Spanish) * New translations README.md (Chinese Simplified) * New translations README.md (Arabic) * New translations README.md (German) * New translations README.md (Italian) * New translations README.md (Japanese) * New translations README.md (Korean) * New translations README.md (Dutch) * New translations README.md (Polish) * New translations README.md (Portuguese) * New translations README.md (Russian) * New translations README.md (Turkish) * New translations README.md (Chinese Traditional) * New translations README.md (Vietnamese) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Indonesian) * New translations README.md (Sorani (Kurdish)) * New translations README.md (French) * New translations README.md (Spanish) * New translations README.md (Turkish) * New translations README.md (Arabic) * New translations README.md (German) * New translations README.md (Italian) * New translations README.md (Japanese) * New translations README.md (Korean) * New translations README.md (Dutch) * New translations README.md (Polish) * New translations README.md (Portuguese) * New translations README.md (Russian) * New translations README.md (Chinese Simplified) * New translations README.md (Vietnamese) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Indonesian) * New translations README.md (Sorani (Kurdish)) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Simplified) * New translations README.md (French) * New translations README.md (Spanish) * New translations README.md (Chinese Simplified) * New translations README.md (Arabic) * New translations README.md (German) * New translations README.md (Italian) * New translations README.md (Japanese) * New translations README.md (Korean) * New translations README.md (Dutch) * New translations README.md (Polish) * New translations README.md (Portuguese) * New translations README.md (Russian) * New translations README.md (Turkish) * New translations README.md (Chinese Traditional) * New translations README.md (Vietnamese) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Indonesian) * New translations README.md (Sorani (Kurdish)) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (French) * New translations README.md (Russian) * New translations README.md (Indonesian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Vietnamese) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Simplified) * New translations README.md (Turkish) * New translations README.md (Portuguese) * New translations README.md (Spanish) * New translations README.md (Polish) * New translations README.md (Dutch) * New translations README.md (Korean) * New translations README.md (Japanese) * New translations README.md (Italian) * New translations README.md (German) * New translations README.md (Arabic) * New translations README.md (Sorani (Kurdish))
Diffstat (limited to 'docs/ja-JP/config/README.md')
-rw-r--r--docs/ja-JP/config/README.md810
1 files changed, 421 insertions, 389 deletions
diff --git a/docs/ja-JP/config/README.md b/docs/ja-JP/config/README.md
index ef449848e..1605c7ab4 100644
--- a/docs/ja-JP/config/README.md
+++ b/docs/ja-JP/config/README.md
@@ -262,11 +262,13 @@ format = "$all$directory$character"
## AWS
-`aws` モジュールは現在のAWSプロファイルが表示されます。 これは `~/.aws/config` に記述されている `AWS_REGION`, `AWS_DEFAULT_REGION`, and `AWS_PROFILE` 環境変数に基づいています。 This module also shows an expiration timer when using temporary credentials.
+The `aws` module shows the current AWS region and profile when credentials or a `credential_process` have been setup. これは `~/.aws/config` に記述されている `AWS_REGION`, `AWS_DEFAULT_REGION`, and `AWS_PROFILE` 環境変数に基づいています。 This module also shows an expiration timer when using temporary credentials.
+
+The module will display a profile only if its credentials are present in `~/.aws/credentials` or a `credential_process` is defined in `~/.aws/config`. Alternatively, having any of the `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, or `AWS_SESSION_TOKEN` env vars defined will also suffice.
When using [aws-vault](https://github.com/99designs/aws-vault) the profile is read from the `AWS_VAULT` env var and the credentials expiration date is read from the `AWS_SESSION_EXPIRATION` env var.
-[awsu](https://github.com/kreuzwerker/awsu) を使う場合、そのプロファイルは環境変数 `AWSU_PROFILE` から読まれます。
+When using [awsu](https://github.com/kreuzwerker/awsu) the profile is read from the `AWSU_PROFILE` env var.
When using [AWSume](https://awsu.me) the profile is read from the `AWSUME_PROFILE` env var and the credentials expiration date is read from the `AWSUME_EXPIRATION` env var.
@@ -291,7 +293,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
### 設定例
@@ -361,7 +363,7 @@ style = "blue bold"
## バッテリー
-`battery`モジュールは、デバイスのバッテリー残量と現在の充電状態を示します。 モジュールは、デバイスのバッテリー残量が10%未満の場合にのみ表示されます。
+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%.
### オプション
@@ -389,7 +391,7 @@ discharging_symbol = "💀 "
### バッテリーの表示
-`display`オプションを使用して、バッテリーインジケーターを表示するタイミング(threshold)、どのシンボルが使われるか(symbol) と外観(style)を定義します。 `display` が提供されない場合、 デフォルトは次のとおりです。
+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. デフォルトは次のとおりです。
```toml
[[battery.display]]
@@ -397,11 +399,11 @@ threshold = 10
style = "bold red"
```
-`charging_symbol`と`discharging_symbol`オプションのデフォルト値はそれぞれ`battery`の `charging_symbol`と`discharging_symbol`になります。
+The default value for the `charging_symbol` and `discharging_symbol` option is respectively the value of `battery`'s `charging_symbol` and `discharging_symbol` option.
#### オプション
-`display`オプションは、次の表の通りです。
+The `display` option is an array of the following table.
| オプション | デフォルト | 説明 |
| -------------------- | ---------- | -------------------------------------------------------------------------------------- |
@@ -427,14 +429,14 @@ discharging_symbol = "💦"
## Character
-`character`モジュールは、端末でテキストが入力される場所の横に文字(通常は矢印)を表示します。
+The `character` module shows a character (usually an arrow) beside where the text is entered in your terminal.
-文字は、最後のコマンドが成功したかどうかを示します。 表し方は下記の2つです。
+The character will tell you whether the last command was successful or not. It can do this in two ways:
- 色の変更 (`赤`/`緑`)
- プロンプトの表示の変更 (`❯`/`✖`)
-デフォルトでは、色だけが変更されます。 形も変えてみたい場合は[このサンプル](#with-custom-error-shape)も参考にしてください。
+By default it only changes color. If you also want to change its shape take a look at [this example](#with-custom-error-shape).
::: warning
@@ -497,7 +499,7 @@ vicmd_symbol = "[V](bold green) "
## CMake
-`cmake`モジュールは、現在インストールされている[Cmake](https://cmake.org/)のバージョンを表示します。 デフォルトでは次のいずれかの条件が満たされると、モジュールがアクティブになります。
+The `cmake` module shows the currently installed version of [CMake](https://cmake.org/). By default the module will be activated if any of the following conditions are met:
- カレントディレクトリに `CMakeLists.txt` ファイルが含まれている
- カレントディレクトリに `CMakeCache.txt` ファイルが含まれている
@@ -523,11 +525,11 @@ vicmd_symbol = "[V](bold green) "
| symbol | | オプション `記号` の値をミラーする |
| style\* | | オプション `style` の値をミラーする |
-*: この変数は、スタイル文字列の一部としてのみ使用することができます。
+*: This variable can only be used as a part of a style string
## COBOL / GNUCOBOL
-`COBOL` モジュールは、現在インストールされているCOBOLのバージョンを表示します。 By default, the module will be shown if any of the following conditions are met:
+The `cobol` module shows the currently installed version of COBOL. By default, the module will be shown if any of the following conditions are met:
- The current directory contains any files ending in `.cob` or `.COB`
- The current directory contains any files ending in `.cbl` or `.CBL`
@@ -553,19 +555,19 @@ vicmd_symbol = "[V](bold green) "
| symbol | | オプション `記号` の値をミラーする |
| style\* | | オプション `style` の値をミラーする |
-*: この変数は、スタイル文字列の一部としてのみ使用することができます。
+*: This variable can only be used as a part of a style string
## Command Duration
-`cmd_duration`モジュールは、最後のコマンドの実行にかかった時間を示します。 モジュールが表示されるのは、コマンドが2秒以上かかった場合、または`min_time`値が存在する場合のみです。
+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.
-::: warning BashでDEBUGトラップをhookしない
+::: warning Do not hook the DEBUG trap in Bash
-`bash`でStarshipを実行している場合、 `eval $(starship init $0)`実行した後に`DEBUG`トラップをフックしないでください。そうしないと、このモジュールが**おそらくですが**壊れます。
+If you are running Starship in `bash`, do not hook the `DEBUG` trap after running `eval $(starship init $0)`, or this module **will** break.
:::
-preexecのような機能を必要とするBashユーザーは、 [rcalorasのbash_preexecフレームワーク](https://github.com/rcaloras/bash-preexec)を使用できます。 `eval $(starship init $0)` を実行する前に、`preexec_functions`、および`precmd_functions`定義するだけで、通常どおり続行します。
+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.
### オプション
@@ -587,7 +589,7 @@ preexecのような機能を必要とするBashユーザーは、 [rcalorasのba
| duration | `16m40s` | コマンドの実行時間 |
| style\* | | オプション `style` の値をミラーする |
-*: この変数は、スタイル文字列の一部としてのみ使用することができます。
+*: This variable can only be used as a part of a style string
### 設定例
@@ -605,7 +607,7 @@ The `conda` module shows the current [Conda](https://docs.conda.io/en/latest/) e
::: tip
-Note: これはconda自身の プロンプト修飾子 を抑制しません。`conda config --set changeps1 False` で実行することができます。
+This does not suppress conda's own prompt modifier, you may want to run `conda config --set changeps1 False`.
:::
@@ -628,7 +630,7 @@ Note: これはconda自身の プロンプト修飾子 を抑制しません。`
| symbol | | オプション `記号` の値をミラーする |
| style\* | | オプション `style` の値をミラーする |
-*: この変数は、スタイル文字列の一部としてのみ使用することができます。
+*: This variable can only be used as a part of a style string
### 設定例
@@ -660,7 +662,7 @@ The `container` module displays a symbol and container name, if inside a contain
| symbol | | オプション `記号` の値をミラーする |
| style\* | | オプション `style` の値をミラーする |
-*: この変数は、スタイル文字列の一部としてのみ使用することができます。
+*: This variable can only be used as a part of a style string
### 設定例
@@ -673,7 +675,7 @@ format = "[$symbol \\[$name\\]]($style) "
## Crystal
-`crystal`モジュールは、現在インストールされている[Crystal](https://crystal-lang.org/)のバージョンを表示します。 デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。
+The `crystal` module shows the currently installed version of [Crystal](https://crystal-lang.org/). デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。
- カレントディレクトリに`shard.yml`ファイルが含まれている
- カレントディレクトリに`.cr`の拡張子のファイルが含まれている
@@ -699,7 +701,7 @@ format = "[$symbol \\[$name\\]]($style) "
| symbol | | オプション `記号` の値をミラーする |
| style\* | | オプション `style` の値をミラーする |
-*: この変数は、スタイル文字列の一部としてのみ使用することができます。
+*: This variable can only be used as a part of a style string
### 設定例
@@ -712,7 +714,7 @@ format = "via [✨ $version](bold blue) "
## Dart
-`dart`モジュールは、現在インストールされている[Dart](https://dart.dev/)のバージョンを表示します。 デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。
+The `dart` module shows the currently installed version of [Dart](https://dart.dev/). デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。
- カレントディレクトリに`.dart`の拡張子のファイルが含まれている
- カレントディレクトリに`.dart_tool`ディレクトリが含まれている
@@ -739,7 +741,7 @@ format = "via [✨ $version](bold blue) "
| symbol | | オプション `記号` の値をミラーする |
| style\* | | オプション `style` の値をミラーする |
-*: この変数は、スタイル文字列の一部としてのみ使用することができます。
+*: This variable can only be used as a part of a style string
### 設定例
@@ -752,7 +754,7 @@ format = "via [🔰 $version](bold red) "
## Deno
-`deno`モジュールは、現在インストールされている[Deno](https://deno.land/)のバージョンを表示します。 デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。
+The `deno` module shows you your currently installed version of [Deno](https://deno.land/). デフォルトでは次の条件のいずれかが満たされると、モジュールが表示されます。
- The current directory contains a `deno.json`, `deno.jsonc`, `mod.ts`, `mod.js`, `deps.ts` or `deps.js` file
@@ -788,30 +790,31 @@ format = "via [🦕 $version](green bold) "
## Directory
-`directory`モジュールには、現在のディレクトリへのパスが表示され、3つの親フォルダは切り捨てられます。 ディレクトリは、現在のgitリポジトリであるとルートとなります。
+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.
-fishスタイルのpwdオプションを使用すると、切り捨てられたパスを非表示にする代わりに、オプションで有効にした番号に基づいて各ディレクトリの短縮名が表示されます。
+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.
-例として、`~/Dev/Nix/nixpkgs/pkgs`で、`nixpkgs`がリポジトリルートであり、オプションが`1`に設定されている場合を挙げます。 以前は`nixpkgs/pkgs`でしたが、`~/D/N/nixpkgs/pkgs`が表示されます。
+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`.
### オプション
-| オプション | デフォルト | 説明 |
-| ------------------- | -------------------------------------------------- | --------------------------------------------------------------------------------------- |
-| `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` | `"🔒"` | このシンボルが表示されている時、現在のディレクトリは読み取り専用です。 |
-| `read_only_style` | `"red"` | 読み取り専用シンボルのスタイルです。 |
-| `truncation_symbol` | `""` | The symbol to prefix to truncated paths. 例: "…/" |
-| `repo_root_style` | `None` | The style for the root of the git repo when `truncate_to_repo` option is set to false. |
-| `home_symbol` | `"~"` | ホームディレクトリを示すシンボルです。 |
-| `use_os_path_sep` | `true` | Use the OS specific path seperator instead of always using `/` (e.g. `\` on Windows) |
+| オプション | デフォルト | 説明 |
+| ------------------- | ----------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
+| `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` | `"🔒"` | このシンボルが表示されている時、現在のディレクトリは読み取り専用です。 |
+| `read_only_style` | `"red"` | 読み取り専用シンボルのスタイルです。 |
+| `truncation_symbol` | `""` | The symbol to prefix to truncated paths. 例: "…/" |
+| `repo_root_style` | `None` | The style for the root of the git repo. The default value is equivalent to `style`. |
+| `repo_root_format` | `"[$before_root_path]($style)[$repo_root]($repo_root_style)[$path]($style)[$read_only]($read_only_style) "` | The format of a git repo when `repo_root_style` is defined. |
+| `home_symbol` | `"~"` | The symbol indicating home directory. |
+| `use_os_path_sep` | `true` | Use the OS specific path separator instead of always using `/` (e.g. `\` on Windows) |
<details>
-<summary>このモジュールは、どのようにディレクトリを表示するかについての高度なオプションをいくつか持っています。</summary>
+<summary>This module has a few advanced configuration options that control how the directory is displayed.</summary>
| Advanced Option | デフォルト | 説明 |
| --------------------------- | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
@@ -838,7 +841,22 @@ fishスタイルのpwdオプションを使用すると、切り捨てられた
| path | `"D:/Projects"` | カレントディレクトリのパス |
| style\* | `"black bold dimmed"` | オプション `style` の値をミラーする |
-*: この変数は、スタイル文字列の一部としてのみ使用することができます。
+*: This variable can only be used as a part of a style string
+
+<details>
+<summary>The git repos have additional variables.</summary>
+
+Let us consider the path `/path/to/home/git_repo/src/lib`
+
+| 変数 | 設定例 | 説明 |
+| ------------------ | --------------------- | --------------------------------------- |
+| before_root_path | `"/path/to/home/"` | The path before git root directory path |
+| repo_root | `"git_repo"` | The git root directory name |
+| path | `"/src/lib"` | The remaining path |
+| style | `"black bold dimmed"` | オプション `style` の値をミラーする |
+| repo_root_style | `"underline white"` | Style for git root directory name |
+
+</details>
### 設定例
@@ -856,26 +874,26 @@ The `docker_context` module shows the currently active [Docker context](https://
### オプション
-| オプション | デフォルト | 説明 |
-| ------------------- | ---------------------------------- | -------------------------------------------------------------- |
-| `format` | `"via [$symbol$context]($style) "` | moduleのフォーマットです。 |
-| `symbol` | `"🐳 "` | Dockerコンテキストを表示する前に使用される記号です。 |
-| `only_with_files` | `true` | ファイルに一致する場合にのみ表示 |
-| `detect_extensions` | `[]` | どの拡張子がこのモジュールをトリガーするか(`only_with_files`がtrueになっている必要があります)。 |
-| `detect_files` | `The format for the module.` | どんなファイル名がこのモジュールをトリガーするか(`only_with_files`がtrueになっている必要があります)。 |
-| `detect_folders` | `[]` | どんなフォルダがこのモジュールをトリガーするか(`only_with_files`がtrueになっている必要があります)。 |
-| `style` | `"blue bold"` | モジュールのスタイルです。 |
-| `disabled` | `false` | `docker_context`モジュールを無効にします。 |
+| オプション | デフォルト | 説明 |
+| ------------------- | ------------------------------------------------------------- | --------------------------------------------------------------------------------- |
+| `format` | `"via [$symbol$context]($style) "` | moduleのフォーマットです。 |
+| `symbol` | `"🐳 "` | The symbol used before displaying the Docker context. |
+| `only_with_files` | `true` | Only show when there's a match |
+| `detect_extensions` | `[]` | Which extensions should trigger this module (needs `only_with_files` to be true). |
+| `detect_files` | `["docker-compose.yml", "docker-compose.yaml", "Dockerfile"]` | 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. |
### 変数
-| 変数 | 設定例 | 説明 |
-| --------- | -------------- | ---------------------- |
-| context | `test_context` | 現在の Docker コンテキスト |
-| symbol | | オプション `記号` の値をミラーする |
-| style\* | | オプション `style` の値をミラーする |
+| 変数 | 設定例 | 説明 |
+| --------- | -------------- | -------------------------- |
+| context | `test_context` | The current docker context |
+| symbol | | オプション `記号` の値をミラーする |
+| style\* | | オプション `style` の値をミラーする |
-*: この変数は、スタイル文字列の一部としてのみ使用することができます。
+*: This variable can only be used as a part of a style string
### 設定例
@@ -888,9 +906,9 @@ format = "via [🐋 $context](blue bold)"
## Dotnet
-`dotnet`モジュールはカレントディレクトリに関係する[.NET Core SDK](https://dotnet.microsoft.com/)のバージョンを表示します。 もし SDKは現在のディレクトリに固定されているのであれば、その固定されたバージョンが表示されます。 それ以外の場合、モジュール SDKの最新のインストールバージョンを示します。
+The `dotnet` module shows the relevant version of the [.NET Core SDK](https://dotnet.microsoft.com/) 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.
-デフォルトでは、このモジュールは現在のディレクトリに以下のファイルが 存在する場合にのみプロンプトで表示されます:
+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:
- `global.json`
- `project.json`
@@ -903,34 +921,34 @@ format = "via [🐋 $context](blue bold)"
You'll also need the .NET Core SDK installed in order to use it correctly.
-内部的に、このモジュールは自身のバージョン検知のメカニズムを利用します。 `dotnet --version` を実行するより2倍速く実行できますが、.NET project一般的でないディレクトリlayoutの場合は間違ったバージョンが示されてしまうことがあります。 速度よりも精度が重要な場合は、次の方法でメカニズムを無効にできます。 モジュールオプションで`heuristic = false `を設定します。
+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.
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` | `"via [$symbol($version )(🎯 $tfm )]($style)"` | moduleのフォーマットです。 |
-| `version_format` | `"v${raw}"` | バージョンのフォーマット。 使用可能な変数は`raw`、`major`、`minor`と`patch`です。 |
-| `symbol` | `".NET "` | dotnetのバージョンを表示する前に使用される記号です。 |
-| `heuristic` | `true` | より高速なバージョン検出を使用して、starshipの動作を維持します。 |
-| `detect_extensions` | `["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`モジュールを無効にします。 |
+| オプション | デフォルト | 説明 |
+| ------------------- | ------------------------------------------------------------------------------------------------------- | -------------------------------------------------------- |
+| `format` | `"via [$symbol($version )(🎯 $tfm )]($style)"` | moduleのフォーマットです。 |
+| `version_format` | `"v${raw}"` | バージョンのフォーマット。 使用可能な変数は`raw`、`major`、`minor`と`patch`です。 |
+| `symbol` | `".NET "` | The symbol used before displaying the version of dotnet. |
+| `heuristic` | `true` | Use faster version detection to keep starship snappy. |
+| `detect_extensions` | `["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. |
### 変数
| 変数 | 設定例 | 説明 |
| --------- | ---------------- | ------------------------------------------------------------------ |
-| version | `v3.1.201` | `dotnet sdk` のバージョンです |
+| version | `v3.1.201` | The version of `dotnet` sdk |
| tfm | `netstandard2.0` | The Target Framework Moniker that the current project is targeting |
| symbol | | オプション `記号` の値をミラーする |
| style\* | | オプション `style` の値をミラーする |
-*: この変数は、スタイル文字列の一部としてのみ使用することができます。
+*: This variable can only be used as a part of a style string
### 設定例
@@ -958,7 +976,7 @@ The `elixir` module shows the currently installed version of [Elixir](https://el
| `symbol` | `"💧 "` | The symbol used before displaying the version of Elixir/Erlang. |
| `detect_extensions` | `[]` | どの拡張子がこのモジュールをアクティブにするか |
| `detect_files` | `["mix.exs"]` | どのファイル名がこのモジュールをアクティブにするか |
-| `detect_folders` | `[]` | どのフォルダーがこのモジュールをアクティブにするか |
+| `detect_folders` | `[]` | Which folders should trigger this modules. |
| `style` | `"bold purple"` | モジュールのスタイルです。 |
| `disabled` | `false` | Disables the `elixir` module. |
@@ -971,7 +989,7 @@ The `elixir` module shows the currently installed version of [Elixir](https://el
| symbol | | オプション `記号` の値をミラーする |
| style\* | | オプション `style` の値をミラーする |
-*: この変数は、スタイル文字列の一部としてのみ使用することができます。
+*: This variable can only be used as a part of a style string
### 設定例
@@ -1001,9 +1019,9 @@ The `elm` module shows the currently installed version of [Elm](https://elm-lang
| `symbol` | `"🌳 "` | A format string representing the symbol of Elm. |
| `detect_extensions` | `["elm"]` | どの拡張子がこのモジュールをアクティブにするか |
| `detect_files` | `["elm.json", "elm-package.json", ".elm-version"]` | どのファイル名がこのモジュールをアクティブにするか |
-| `detect_folders` | `["elm-stuff"]` | どのフォルダーがこのモジュールをアクティブにするか |
+| `detect_folders` | `["elm-stuff"]` | Which folders should trigger this modules. |
| `style` | `"cyan bold"` | モジュールのスタイルです。 |
-| `disabled` | `false` | `elm`モジュールを無効にします。 |
+| `disabled` | `false` | Disables the `elm` module. |
### 変数
@@ -1013,7 +1031,7 @@ The `elm` module shows the currently installed version of [Elm](https://elm-lang
| symbol | | オプション `記号` の値をミラーする |
| style\* | | オプション `style` の値をミラーする |
-*: この変数は、スタイル文字列の一部としてのみ使用することができます。
+*: This variable can only be used as a part of a style string
### 設定例
@@ -1026,7 +1044,7 @@ format = "via [ $version](cyan bold) "
## Environment Variable
-The `env_var` module displays the current value of a selected environment variables. 次の条件のいずれかが満たされると、モジュールが表示されます。
+The `env_var` module displays the current value of a selected environment variables. The module will be shown only if any of the following conditions are met:
- `variable`オプションが、既存の環境変数と一致する
- `variable`オプションが定義されておらず、`default`オプションが定義されている
@@ -1046,13 +1064,13 @@ default = "unknown user"
### オプション
-| オプション | デフォルト | 説明 |
-| ---------- | ------------------------------ | ------------------------------------- |
-| `symbol` | `""` | 環境変数を表示する前に使用される記号です。 |
-| `variable` | | 表示される環境変数です。 |
-| `default` | | 上のvariableが定義されていない場合に表示されるデフォルトの値です。 |
-| `format` | `"with [$env_value]($style) "` | moduleのフォーマットです。 |
-| `disabled` | `false` | `env_var`モジュールを無効にします。 |
+| オプション | デフォルト | 説明 |
+| ---------- | ------------------------------ | ---------------------------------------------------------------------------- |
+| `symbol` | `""` | The symbol used before displaying the variable value. |
+| `variable` | | The environment variable to be displayed. |
+| `default` | | The default value to be displayed when the selected variable is not defined. |
+| `format` | `"with [$env_value]($style) "` | moduleのフォーマットです。 |
+| `disabled` | `false`