diff options
author | Matan Kushner <hello@matchai.dev> | 2022-03-01 17:05:57 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-01 23:05:57 +0100 |
commit | aabc786dab868d8330c463220c8c70c3a817a825 (patch) | |
tree | dd9c92213fa273dc763dbd205448ea1b657efa82 /docs/ar-SA | |
parent | 0f3c8ca194ca7e78fe0d394ef0e3e9ac082d9d82 (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/ar-SA')
-rw-r--r-- | docs/ar-SA/config/README.md | 182 | ||||
-rw-r--r-- | docs/ar-SA/installing/README.md | 1 |
2 files changed, 107 insertions, 76 deletions
diff --git a/docs/ar-SA/config/README.md b/docs/ar-SA/config/README.md index 70b98c1a0..bb858d85f 100644 --- a/docs/ar-SA/config/README.md +++ b/docs/ar-SA/config/README.md @@ -261,7 +261,9 @@ format = "$all$directory$character" ## AWS -The `aws` module shows the current AWS region and profile. This is based on `AWS_REGION`, `AWS_DEFAULT_REGION`, and `AWS_PROFILE` env var with `~/.aws/config` file. 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. This is based on `AWS_REGION`, `AWS_DEFAULT_REGION`, and `AWS_PROFILE` env var with `~/.aws/config` file. 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. @@ -795,19 +797,20 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an ### Options -| Option | الافتراضي | الوصف | -| ------------------- | -------------------------------------------------- | --------------------------------------------------------------------------------------- | -| `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) "` | The format for the module. | -| `style` | `"bold cyan"` | The style for the module. | -| `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: "…/" | -| `repo_root_style` | `None` | The style for the root of the git repo when `truncate_to_repo` option is set to false. | -| `home_symbol` | `"~"` | The symbol indicating home directory. | -| `use_os_path_sep` | `true` | Use the OS specific path seperator instead of always using `/` (e.g. `\` on Windows) | +| Option | الافتراضي | الوصف | +| ------------------- | ----------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | +| `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) "` | The format for the module. | +| `style` | `"bold cyan"` | The style for the module. | +| `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: "…/" | +| `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>This module has a few advanced configuration options that control how the directory is displayed.</summary> @@ -839,6 +842,21 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an *: 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` + +| Variable | مثال | الوصف | +| ------------------ | --------------------- | --------------------------------------- | +| 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"` | Mirrors the value of option `style` | +| repo_root_style | `"underline white"` | Style for git root directory name | + +</details> + ### مثال ```toml @@ -1045,13 +1063,13 @@ 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. | +| `default` | | 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. | ### Variables @@ -1159,13 +1177,14 @@ The `gcloud` module shows the current configuration for [`gcloud`](https://cloud ### Options -| Option | الافتراضي | الوصف | -| ---------------- | ---------------------------------------------------------- | --------------------------------------------------------------- | -| `format` | `'on [$symbol$account(@$domain)(\($region\))]($style) '` | The format for the module. | -| `symbol` | `"☁️ "` | The symbol used before displaying the current GCP profile. | -| `region_aliases` | | Table of region aliases to display in addition to the GCP name. | -| `style` | `"bold blue"` | The style for the module. | -| `disabled` | `false` | Disables the `gcloud` module. | +| Option | الافتراضي | الوصف | +| ----------------- | ---------------------------------------------------------- | ---------------------------------------------------------------- | +| `format` | `'on [$symbol$account(@$domain)(\($region\))]($style) '` | The format for the module. | +| `symbol` | `"☁️ "` | The symbol used before displaying the current GCP profile. | +| `region_aliases` | | Table of region aliases to display in addition to the GCP name. | +| `project_aliases` | | Table of project aliases to display in addition to the GCP name. | +| `style` | `"bold blue"` | The style for the module. | +| `disabled` | `false` | Disables the `gcloud` module. | ### Variables @@ -1175,7 +1194,7 @@ The `gcloud` module shows the current configuration for [`gcloud`](https://cloud | account | `foo` | The current GCP profile | | domain | `example.com` | The current GCP profile domain | | project | | The current GCP project | -| active | `الافتراضي` | The active config name written in `~/.config/gcloud/active_config` | +| active | `default` | The active config name written in `~/.config/gcloud/active_config` | | symbol | | Mirrors the value of option `symbol` | | style\* | | Mirrors the value of option `style` | @@ -1214,6 +1233,17 @@ us-central1 = "uc1" asia-northeast1 = "an1" ``` +#### Display account and aliased project + +```toml +# ~/.config/starship.toml + +[gcloud] +format = 'on [$symbol$account(@$domain)(\($project\))]($style) ' +[gcloud.project_aliases] +very-long-project-name = "vlpn" +``` + ## Git Branch The `git_branch` module shows the active branch of the repo in your current directory. @@ -1711,39 +1741,6 @@ The `julia` module shows the currently installed version of [Julia](https://juli symbol = "∴ " ``` -## localip - -The `localip` module shows the IPv4 address of the primary network interface. - -### Options - -| Option | الافتراضي | الوصف | -| ---------- | ------------------------- | ------------------------------------------------------ | -| `ssh_only` | `true` | Only show IP address when connected to an SSH session. | -| `format` | `"[$localipv4]($style) "` | The format for the module. | -| `style` | `"bold yellow"` | The style for the module. | -| `disabled` | `true` | Disables the `localip` module. | - -### Variables - -| Variable | مثال | الوصف | -| --------- | ------------ | ----------------------------------- | -| localipv4 | 192.168.1.13 | Contains the primary IPv4 address | -| style\* | | Mirrors the value of option `style` | - -*: This variable can only be used as a part of a style string - -### مثال - -```toml -# ~/.config/starship.toml - -[localip] -ssh_only = false -format = "@[$localipv4](bold red) " -disabled = false -``` - ## Kotlin The `kotlin` module shows the currently installed version of [Kotlin](https://kotlinlang.org/). By default the module will be shown if any of the following conditions are met: @@ -1793,7 +1790,7 @@ kotlin_binary = "kotlinc" ## Kubernetes -Displays the current [Kubernetes context](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#context) name and, if set, the namespace from the kubeconfig file. The namespace needs to be set in the kubeconfig file, this can be done via `kubectl config set-context starship-cluster --namespace astronaut`. If the `$KUBECONFIG` env var is set the module will use that if not it will use the `~/.kube/config`. +Displays the current [Kubernetes context](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#context) name and, if set, the namespace, user and cluster from the kubeconfig file. The namespace needs to be set in the kubeconfig file, this can be done via `kubectl config set-context starship-context --namespace astronaut`. Similarly the user and cluster can be set with `kubectl config set-context starship-context --user starship-user` and `kubectl config set-context starship-context --cluster starship-cluster`. If the `$KUBECONFIG` env var is set the module will use that if not it will use the `~/.kube/config`. ::: tip @@ -1815,8 +1812,10 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y | Variable | مثال | الوصف | | --------- | -------------------- | ---------------------------------------- | -| context | `starship-cluster` | The current kubernetes context | +| context | `starship-context` | The current kubernetes context name | | namespace | `starship-namespace` | If set, the current kubernetes namespace | +| user | `starship-user` | If set, the current kubernetes user | +| cluster | `starship-cluster` | If set, the current kubernetes cluster | | symbol | | Mirrors the value of option `symbol` | | style\* | | Mirrors the value of option `style` | @@ -1828,12 +1827,12 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y # ~/.config/starship.toml [kubernetes] -format = 'on [⛵ $context \($namespace\)](dimmed green) ' +format = 'on [⛵ ($user on )($cluster in )$context \($namespace\)](dimmed green) ' disabled = false [kubernetes.context_aliases] "dev.local.cluster.k8s" = "dev" ".*/openshift-cluster/.*" = "openshift" -"gke_.*_(?P<cluster>[\\w-]+)" = "gke-$cluster" +"gke_.*_(?P<var_cluster>[\\w-]+)" = "gke-$var_cluster" ``` #### Regex Matching @@ -1849,12 +1848,12 @@ Long and automatically generated cluster names can be identified and shortened u # OpenShift contexts carry the namespace and user in the kube context: `namespace/name/user`: ".*/openshift-cluster/.*" = "openshift" # Or better, to rename every OpenShift cluster at once: -".*/(?P<cluster>[\\w-]+)/.*" = "$cluster" +".*/(?P<var_cluster>[\\w-]+)/.*" = "$var_cluster" # Contexts from GKE, AWS and other cloud providers usually carry additional information, like the region/zone. # The following entry matches on the GKE format (`gke_projectname_zone_cluster-name`) # and renames every matching kube context into a more readable format (`gke-cluster-name`): -"gke_.*_(?P<cluster>[\\w-]+)" = "gke-$cluster" +"gke_.*_(?P<var_cluster>[\\w-]+)" = "gke-$var_cluster" ``` ## Line Break @@ -1876,6 +1875,39 @@ The `line_break` module separates the prompt into two lines. disabled = true ``` +## Local IP + +The `localip` module shows the IPv4 address of the primary network interface. + +### Options + +| Option | الافتراضي | الوصف | +| ---------- | ------------------------- | ------------------------------------------------------ | +| `ssh_only` | `true` | Only show IP address when connected to an SSH session. | +| `format` | `"[$localipv4]($style) "` | The format for the module. | +| `style` | `"bold yellow"` | The style for the module. | +| `disabled` | `true` | Disables the `localip` module. | + +### Variables + +| Variable | مثال | الوصف | +| --------- | ------------ | ----------------------------------- | +| localipv4 | 192.168.1.13 | Contains the primary IPv4 address | +| style\* | | Mirrors the value of option `style` | + +*: This variable can only be used as a part of a style string + +### مثال + +```toml +# ~/.config/starship.toml + +[localip] +ssh_only = false +format = "@[$localipv4](bold red) " +disabled = false +``` + ## Lua The `lua` module shows the currently installed version of [Lua](http://www.lua.org/). By default the module will be shown if any of the following conditions are met: @@ -3025,12 +3057,12 @@ By default the module will be shown if any of the following conditions are met: ### Variables -| Variable | مثال | الوصف | -| --------- | ----------- | ------------------------------------ | -| version | `v0.12.24` | The version of `terraform` | -| workspace | `الافتراضي` | The current Terraform workspace | -| symbol | | Mirrors the value of option `symbol` | -| style\* | | Mirrors the value of option `style` | +| Variable | مثال | الوصف | +| --------- | ---------- | ------------------------------------ | +| version | `v0.12.24` | The version of `terraform` | +| workspace | `default` | The current Terraform workspace | +| symbol | | Mirrors the value of option `symbol` | +| style\* | | Mirrors the value of option `style` | *: This variable can only be used as a part of a style string @@ -3334,7 +3366,7 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt | `command` | `""` | The command whose output should be printed. The command will be passed on stdin to the shell. | | `when` | | A shell command used as a condition to show the module. The module will be shown if the command returns a `0` status code. | | `shell` | | [See below](#custom-command-shell) | -| `الوصف` | `"<custom module>"` | The description of the module that is shown when running `starship explain`. | +| `description` | `"<custom module>"` | The description of the module that is shown when running `starship explain`. | | `files` | `[]` | The files that will be searched in the working directory for a match. | | `directories` | `[]` | The directories that will be searched in the working directory for a match. | | `extensions` | `[]` | The extensions that will be searched in the working directory for a match. | diff --git a/docs/ar-SA/installing/README.md b/docs/ar-SA/installing/README.md index c0553eec8..281066b09 100644 --- a/docs/ar-SA/installing/README.md +++ b/docs/ar-SA/installing/README.md @@ -63,7 +63,6 @@ Enable the `programs.starship` module in your `home.nix` file, and add your sett { programs.starship = { enable = true; - enableZshIntegration = true; # Configuration written to ~/.config/starship.toml settings = { # add_newline = false; |