From bd79672f484f79ab2edad0c8d3c990f8db4bee45 Mon Sep 17 00:00:00 2001
From: Matan Kushner いくつかのまれなバッテリー状態のオプションもあります。
@@ -247,12 +247,12 @@ preexecのような機能を必要とするBashユーザーは、 [rcalorasのba
### オプション
-| 変数 | デフォルト | 説明 |
-| ---------- | --------------- | ---------------------------------------------------------- |
-| `min_time` | `2` | 時間を表示する最短期間です。 |
-| `prefix` | `took` | Prefix to display immediately before the command duration. |
-| `style` | `"bold yellow"` | The style for the module. |
-| `disabled` | `false` | Disables the `cmd_duration` module. |
+| 変数 | デフォルト | 説明 |
+| ---------- | --------------- | --------------------------- |
+| `min_time` | `2` | 時間を表示する最短期間です。 |
+| `prefix` | `took` | コマンド実行時間の直前に表示する文字列です。 |
+| `style` | `"bold yellow"` | モジュールのスタイルです。 |
+| `disabled` | `false` | `cmd_duration`モジュールを無効にします。 |
### 設定例
@@ -266,15 +266,15 @@ prefix = "underwent "
## Conda
-The `conda` module shows the current conda environment, if `$CONDA_DEFAULT_ENV` is set. Note: This does not suppress conda's own prompt modifier, you may want to run `conda config --set changeps1 False`
+`$CONDA_DEFAULT_ENV`が設定されている場合、`conda`モジュールは現在のcondaの環境を表示します。 Note: This does not suppress conda's own prompt modifier, you may want to run `conda config --set changeps1 False`
### オプション
-| 変数 | デフォルト | 説明 |
-| ---------- | -------------- | -------------------------------------------- |
-| `symbol` | `"C "` | The symbol used before the environment name. |
-| `style` | `"bold green"` | The style for the module. |
-| `disabled` | `false` | Disables the `conda` module. |
+| 変数 | デフォルト | 説明 |
+| ---------- | -------------- | -------------------- |
+| `symbol` | `"C "` | 環境名の直前に使用されるシンボルです。 |
+| `style` | `"bold green"` | モジュールのスタイルです。 |
+| `disabled` | `false` | `conda`モジュールを無効にします。 |
### 設定例
@@ -285,30 +285,30 @@ The `conda` module shows the current conda environment, if `$CONDA_DEFAULT_ENV`
style = "dimmed green"
```
-## 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. |
-| `style` | `"bold cyan"` | The style for the module. |
-| `disabled` | `false` | Disables the `directory` module. |
+| 変数 | デフォルト | 説明 |
+| ------------------- | ------------- | ----------------------------- |
+| `truncation_length` | `3` | 現在のディレクトリを切り捨てる親フォルダーの数です。 |
+| `truncate_to_repo` | `true` | 現在いるgitリポジトリのルートに切り捨てるかどうかです。 |
+| `style` | `"bold cyan"` | モジュールのスタイルです。 |
+| `disabled` | `false` | `directory`モジュールを無効にします。 |
This module has a few advanced configuration options that control how the directory is displayed.
+このモジュールは、どのようにディレクトリを表示するかについての高度なオプションをいくつか持っています。
-| 変数 | デフォルト | 説明 |
-| --------------------------- | ------ | ---------------------------------------------------------------------------------------- |
-| `fish_style_pwd_dir_length` | `0` | The number of characters to use when applying fish shell pwd path logic. |
-| `use_logical_path` | `true` | Displays the logical path provided by the shell (`PWD`) instead of the path from the OS. |
+| 変数 | デフォルト | 説明 |
+| --------------------------- | ------ | -------------------------------------------- |
+| `fish_style_pwd_dir_length` | `0` | fish shellのpwdパスロジックを適用するときに使用する文字数です。 |
+| `use_logical_path` | `true` | OSからのパスの代わりに、シェル(`PWD`) によって提供される論理パスを表示します。 |
デフォルトでは、システムスワップの合計がゼロ以外の場合、スワップ使用量が表示されます。
-::: tip +::: tip
-This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file. +このモジュールはデフォルトで無効になっています。
+有効にするには、設定ファイルでdisabled`を`false`に設定します。
:::
### オプション
-| 変数 | デフォルト | 説明 |
-| ----------------- | ------------------------ | ------------------------------------------------------------- |
-| `show_percentage` | `false` | Display memory usage as a percentage of the available memory. |
-| `show_swap` | when total swap non-zero | Display swap usage. |
-| `threshold` | `75` | Hide the memory usage unless it exceeds this percentage. |
-| `symbol` | `"🐏 "` | The symbol used before displaying the memory usage. |
-| `style` | `"bold dimmed white"` | The style for the module. |
-| `disabled` | `true` | Disables the `memory_usage` module. |
+| 変数 | デフォルト | 説明 |
+| ----------------- | --------------------- | --------------------------------------------- |
+| `show_percentage` | `false` | メモリ使用量を割合で表示します。 |
+| `show_swap` | `true` | Display swap usage if total swap is non-zero. |
+| `threshold` | `75` | この閾値を超えない限り、メモリ使用率は表示されません。 |
+| `symbol` | `"🐏 "` | メモリ使用率を表示する前に使用される記号です。 |
+| `style` | `"bold dimmed white"` | モジュールのスタイルです。 |
+| `disabled` | `true` | `memory_usage`モジュールを無効にします。 |
### 設定例
@@ -667,18 +670,18 @@ style = "bold dimmed green"
## Java
-The `java` module shows the currently installed version of Java. The module will be shown if any of the following conditions are met:
+`java`モジュールは、現在インストールされているJavaのバージョンを示します。 次の条件のいずれかが満たされると、モジュールが表示されます。
-- The current directory contains a `pom.xml`, `build.gradle` or `build.sbt` file
+- カレントディレクトリに`pom.xml`, `build.gradle`,もしくは`build.sbt`が含まれている
- カレントディレクトリに拡張子が`.java`, `.class`, もしくは`.jar`のファイルが含まれている
### オプション
-| 変数 | デフォルト | 説明 |
-| ---------- | -------------- | ------------------------------------------------------ |
-| `symbol` | `"☕ "` | The symbol used before displaying the version of Java. |
-| `style` | `"dimmed red"` | The style for the module. |
-| `disabled` | `false` | Disables the `java` module. |
+| 変数 | デフォルト | 説明 |
+| ---------- | -------------- | --------------------------- |
+| `symbol` | `"☕ "` | Javaのバージョンを表示する前に使用される記号です。 |
+| `style` | `"dimmed red"` | モジュールのスタイルです。 |
+| `disabled` | `false` | `Java`モジュールを無効にします。 |
### 設定例
@@ -691,7 +694,7 @@ symbol = "🌟 "
## NodeJS
-The `nodejs` module shows the currently installed version of NodeJS. The module will be shown if any of the following conditions are met:
+`nodejs`モジュールは、現在インストールされているNodeJSのバージョンを示します。 次の条件のいずれかが満たされると、モジュールが表示されます。
- カレントディレクトリに`package.json`ファイルが含まれている
- カレントディレクトリに`node_modules`ディレクトリが含まれている
@@ -699,11 +702,11 @@ The `nodejs` module shows the currently installed version of NodeJS. The module
### オプション
-| 変数 | デフォルト | 説明 |
-| ---------- | -------------- | -------------------------------------------------------- |
-| `symbol` | `"⬢ "` | The symbol used before displaying the version of NodeJS. |
-| `style` | `"bold green"` | The style for the module. |
-| `disabled` | `false` | Disables the `nodejs` module. |
+| 変数 | デフォルト | 説明 |
+| ---------- | -------------- | ----------------------------- |
+| `symbol` | `"⬢ "` | NodeJSのバージョンを表示する前に使用される記号です。 |
+| `style` | `"bold green"` | モジュールのスタイルです。 |
+| `disabled` | `false` | `nodejs`モジュールを無効にします。 |
### 設定例
@@ -714,9 +717,9 @@ The `nodejs` module shows the currently installed version of NodeJS. The module
symbol = "🤖 "
```
-## Package Version
+## パッケージのバージョン
-The `package` module is shown when the current directory is the repository for a package, and shows its current version. The module currently supports `npm`, `cargo`, and `poetry` packages.
+`package`モジュールは、現在のディレクトリがパッケージのリポジトリである場合に表示され、現在のバージョンが表示されます。 このモジュールは現在、 `npm` 、 `cargo` 、および`poetry`パッケージをサポートしています。
- **npm** – `npm`パッケージバージョンは、現在のディレクトリにある`package.json`から抽出されます
- **cargo** – `cargo`パッケージバージョンは、現在のディレクトリにある`Cargo.toml`から抽出されます。
@@ -726,11 +729,11 @@ The `package` module is shown when the current directory is the repository for a
### オプション
-| 変数 | デフォルト | 説明 |
-| ---------- | ------------ | ---------------------------------------------------------- |
-| `symbol` | `"📦 "` | The symbol used before displaying the version the package. |
-| `style` | `"bold red"` | The style for the module. |
-| `disabled` | `false` | Disables the `package` module. |
+| 変数 | デフォルト | 説明 |
+| ---------- | ------------ | ---------------------------- |
+| `symbol` | `"📦 "` | パッケージのバージョンを表示する前に使用される記号です。 |
+| `style` | `"bold red"` | モジュールのスタイルです。 |
+| `disabled` | `false` | `package`モジュールを無効にします。 |
### 設定例
@@ -743,13 +746,13 @@ symbol = "🎁 "
## Python
-The `python` module shows the currently installed version of Python.
+`python`モジュールは、現在インストールされているPythonのバージョンを示します。
-If `pyenv_version_name` is set to `true`, it will display the pyenv version name.
+`pyenvversionname`が`true`に設定されている場合 、pyenvでのバージョン名が表示されます 。
-Otherwise, it will display the version number from `python --version` and show the current Python virtual environment if one is activated.
+それ以外の場合は、 `python --version`バージョン番号が表示され、アクティブになっている場合は現在のPython仮想環境が表示されます。
-The module will be shown if any of the following conditions are met:
+次の条件のいずれかが満たされると、モジュールが表示されます。
- カレントディレクトリに`.python-version`ファイルが含まれている
- カレントディレクトリに`requirements.txt`ファイルが含まれている
@@ -760,13 +763,13 @@ The module will be shown if any of the following conditions are met:
### オプション
-| 変数 | デフォルト | 説明 |
-| -------------------- | --------------- | --------------------------------------------------------------------------- |
-| `symbol` | `"🐍 "` | The symbol used before displaying the version of Python. |
-| `pyenv_version_name` | `false` | Use pyenv to get Python version |
-| `pyenv_prefix` | `"pyenv "` | Prefix before pyenv version display (default display is `pyenv MY_VERSION`) |
-| `style` | `"bold yellow"` | The style for the module. |
-| `disabled` | `false` | Disables the `python` module. |
+| 変数 | デフォルト | 説明 |
+| -------------------- | --------------- | ---------------------------------------------------- |
+| `symbol` | `"🐍 "` | Pythonのバージョンを表示する前に使用される記号です。 |
+| `pyenv_version_name` | `false` | pyenvを使用してPythonバージョンを取得します |
+| `pyenv_prefix` | `"pyenv "` | pyenvバージョン表示の前のprefix(デフォルトの表示は`pyenv MY_VERSION`)です |
+| `style` | `"bold yellow"` | モジュールのスタイルです。 |
+| `disabled` | `false` | `python`モジュールを無効にします。 |
### 設定例
@@ -781,18 +784,18 @@ pyenv_prefix = "foo "
## Ruby
-The `ruby` module shows the currently installed version of Ruby. The module will be shown if any of the following conditions are met:
+`ruby`モジュールは、現在インストールされているRubyのバージョンを示します。 次の条件のいずれかが満たされると、モジュールが表示されます。
- カレントディレクトリに`Gemfile`ファイルが含まれている
- カレントディレクトリに`.rb`の拡張子のファイルが含まれている
### オプション
-| 変数 | デフォルト | 説明 |
-| ---------- | ------------ | ------------------------------------------------------ |
-| `symbol` | `"💎 "` | The symbol used before displaying the version of Ruby. |
-| `style` | `"bold red"` | The style for the module. |
-| `disabled` | `false` | Disables the `ruby` module. |
+| 変数 | デフォルト | 説明 |
+| ---------- | ------------ | --------------------------- |
+| `symbol` | `"💎 "` | Rubyのバージョンを表示する前に使用される記号です。 |
+| `style` | `"bold red"` | モジュールのスタイルです。 |
+| `disabled` | `false` | `ruby`モジュールを無効にします。 |
### 設定例
@@ -805,20 +808,20 @@ symbol = "🔺 "
## Rust
-The `rust` module shows the currently installed version of Rust. The module will be shown if any of the following conditions are met:
+`rust`モジュールには、現在インストールされているRustのバージョンが表示されます。 次の条件のいずれかが満たされると、モジュールが表示されます。
- カレントディレクトリに`Cargo.toml`ファイルが含まれている
- カレントディレクトリに`.rs`の拡張子のファイルが含まれている
-### Options
+### オプション
-| Variable | Default | Description |
-| ---------- | ------------ | ------------------------------------------------------ |
-| `symbol` | `"🦀 "` | The symbol used before displaying the version of Rust. |
-| `style` | `"bold red"` | The style for the module. |
-| `disabled` | `false` | Disables the `rust` module. |
+| 変数 | デフォルト | 説明 |
+| ---------- | ------------ | --------------------------- |
+| `symbol` | `"🦀 "` | Rustのバージョンを表示する前に使用される記号です。 |
+| `style` | `"bold red"` | モジュールのスタイルです。 |
+| `disabled` | `false` | `rust`モジュールを無効にします。 |
-### Example
+### 設定例
```toml
# ~/.config/starship.toml
@@ -827,19 +830,19 @@ The `rust` module shows the currently installed version of Rust. The module will
symbol = "⚙️ "
```
-## Time
+## 時刻
-The `time` module shows the current **local** time. The `format` configuration value is used by the [`chrono`](https://crates.io/crates/chrono) crate to control how the time is displayed. Take a look [at the chrono strftime docs](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) to see what options are available.
+`time`モジュールは、現在の**現地**時間を示します。 `format`設定は、時間の表示方法を制御するために[`chrono`](https://crates.io/crates/chrono)クレートによって使用されます。 使用可能なオプションを確認するには、[chrono strftimeのドキュメント](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html)をご覧ください。
::: tip
-This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file.
+このモジュールはデフォルトで無効になっています。 有効にするには、設定ファイルで`disabled`を`false`に設定します。
:::
-### Options
+### オプション
-| Variable | Default | Description |
+| 変数 | デフォルト | 説明 |
| ----------------- | ------------- | ------------------------------------------------------------------------------------------------------------------- |
| `12hr` | `false` | Enables 12 hour formatting |
| `format` | see below | The [chrono format string](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) used to format the time. |
@@ -847,9 +850,9 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y
| `disabled` | `true` | Disables the `time` module. |
| `utc_time_offset` | `local` | Sets the UTC offset to use. Range from -24 < x < 24. Allows floats to accommodate 30/45 minute timezone offsets. |
-If `use_12hr` is `true`, then `format` defaults to `"%r"`. Otherwise, it defaults to `"%T"`. Manually setting `format` will override the `use_12hr` setting.
+`use_12hr`が`true`の場合、`format`のデフォルトは`"%r"`です。 それ以外の場合、デフォルトは`"%T"`です。 Manually setting `format` will override the `use_12hr` setting.
-### Example
+### 設定例
```toml
# ~/.config/starship.toml
@@ -860,25 +863,25 @@ format = "🕙[ %T ]"
utc_time_offset = -5
```
-## Username
+## ユーザー名
-The `username` module shows active user's username. The module will be shown if any of the following conditions are met:
+`username`モジュールはアクティブなユーザーのユーザー名を表示します。 次の条件のいずれかが満たされると、モジュールが表示されます。
- カレントユーザーがroot
- カレントユーザーが、ログインしているユーザーとは異なる
- ユーザーがSSHセッションとして接続されている
- `show_always`変数がtrueに設定されている
-### Options
+### オプション
-| Variable | Default | Description |
-| ------------- | --------------- | ------------------------------------- |
-| `style_root` | `"bold red"` | The style used when the user is root. |
-| `style_user` | `"bold yellow"` | The style used for non-root users. |
-| `show_always` | `false` | Always shows the `username` module. |
-| `disabled` | `false` | Disables the `username` module. |
+| Variable | Default | Description |
+| ------------- | --------------- | ------------------------- |
+| `style_root` | `"bold red"` | ユーザーがrootのときに使用されるスタイルです。 |
+| `style_user` | `"bold yellow"` | 非rootユーザーに使用されるスタイルです。 |
+| `show_always` | `false` | `username`モジュールを常に表示します。 |
+| `disabled` | `false` | `username`モジュールを無効にします。 |
-### Example
+### 設定例
```toml
# ~/.config/starship.toml
--
cgit v1.2.3