diff options
author | Matan Kushner <hello@matchai.dev> | 2022-06-16 08:48:50 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-16 08:48:50 -0400 |
commit | f2c73d65eea141d31fdc85280579023c1090b47e (patch) | |
tree | 39ce4a699e01610ea370b2bb1cce1c953866f409 /docs/id-ID | |
parent | c9f74f7f42fe20afca7dd6da90437877481366fb (diff) |
docs(i18n): new Crowdin updates (#4030)
Diffstat (limited to 'docs/id-ID')
-rw-r--r-- | docs/id-ID/config/README.md | 73 | ||||
-rw-r--r-- | docs/id-ID/guide/README.md | 2 |
2 files changed, 62 insertions, 13 deletions
diff --git a/docs/id-ID/config/README.md b/docs/id-ID/config/README.md index dbeda732a..d6948bdbc 100644 --- a/docs/id-ID/config/README.md +++ b/docs/id-ID/config/README.md @@ -206,6 +206,7 @@ $c\ $cmake\ $cobol\ $container\ +$daml\ $dart\ $deno\ $dotnet\ @@ -268,9 +269,9 @@ format = "$all$directory$character" ## AWS -The `aws` module shows the current AWS region and profile when credentials, a `credential_process` or a `sso_start_url` have been setup. Alternatively, you can force this module to show the region and profile even when the credentials have not been setup with the `force_display` option. Diperoleh dari variabel environment `AWS_REGION`, `AWS_DEFAULT_REGION`, dan `AWS_PROFILE` pada file `~/.aws/config`. Modul ini juga menampilkan penghitung waktu mundur kedaluwarsa ketika menggunakan temporer kredensial. +The `aws` module shows the current AWS region and profile and an expiration timer when using temporary credentials. The output of the module uses the `AWS_REGION`, `AWS_DEFAULT_REGION`, and `AWS_PROFILE` env vars and the `~/.aws/config` and `~/.aws/credentials` files as required. -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. If the option `force_display` is set to `true`, all available information will be displayed even if the conditions above are not respected. +The module will display a profile only if its credentials are present in `~/.aws/credentials` or if a `credential_process` or `sso_start_url` are 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. If the option `force_display` is set to `true`, all available information will be displayed even if no credentials per the conditions above are detected. Ketika menggunakan [aws-vault](https://github.com/99designs/aws-vault), profil dibaca dari variabel environment `AWS_VAULT` dan tanggal kedaluwarsanya dibaca dari variabel environment `AWS_SESSION_EXPIRATION`. @@ -537,19 +538,22 @@ Secara bawaan karakter hanya dapat mengganti warna. Jika kamu juga ingin menggan ::: warning -`vicmd_symbol` is only supported in cmd, fish and zsh. +`vicmd_symbol` is only supported in cmd, fish and zsh. `vimcmd_replace_one_symbol`, `vimcmd_replace_symbol`, and `vimcmd_visual_symbol` are only supported in fish due to [upstream issues with mode detection in zsh](https://github.com/starship/starship/issues/625#issuecomment-732454148). ::: ### Opsi -| Opsi | Bawaan | Deskripsi | -| ---------------- | ------------------- | ------------------------------------------------------------------------------------------------- | -| `fromat` | `"$symbol "` | Format string yang digunakan sebelum masukan teks. | -| `success_symbol` | `"[❯](bold green)"` | Format string yang digunakan sebelum masukan teks jika perintah sebelumnya berhasil. | -| `error_symbol` | `"[❯](bold red)"` | Format string yang digunakan sebelum masukan teks jika perintah sebelumnya gagal. | -| `vicmd_symbol` | `"[❮](bold green)"` | Format string yang digunakan sebelum masukan teks jika shell sedang dalam vim dengan mode normal. | -| `disabled` | `false` | Menonaktifkan module `character`. | +| Opsi | Bawaan | Deskripsi | +| -------------------------- | -------------------- | ------------------------------------------------------------------------------------------------- | +| `fromat` | `"$symbol "` | Format string yang digunakan sebelum masukan teks. | +| `success_symbol` | `"[❯](bold green)"` | Format string yang digunakan sebelum masukan teks jika perintah sebelumnya berhasil. | +| `error_symbol` | `"[❯](bold red)"` | Format string yang digunakan sebelum masukan teks jika perintah sebelumnya gagal. | +| `vicmd_symbol` | `"[❮](bold green)"` | Format string yang digunakan sebelum masukan teks jika shell sedang dalam vim dengan mode normal. | +| `vicmd_replace_one_symbol` | `"[❮](bold purple)"` | The format string used before the text input if the shell is in vim `replace_one` mode. | +| `vimcmd_replace_symbol` | `"[❮](bold purple)"` | The format string used before the text input if the shell is in vim replace mode. | +| `vimcmd_visual_symbol` | `"[❮](bold yellow)"` | The format string used before the text input if the shell is in vim replace mode. | +| `disabled` | `false` | Menonaktifkan module `character`. | ### Variabel @@ -803,6 +807,44 @@ Modul `crystal` menampilkan versi terkini dari [Crystal](https://crystal-lang.or format = "via [✨ $version](bold blue) " ``` +## Daml + +The `daml` module shows the currently used [Daml](https://www.digitalasset.com/developers) SDK version when you are in the root directory of your Daml project. The `sdk-version` in the `daml.yaml` file will be used, unless it's overridden by the `DAML_SDK_VERSION` environment variable. Secara bawaan, modul akan aktif jika beberapa syarat berikut telah terpenuhi: + +- The current directory contains a `daml.yaml` file + +### Opsi + +| Opsi | Bawaan | Deskripsi | +| ------------------- | ---------------------------------- | ----------------------------------------------------------------------------------- | +| `fromat` | `via [$symbol($version )]($style)` | Format dari modul. | +| `version_format` | `v${raw}` | Format dari versi. Variabel yang tersedia adalah `raw`, `major`, `minor`, & `patch` | +| `symbol` | `"Λ "` | A format string representing the symbol of Daml | +| `style` | `"bold cyan"` | Gaya penataan untuk modul. | +| `detect_extensions` | `[]` | Ekstensi mana yang sebaiknya memicu modul ini. | +| `detect_files` | `["daml.yaml"]` | filenames mana yang sebaiknya memicu modul ini. | +| `detect_folders` | `[]` | Folder mana yang sebaiknya memicul modul ini. | +| `disabled` | `false` | Disables the `daml` module. | + +### Variabel + +| Variabel | Contoh | Deskripsi | +| --------- | -------- | --------------------------------- | +| version | `v2.2.0` | The version of `daml` | +| symbol | | Menyalin nilai dari opsi `symbol` | +| style\* | | Menyalin nilai dari opsi `style` | + +*: Variabel tersebut hanya dapat digunakan sebagai bagian dari penataan string + +### Contoh + +```toml +# ~/.config/starship.toml + +[daml] +format = "via [D $version](bold bright-green) " +``` + ## Dart Modul `dart` menampilkan versi terkini dari [Dart](https://dart.dev/) yang terpasang. Secara bawaan, modul akan aktif jika beberapa syarat berikut telah terpenuhi: @@ -855,7 +897,7 @@ Modul `deno` menampilkan versi terkini dari [Deno](https://deno.land/) yang terp | ------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | | `fromat` | `"via [$symbol($version )]($style)"` | Format dari modul. | | `version_format` | `"v${raw}"` | Format dari versi. Variabel yang tersedia adalah `raw`, `major`, `minor`, & `patch` | -| `symbol` | `🦕 "` | Sebuah format string yang melambangkan simbol Deno | +| `symbol` | `"🦕 "` | Sebuah format string yang melambangkan simbol Deno | | `detect_extensions` | `[]` | Ekstensi mana yang sebaiknya memicu modul ini. | | `detect_files` | `["deno.json", "deno.jsonc", "mod.ts", "mod.js", "deps.ts", "deps.js"]` | filenames mana yang sebaiknya memicu modul ini. | | `detect_folders` | `[]` | Folder mana yang sebaiknya memicul modul ini. | @@ -1954,6 +1996,7 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y | `fromat` | `'[$symbol$context( \($namespace\))]($style) in '` | Format dari modul. | | `style` | `"cyan bold"` | Gaya penataan untuk modul. | | `context_aliases` | | Table of context aliases to display. | +| `user_aliases` | | Table of user aliases to display. | | `disabled` | `true` | Disables the `kubernetes` module. | ### Variabel @@ -1981,11 +2024,14 @@ disabled = false "dev.local.cluster.k8s" = "dev" ".*/openshift-cluster/.*" = "openshift" "gke_.*_(?P<var_cluster>[\\w-]+)" = "gke-$var_cluster" +[kubernetes.user_aliases] +"dev.local.cluster.k8s" = "dev" +"root/.*" = "root" ``` #### Regex Matching -Additional to simple aliasing, `context_aliases` also supports extended matching and renaming using regular expressions. +Additional to simple aliasing, `context_aliases` and `user_aliases` also supports extended matching and renaming using regular expressions. The regular expression must match on the entire kube context, capture groups can be referenced using `$name` and `$N` in the replacement. This is more explained in the [regex crate](https://docs.rs/regex/1.5.4/regex/struct.Regex.html#method.replace) documentation. @@ -2388,7 +2434,7 @@ 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`, `nimble`, `cargo`, `poetry`, `python`, `composer`, `gradle`, `julia`, `mix`, `helm`, `shards` and `dart` packages. +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`, `nimble`, `cargo`, `poetry`, `python`, `composer`, `gradle`, `julia`, `mix`, `helm`, `shards`, `daml` and `dart` packages. - [**npm**](https://docs.npmjs.com/cli/commands/npm) – The `npm` package version is extracted from the `package.json` present in the current directory - [**Cargo**](https://doc.rust-lang.org/cargo/) – The `cargo` package version is extracted from the `Cargo.toml` present in the current directory @@ -2405,6 +2451,7 @@ The `package` module is shown when the current directory is the repository for a - [**Shards**](https://crystal-lang.org/reference/the_shards_command/index.html) - The `shards` package version is extracted from the `shard.yml` present in the current directory - [**V**](https://vlang.io) - The `vlang` package version is extracted from the `v.mod` present in the current directory - [**SBT**](https://scala-sbt.org) - The `sbt` package version is extracted from the `build.sbt` present in the current directory +- [**Daml**](https://www.digitalasset.com/developers) - The `daml` package version is extracted from the `daml.yaml` present in the current directory - [**Dart**](https://pub.dev/) - The `dart` package version is extracted from the `pubspec.yaml` present in the current directory > ⚠️ The version being shown is that of the package whose source code is in your current directory, not your package manager. diff --git a/docs/id-ID/guide/README.md b/docs/id-ID/guide/README.md index 86c527cbd..3fbb46a8f 100644 --- a/docs/id-ID/guide/README.md +++ b/docs/id-ID/guide/README.md @@ -251,6 +251,8 @@ Alternatively, install Starship using any of the following package managers: <details> <summary>Windows</summary> +Install the latest version for your system with the MSI-installers from the [releases section](https://github.com/starship/starship/releases/latest). + Install Starship using any of the following package managers: | Repository | Instructions | |