diff options
author | Matan Kushner <hello@matchai.dev> | 2023-02-01 01:14:38 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-01 01:14:38 +0900 |
commit | 2ef936079745b66f077c4071b7b6ea9a5aa465ce (patch) | |
tree | 93f562f798a7163a3575ddddd1efa2abb3a1886d | |
parent | 30084e113a18f498c5be8b131e1c53378fe3555c (diff) |
docs(i18n): new Crowdin updates (#4719)
111 files changed, 6663 insertions, 3802 deletions
diff --git a/docs/ar-SA/README.md b/docs/ar-SA/README.md index e899fb40d..18f935c4d 100644 --- a/docs/ar-SA/README.md +++ b/docs/ar-SA/README.md @@ -149,14 +149,14 @@ description: Starship is the minimal, blazing fast, and extremely customizable p ::: warning - This will change in the future. Only Nushell v0.61+ is supported. + This will change in the future. Only Nushell v0.73+ is supported. ::: - Add the following to to the end of your Nushell env file (find it by running `$nu.env-path` in Nushell): + Add the following to the end of your Nushell env file (find it by running `$nu.env-path` in Nushell): ```sh mkdir ~/.cache/starship - starship init nu | save ~/.cache/starship/init.nu + 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`): diff --git a/docs/ar-SA/advanced-config/README.md b/docs/ar-SA/advanced-config/README.md index 110d965ce..7fd8bfb91 100644 --- a/docs/ar-SA/advanced-config/README.md +++ b/docs/ar-SA/advanced-config/README.md @@ -207,8 +207,6 @@ Note: The right prompt is a single line following the input location. To right a `right_format` is currently supported for the following shells: elvish, fish, zsh, xonsh, cmd, nushell. -Note: Nushell 0.71.0 or later is required - ### مثال ```toml @@ -231,7 +229,7 @@ Produces a prompt like the following: Some shells support a continuation prompt along with the normal prompt. This prompt is rendered instead of the normal prompt when the user has entered an incomplete statement (such as a single left parenthesis or quote). -Starship can set the continuation prompt using the `continuation_prompt` option. The default prompt is `"[∙](bright-black) "`. +Starship can set the continuation prompt using the `continuation_prompt` option. The default prompt is `'[∙](bright-black) '`. Note: `continuation_prompt` should be set to a literal string without any variables. @@ -247,7 +245,7 @@ Note: Continuation prompts are only available in the following shells: # ~/.config/starship.toml # A continuation prompt that displays two filled in arrows -continuation_prompt = "▶▶" +continuation_prompt = '▶▶ ' ``` ## Style Strings diff --git a/docs/ar-SA/config/README.md b/docs/ar-SA/config/README.md index 23b26afe8..51efe18ee 100644 --- a/docs/ar-SA/config/README.md +++ b/docs/ar-SA/config/README.md @@ -252,12 +252,14 @@ $singularity\ $kubernetes\ $directory\ $vcsh\ +$fossil_branch\ $git_branch\ $git_commit\ $git_state\ $git_metrics\ $git_status\ $hg_branch\ +$pijul_channel\ $docker_context\ $package\ $c\ @@ -270,6 +272,7 @@ $dotnet\ $elixir\ $elm\ $erlang\ +$fennel\ $golang\ $guix_shell\ $haskell\ @@ -278,6 +281,7 @@ $helm\ $java\ $julia\ $kotlin\ +$gradle\ $lua\ $nim\ $nodejs\ @@ -1305,6 +1309,12 @@ The `env_var` module displays the current value of a selected environment variab ::: tip +The order in which env_var modules are shown can be individually set by including `${env_var.foo}` in the top level `format` (as it includes a dot, you need to use `${...}`). By default, the `env_var` module will simply show all env_var modules in the order they were defined. + +::: + +::: tip + Multiple environmental variables can be displayed by using a `.`. (see example) If the `variable` configuration option is not set, the module will display value of variable under the name of text after the `.` character. Example: following configuration will display value of USER environment variable @@ -1320,13 +1330,14 @@ default = 'unknown user' ### Options -| Option | الافتراضي | الوصف | -| ----------- | ------------------------------ | ---------------------------------------------------------------------------- | -| `symbol` | `''` | The symbol used before displaying the variable value. | -| `variable` | | The environment variable to be displayed. | -| `الافتراضي` | | The default value to be displayed when the selected variable is not defined. | -| `format` | `'with [$env_value]($style) '` | The format for the module. | -| `disabled` | `false` | Disables the `env_var` module. | +| Option | الافتراضي | الوصف | +| ------------- | ------------------------------ | ---------------------------------------------------------------------------- | +| `symbol` | `""` | The symbol used before displaying the variable value. | +| `variable` | | The environment variable to be displayed. | +| `الافتراضي` | | The default value to be displayed when the selected variable is not defined. | +| `format` | `"with [$env_value]($style) "` | The format for the module. | +| `description` | `"<env_var module>"` | The description of the module that is shown when running `starship explain`. | +| `disabled` | `false` | Disables the `env_var` module. | ### Variables @@ -1399,6 +1410,44 @@ The `erlang` module shows the currently installed version of [Erlang/OTP](https: format = 'via [e $version](bold red) ' ``` +## Fennel + +The `fennel` module shows the currently installed version of [Fennel](https://fennel-lang.org). By default the module will be shown if any of the following conditions are met: + +- The current directory contains a file with the `.fnl` extension + +### Options + +| Option | الافتراضي | الوصف | +| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- | +| `format` | `'via [$symbol($version )]($style)'` | The format for the module. | +| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | +| `symbol` | `'🧅 '` | The symbol used before displaying the version of fennel. | +| `style` | `'bold green'` | The style for the module. | +| `detect_extensions` | `[fnl]` | Which extensions should trigger this module. | +| `detect_files` | `[]` | Which filenames should trigger this module. | +| `detect_folders` | `[]` | Which folders should trigger this modules. | +| `disabled` | `false` | Disables the `fennel` module. | + +### Variables + +| Variable | م |