summaryrefslogtreecommitdiffstats
path: root/docs/vi-VN/config/README.md
diff options
context:
space:
mode:
authorMatan Kushner <hello@matchai.dev>2021-03-15 13:18:42 -0400
committerGitHub <noreply@github.com>2021-03-15 18:18:42 +0100
commit3a4c9063e90e8671fb99c977f7079d980933ae07 (patch)
tree972ddbdc14dfffd9d4897b36f9546ac92ec50208 /docs/vi-VN/config/README.md
parent052b56fe10494c37afd058548c5dc7e2f359e08c (diff)
docs(i18n): New Crowdin updates (#2362)
* New translations README.md (Sorani (Kurdish)) * New translations README.md (Chinese Simplified) * New translations README.md (Chinese Simplified) * New translations README.md (Vietnamese) * New translations README.md (Vietnamese) * New translations README.md (Vietnamese) * New translations README.md (Vietnamese) * New translations README.md (Vietnamese) * New translations README.md (Vietnamese) * New translations README.md (Vietnamese) * New translations README.md (Vietnamese) * New translations README.md (Vietnamese) * New translations README.md (Vietnamese) * New translations README.md (Vietnamese) * New translations README.md (Vietnamese) * New translations README.md (Vietnamese) * New translations README.md (Vietnamese) * New translations README.md (Vietnamese) * New translations README.md (Vietnamese) * New translations README.md (Vietnamese) * New translations README.md (Vietnamese) * New translations README.md (Vietnamese) * New translations README.md (Vietnamese) * New translations README.md (Vietnamese) * New translations README.md (Vietnamese) * New translations README.md (Vietnamese) * New translations README.md (Vietnamese) * New translations README.md (Vietnamese) * New translations README.md (Vietnamese) * New translations README.md (Turkish) * New translations README.md (Russian) * New translations README.md (Portuguese) * New translations README.md (Polish) * New translations README.md (Dutch) * New translations README.md (Japanese) * New translations README.md (Italian) * New translations README.md (German) * New translations README.md (Chinese Simplified) * New translations README.md (Chinese Traditional) * New translations README.md (Sorani (Kurdish)) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Vietnamese) * 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 (Spanish) * New translations README.md (French) * New translations README.md (Portuguese) * New translations README.md (Arabic) * New translations README.md (Spanish) * New translations README.md (French) * New translations README.md (Korean) * New translations README.md (Sorani (Kurdish)) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Russian) * 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 (Chinese Traditional) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Traditional) * 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 (German) * New translations README.md (Arabic) * New translations README.md (Spanish) * New translations README.md (French) * New translations README.md (Spanish) * New translations README.md (Japanese) * New translations README.md (Korean) * New translations README.md (Chinese Simplified) * 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 (Sorani (Kurdish)) * 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 (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 (Korean) * New translations README.md (Korean) * New translations README.md (Korean) * New translations README.md (Korean) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (French) * New translations README.md (Portuguese) * 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 (Russian) * New translations README.md (Polish) * New translations README.md (Spanish) * 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 (Arabic) * New translations README.md (French) * New translations README.md (Polish) * New translations README.md (Dutch) * New translations README.md (Dutch) * New translations README.md (Korean) * New translations README.md (Korean) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Italian) * New translations README.md (Italian) * New translations README.md (German) * New translations README.md (German) * New translations README.md (Arabic) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Polish) * New translations README.md (Portuguese) * New translations README.md (Chinese Traditional) * New translations README.md (Sorani (Kurdish)) * New translations README.md (Sorani (Kurdish)) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Vietnamese) * New translations README.md (Vietnamese) * New translations README.md (Chinese Traditional) * New translations README.md (Portuguese) * New translations README.md (Chinese Simplified) * New translations README.md (Chinese Simplified) * New translations README.md (Turkish) * New translations README.md (Turkish) * New translations README.md (Russian) * New translations README.md (Russian) * New translations README.md (Polish) * New translations README.md (Dutch) * New translations README.md (Japanese) * New translations README.md (Italian) * New translations README.md (German) * New translations README.md (Portuguese) * New translations README.md (Sorani (Kurdish)) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Vietnamese) * New translations README.md (Chinese Traditional) * New translations README.md (Russian) * New translations README.md (Chinese Simplified) * New translations README.md (Turkish) * New translations README.md (Arabic) * New translations README.md (Spanish) * New translations README.md (French) * New translations README.md (Korean) * New translations README.md (German) * New translations README.md (Turkish) * New translations README.md (Russian) * New translations README.md (Portuguese) * New translations README.md (Polish) * New translations README.md (Dutch) * New translations README.md (Japanese) * New translations README.md (Italian) * New translations README.md (German) * New translations README.md (Chinese Simplified) * New translations README.md (Chinese Traditional) * New translations README.md (Sorani (Kurdish)) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Vietnamese) * 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 (Spanish) * New translations README.md (French) * New translations README.md (Portuguese) * New translations README.md (Arabic) * New translations README.md (Spanish) * New translations README.md (French) * New translations README.md (Korean) * New translations README.md (Sorani (Kurdish)) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Russian) * 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 (Polish) * New translations README.md (Dutch) * New translations README.md (Japanese) * New translations README.md (Italian) * New translations README.md (German) * New translations README.md (Portuguese) * New translations README.md (Sorani (Kurdish)) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Vietnamese) * New translations README.md (Chinese Traditional) * New translations README.md (Russian) * New translations README.md (Chinese Simplified) * New translations README.md (Turkish) * New translations README.md (Arabic) * New translations README.md (Spanish) * New translations README.md (French) * New translations README.md (Korean) * New translations README.md (Italian) * New translations README.md (Italian)
Diffstat (limited to 'docs/vi-VN/config/README.md')
-rw-r--r--docs/vi-VN/config/README.md792
1 files changed, 422 insertions, 370 deletions
diff --git a/docs/vi-VN/config/README.md b/docs/vi-VN/config/README.md
index 148ad30d9..909fe78da 100644
--- a/docs/vi-VN/config/README.md
+++ b/docs/vi-VN/config/README.md
@@ -9,14 +9,14 @@ mkdir -p ~/.config && touch ~/.config/starship.toml
Tất cả cấu hình của starship đã xong trong tập tin này: [TOML](https://github.com/toml-lang/toml):
```toml
-# Không in dòng mới tại điểm bắt đầu của prompt
-add_newline = false
+# Chèn một dòng trắng vào giữa các dấu nhắc lệnh
+add_newline = true
-# Thay thế kí hiệu "❯" trong prompt với "➜"
-[character] # Tên module chúng ta đang cấu hình là "character"
-success_symbol = "[➜](bold green)" # "success_symbol" được thiết lập là "➜" với màu "bold green"
+# Thay thế biểu tượng "❯" trong dấu nhắc lệnh bằng "➜"
+[character] # Tên mô đun chúng ta đang cấu hình là "character"
+success_symbol = "[➜](bold green)" # đoạn "success_symbol" đươc thiết lập thành "➜" với màu "bold green"
-# Vô hiệu hoá module, ẩn nó từ prompt hoàn chỉnh
+#Vô hiệu mô đun package, ẩn nó hoàn toàn trong dấu nhắc lệnh
[package]
disabled = true
```
@@ -80,7 +80,7 @@ Phần thứ hai, cái được bao bọc trong một `()`, là một [chuỗi k
Ví dụ:
- `[on](red bold)` sẽ in một chuỗi `on` với chữ đậm tô màu đỏ.
-- `[⬢ $version](bold green)` sẽ in một kí hiệu `⬢` theo sao bởi nội dung của biến `version`, với chữ đậm tô màu xanh lá cây.
+- `[⌘ $version](bold green)` sẽ in một biểu tượng `⌘` theo sau là nội dung của biến `version`, với chữ in đậm màu xanh lá cây.
- `[a [b](red) c](green)` sẽ in `a b c` với `b` màu đỏ, `a` và `c` màu xanh lá cây.
#### Các chuỗi kiểu
@@ -146,7 +146,7 @@ Cái này là danh sách các tuỳ chọn cho cấu hình prompt-wide.
| -------------- | ------------------------------ | ------------------------------------------------------------------------ |
| `format` | [link](#default-prompt-format) | Cấu hình định dạng của prompt. |
| `scan_timeout` | `30` | Timeout của starship cho việc quét các tập tin (tính theo milliseconds). |
-| `add_newline` | `true` | Thêm một dòng mới trước khi bắt đầu một prompt. |
+| `add_newline` | `true` | Chèn dòng trắng giữa các dấu nhắc lệnh. |
### Ví dụ
@@ -162,7 +162,7 @@ format = """
# Chờ 10 milliseconds để starship kiểm tra các tập tin trong đường dẫn hiện tại.
scan_timeout = 10
-# Vô hiệu hoá dòng mới tại điểm bắt đầu của prompt
+# Vô hiệu hóa dòng trắng tại ví trị bắt đầu của dấu nhắc lệnh
add_newline = false
```
@@ -173,7 +173,7 @@ Mặc định `format` được sử dụng để định nghĩa định dạng
```toml
format = "$all"
-# Nó tương đương với
+# Which is equivalent to
format = """
$username\
$hostname\
@@ -207,6 +207,7 @@ $purescript\
$python\
$ruby\
$rust\
+$scala\
$swift\
$terraform\
$vagrant\
@@ -237,15 +238,17 @@ $character"""
Khi sử dụng [aws-vault](https://github.com/99designs/aws-vault) profile được đọc từ biến môt trường `AWS_VAULT`.
+When using [awsu](https://github.com/kreuzwerker/awsu) the profile is read from the `AWSU_PROFILE` env var.
+
### Các tuỳ chọn
-| Tuỳ chọn | Mặc định | Mô tả |
-| ---------------- | ------------------------------------------------ | ---------------------------------------------------- |
-| `format` | `'on [$symbol$profile(\($region\))]($style) '` | Định dạng cho module. |
-| `symbol` | `"☁️ "` | Kí hiệu sử dụng hiển thị trước profile AWS hiện tại. |
-| `region_aliases` | | Bảng của các region alias để hiển thị ngoài tên AWS. |
-| `style` | `"bold yellow"` | Kiểu cho module. |
-| `disabled` | `false` | Vô hiệu `AWS` module. |
+| Tuỳ chọn | Mặc định | Mô tả |
+| ---------------- | --------------------------------------------------- | ---------------------------------------------------- |
+| `format` | `'on [$symbol($profile )(\($region\) )]($style)'` | Định dạng cho module. |
+| `symbol` | `"☁️ "` | Kí hiệu sử dụng hiển thị trước profile AWS hiện tại. |
+| `region_aliases` | | Bảng của các region alias để hiển thị ngoài tên AWS. |
+| `style` | `"bold yellow"` | Kiểu cho module. |
+| `disabled` | `false` | Vô hiệu `AWS` module. |
### Các biến
@@ -256,7 +259,7 @@ Khi sử dụng [aws-vault](https://github.com/99designs/aws-vault) profile đư
| symbol | | Giá trị ghi đè tuỳ chọn `symbol` |
| style\* | | Giá trị ghi đè của `style` |
-\*: Biến này có thể chỉ được sử dụng như một phần của style string
+\*: This variable can only be used as a part of a style string
### Các vị dụ
@@ -266,7 +269,7 @@ Khi sử dụng [aws-vault](https://github.com/99designs/aws-vault) profile đư
# ~/.config/starship.toml
[aws]
-format = 'on [$symbol$profile(\($region\))]($style) '
+format = 'on [$symbol($profile )(\($region\) )]($style)'
style = "bold blue"
symbol = "🅰 "
[aws.region_aliases]
@@ -301,7 +304,7 @@ symbol = "🅰 "
## Battery
-`battery` module cho biết cách sạc pin của thiết bị là gì và tình trạng sạc hiện tại của nó. Module chỉ được nhìn thấy khi pin của thiết bị dưới 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%.
### Các tuỳ chọn
@@ -330,7 +333,7 @@ discharging_symbol = "💀"
### Hiển thị pin
-Tuỳ chọn cấu hình `display` được sử dụng để định nghĩa khi nào pin nên cho biết (threshold) và nó trông như thế nào (style). Nếu `display` không được cung cấp. Mặc định như sau:
+The `display` configuration option is used to define when the battery indicator should be shown (threshold) and what it looks like (style). If no `display` is provided. Mặc định như sau:
```toml
[[battery.display]]
@@ -340,11 +343,11 @@ style = "bold red"
#### Các tuỳ chọn
-Tuỳ chọn `display` là một mảng của của bảng sau.
+The `display` option is an array of the following table.
| Tuỳ chọn | Mô tả |
| ----------- | ---------------------------------------------------------- |
-| `threshold` | Cận trên của tuỳ chọn hiển thị. |
+| `threshold` | Cận trên cho tuỳ chọn hiển thị. |
| `style` | Kiểu sử dụng nếu tuỳ chọn hiển thị được sử dụng bên trong. |
#### Ví dụ
@@ -364,16 +367,16 @@ style = "bold yellow"
## Character
-Module `character` cho biết một kí tự (thường là một mũi tên) bên cạnh nơi văn bản được nhập trong terminal của bạn.
+The `character` module shows a character (usually an arrow) beside where the text is entered in your terminal.
-Kí tự sẽ nói cho bạn câu lệnh cuối liệu thành công hay thất bại. Nó có thể làm điều này bằng hai cách:
+The character will tell you whether the last command was successful or not. It can do this in two ways:
- thay đổi màu(`đỏ`/`xanh lá`)
- thay đổi hình dạng (`❯`/`✖`)
-Mặc định, nó chỉ thay đổi màu. Nếu bạn cũng muốn thay đổi hình dạng, tham khảo [ví dụ này](#with-custom-error-shape).
+By default it only changes color. If you also want to change it's shape take a look at [this example](#with-custom-error-shape).
-::: warning `error_symbol` không được hỗ trợ trên elvish shell. :::
+::: warning `error_symbol` is not supported on elvish shell. :::
### Các tuỳ chọn
@@ -387,9 +390,9 @@ Mặc định, nó chỉ thay đổi màu. Nếu bạn cũng muốn thay đổi
### Các biến
-| Biến | Ví dụ | Mô tả |
-| ------ | ----- | --------------------------------------------------------------------- |
-| symbol | | A mirror of either `success_symbol`, `error_symbol` or `vicmd_symbol` |
+| Biến | Ví dụ | Mô tả |
+| ------ | ----- | ----------------------------------------------------------------------------- |
+| symbol | | Một phản ánh của một trong `success_symbol`, `error_symbol` or `vicmd_symbol` |
### Các vị dụ
@@ -424,7 +427,7 @@ vicmd_symbol = "[V](bold green) "
## CMake
-`cmake` module cho biết phiên bản Cmake hiện tại đã được cài đặt. Mặc định module sẽ được kích hoạt nếu thoả mãn bất kì điều kiện nào dưới đây:
+The `cmake` module shows the currently installed version of CMake. By default the module will be activated if any of the following conditions are met:
- Đường dẫn hiện tại chứa một tập tin `CmakeLists.txt`
- Đường dẫn hiện tại chứa một tập tin `CMakeCache.txt`
@@ -434,7 +437,7 @@ vicmd_symbol = "[V](bold green) "
| Tuỳ chọn | Mặc định | Mô tả |
| ------------------- | -------------------------------------- | -------------------------------------------------- |
| `format` | `"via [$symbol($version )]($style)"` | Định dạng cho module. |
-| `symbol` | `"喝 "` | Kí hiệu sử dụng trước phiên bản của cmake. |
+| `symbol` | `"△ "` | Kí hiệu sử dụng trước phiên bản của cmake. |
| `detect_extensions` | `[]` | Những tiện ích mở rộng nào sẽ kích hoạt mô-đun này |
| `detect_files` | `["CMakeLists.txt", "CMakeCache.txt"]` | Tên tệp nào sẽ kích hoạt mô-đun này |
| `detect_folders` | `[]` | Thư mục nào sẽ kích hoạt mô-đun này |
@@ -449,19 +452,19 @@ vicmd_symbol = "[V](bold green) "
| symbol | | Giá trị ghi đè tuỳ chọn `symbol` |
| style\* | | Giá trị ghi đè của `style` |
-\*: Biến này có thể chỉ được sử dụng như một phần của style string
+\*: This variable can only be used as a part of a style string
## Command Duration
-Module `cmd_duration`. cho biết câu lệnh cuối cùng thực thi trong bao lâu. Module sẽ được hiện chỉ khi câu lệnh lấy nhiều hơn 2 giây, hoặc giá trị cấu hình `min_time`, nếu nó tồn tại.
+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.
-::: cảnh báo Không thể hook DEBUG trap trong Bash
+::: warning Do not hook the DEBUG trap in Bash
-Nếu bạn đang chạy Starship trong `bash`, không thể hook `DEBUG` trap sau khi chạy `eval $(starship init $0)`, hoặc module này **sẽ** ngắt.
+If you are running Starship in `bash`, do not hook the `DEBUG` trap after running `eval $(starship init $0)`, or this module **will** break.
:::
-Người dùng Bash, những người cần chức năng giống preexec có thể sử dụng [rcaloras's bash_preexec framework](https://github.com/rcaloras/bash-preexec). Đơn giản là định nghĩa các mảng `preexec_functions` và `precmd_functions` trước khi chạy `eval $(starship init $0)`, và sau đó thực thi như bình thường.
+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.
### Các tuỳ chọn
@@ -475,9 +478,9 @@ Người dùng Bash, những người cần chức năng giống preexec có th
| `show_notifications` | `false` | Hiện thông báo desktop khi câu lệnh hoàn thành. |
| `min_time_to_notify` | `45_000` | Khoảng thời gian ngắn nhất để thông báo (tính bằng milliseconds). |
-::: thử thuật
+::: tip
-Hiện thông báo desktop yêu cầu starship được built với sự hỗ trợ của `rust-notify`. Bạn kiểm tra nếu starship hỗ trợ các thông báo bằng cách chạy `STARSHIP_LOG=debug starship module cmd_duration -d 60000` khi `show_notifications` được thiết lập là `true`.
+Showing desktop notifications requires starship to be built with `rust-notify` support. You check if your starship supports notifications by running `STARSHIP_LOG=debug starship module cmd_duration -d 60000` when `show_notifications` is set to `true`.
:::
@@ -488,7 +491,7 @@ Hiện thông báo desktop yêu cầu starship được built với sự hỗ tr
| duration | `16m40s` | Thời gian nó lấy để thực thi câu lệnh |
| style\* | | Giá trị ghi đè của `style` |
-\*: Biến này có thể chỉ được sử dụng như một phần của style string
+\*: This variable can only be used as a part of a style string
### Ví dụ
@@ -502,11 +505,11 @@ format = "underwent [$duration](bold yellow)"
## Conda
-Module `conda` cho biết môi trường conda hiện tại, nếu `$CONDA_DEFAULT_ENV` được thiết lập.
+The `conda` module shows the current conda environment, if `$CONDA_DEFAULT_ENV` is set.
-::: thử thuật
+::: tip
-Cái này không loại bỏ conda's prompt mà nó sở hữu, bạn có thể muốn chạy `conda config --set changeps1 False`.
+This does not suppress conda's own prompt modifier, you may want to run `conda config --set changeps1 False`.
:::
@@ -529,7 +532,7 @@ Cái này không loại bỏ conda's prompt mà nó sở hữu, bạn có thể
| symbol | | Giá trị ghi đè tuỳ chọn `symbol` |
| style\* | | Giá trị ghi đè của `style` |
-\*: Biến này có thể chỉ được sử dụng như một phần của style string
+\*: This variable can only be used as a part of a style string
### Ví dụ
@@ -542,7 +545,7 @@ format = "[$symbol$environment](dimmed green) "
## Crystal
-Module `crystal` cho biết phiên bản hiện tại của Crystal được đã cài đặt. Mặc định module sẽ được hiển thị nếu có bất kì điều kiện nào dưới đây thoả mãn:
+The `crystal` module shows the currently installed version of Crystal. Mặc định module sẽ được hiển thị nếu có bất kì điều kiện nào dưới đây thoả mãn:
- Đường dẫn hiện tại chứa một tập tin `shard.yml`
- Đường dẫn hiện tại chứa một tập tin `.cr`
@@ -567,7 +570,7 @@ Module `crystal` cho biết phiên bản hiện tại của Crystal được đ
| symbol | | Giá trị ghi đè tuỳ chọn `symbol` |
| style\* | | Giá trị ghi đè của `style` |
-\*: Biến này có thể chỉ được sử dụng như một phần của style string
+\*: This variable can only be used as a part of a style string
### Ví dụ
@@ -580,7 +583,7 @@ format = "via [✨ $version](bold blue) "
## Dart
-Module `dart` cho biết phiên bản của Dart đã cài đặt. Mặc định module sẽ được hiển thị nếu có bất kì điều kiện nào dưới đây thoả mãn:
+The `dart` module shows the currently installed version of Dart. Mặc định module sẽ được hiển thị nếu có bất kì điều kiện nào dưới đây thoả mãn:
- Đường dẫn hiện tại chứa một tập tin với phần mở rộng `.dart`
- Đường dẫn hiện tại chứa một đường dẫn `.dart_tool`
@@ -606,7 +609,7 @@ Module `dart` cho biết phiên bản của Dart đã cài đặt. Mặc định
| symbol | | Giá trị ghi đè tuỳ chọn `symbol` |
| style\* | | Giá trị ghi đè của `style` |
-\*: Biến này có thể chỉ được sử dụng như một phần của style string
+\*: This variable can only be used as a part of a style string
### Ví dụ
@@ -619,7 +622,7 @@ format = "via [🔰 $version](bold red) "
## Đường dẫn
-`directory` module hiển thị đường dẫn thư mục hiện hành của bạn,, cắt ngắn ba thư mục cha. Đường dẫn của bạn cũng sẽ được cắt ngắn tới đường dẫn gốc của git repo hiện tại của bạn.
+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.
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.
@@ -627,22 +630,22 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an
### Các tuỳ chọn
-| Tuỳ chọn | Mặc định | Mô tả |
-| ------------------- | -------------------------------------------------- | -------------------------------------------------------------------------------- |
-| `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) "` | Định dạng cho module. |
-| `style` | `"bold cyan"` | Kiểu cho 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: "…/" |
-| `home_symbol` | `"~"` | The symbol indicating home directory. |
+| Tuỳ chọn | Mặc định | Mô tả |
+| ------------------- | -------------------------------------------------- | ------------------------------------------------------------------ |
+| `truncation_length` | `3` | Số lượng thư mục cha của thư mục hiện tại nên được rút gọn. |
+| `truncate_to_repo` | `true` | Có hoặc không rút gọn đường dẫn gốc của git repo hiện tại của bạn. |
+| `format` | `"[$path]($style)[$read_only]($read_only_style) "` | Định dạng cho module. |
+| `style` | `"bold cyan"` | Kiểu cho module. |
+| `disabled` | `false` | Vô hiệu mô đun `directory`. |
+| `read_only` | `"🔒"` | Biểu tượng để nhận biết thư mục hiện tại là chỉ đọc. |
+| `read_only_style` | `"red"` | Style cho biểu tượng chỉ đọc. |
+| `truncation_symbol` | `""` | Biểu tượng tiền tố cho các đường dẫn rút gọn. ví dụ: "…/" |
+| `home_symbol` | `"~"` | Biểu tượng nhận biết thư mục home. |
<details>
<summary>This module has a few advanced configuration options that control how the directory is displayed.</summary>
-| Advanced Option | Mặc định | Mô tả |
+| Tùy chọn nâng cao | Mặc định | Mô tả |
| --------------------------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `substitutions` | | A table of substitutions to be made to the path. |
| `fish_style_pwd_dir_length` | `0` | The number of characters to use when applying fish shell pwd path logic. |
@@ -664,10 +667,10 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an
| Biến | Ví dụ | Mô tả |
| --------- | --------------------- | -------------------------- |
-| path | `"D:/Projects"` | The current directory path |
+| path | `"D:/Projects"` | Đường dẫn thư mục hiện tại |
| style\* | `"black bold dimmed"` | Giá trị ghi đè của `style` |
-\*: Biến này có thể chỉ được sử dụng như một phần của style string
+\*: This variable can only be used as a part of a style string
### Ví dụ
@@ -685,26 +688,26 @@ The `docker_context` module shows the currently active [Docker context](https://
### Các tuỳ chọn
-| Tuỳ chọn | Mặc định | Mô tả |
-| ------------------- | ------------------------------------------------------------- | --------------------------------------------------------------------------------- |
-| `format` | `"via [$symbol$context]($style) "` | Định dạng cho 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"` | Kiểu cho module. |
-| `disabled` | `false` | Disables the `docker_context` module. |
+| Tuỳ chọn | Mặc định | Mô tả |
+| ------------------- | ------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
+| `format` | `"via [$symbol$context]($style) "` | Định dạng cho module. |
+| `symbol` | `"🐳 "` | Biểu tượng sử dụng để hiển thị trước Docker context. |
+| `only_with_files` | `true` | Chỉ hiển thị khi có một tệp tin khớp |
+| `detect_extensions` | `[]` | Các mở rộng nào nên kích hoạt mô đun này (cần `only_with_files` thiết lập là true). |
+| `detect_files` | `["docker-compose.yml", "docker-compose.yaml", "Dockerfile"]` | Tên tệp tin nào nên kích hoạt mô đun này (cần `only_with_files` được thiết lập là true). |
+| `detect_folders` | `[]` | Thư mục nào nên kích hoạt mô đun này (cần `only_with_files` được thiết lập là true). |
+| `style` | `"blue bold"` | Kiểu cho module. |
+| `disabled` | `false` | Vô hiệu mô đun `docker_context`. |
### Các biến
| Biến | Ví dụ | Mô tả |
| --------- | -------------- | -------------------------------- |
-| context | `test_context` | The current docker context |
+| context | `test_context` | Docker context hiện tại |
| symbol | | Giá trị ghi đè tuỳ chọn `symbol` |
| style\* | | Giá trị ghi đè của `style` |
-\*: Biến này có thể chỉ được sử dụng như một phần của style string
+\*: This variable can only be used as a part of a style string
### Ví dụ
@@ -739,27 +742,27 @@ The module will also show the Target Framework Moniker (<https://docs.microsoft.
### Các tuỳ chọn
-| Tuỳ chọn | Mặc định | Mô tả |
-| ------------------- | ------------------------------------------------------------------------------------------------------- | -------------------------------------------------------- |
-| `format` | `"[$symbol($version )(🎯 $tfm )]($style)"` | Định dạng cho module. |
-| `symbol` | `"•NET "` | The symbol used before displaying the version of dotnet. |
-| `heuristic` | `true` | Use faster version detection to keep starship snappy. |
-| `detect_extensions` | `["sln", "csproj", "fsproj", "xproj"]` | Những tiện ích mở rộng nào sẽ kích hoạt mô-đun này. |
-| `detect_files` | `["global.json", "project.json", "Directory.Build.props", "Directory.Build.targets", "Packages.props"]` | Tên tệp nào sẽ kích hoạt mô-đun này. |
-| `detect_folders` | `[]` | Which folders should trigger this modules. |
-| `style` | `"bold blue"` | Kiểu cho module. |
-| `disabled` | `false` | Disables the `dotnet` module. |
+| Tuỳ chọn | Mặc định | Mô tả |
+| ------------------- | ------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------- |
+| `format` | `"[$symbol($version )(🎯 $tfm )]($style)"` | Định dạng cho module. |
+| `symbol` | `"•NET "` | Biểu tượng sử dụng để hiển thị trước phiên bản của dotnet. |
+| `heuristic` | `true` | Sử dụng phiên bản phát hiện thông minh hơn. |
+| `detect_extensions` | `["sln", "csproj", "fsproj", "xproj"]` | Những tiện ích mở rộng nào sẽ kích hoạt mô-đun này. |
+| `detect_files` | `["global.json", "project.json", "Directory.Build.props", "Directory.Build.targets", "Packages.props"]` | Tên tệp nào sẽ kích hoạt mô-đun này. |
+| `detect_folders` | `[]` | Những thư mục nào nên kích hoạt các mô đun này. |
+| `style` | `"bold blue"` | Kiểu cho module. |
+| `disabled` | `false` | Vô hiệu mô đun `dotnet`. |
### Các biến
-| Biến | Ví dụ | Mô tả |
-| --------- | ---------------- | ------------------------------------------------------------------ |
-| version | `v3.1.201` | The version of `dotnet` sdk |
-| tfm | `netstandard2.0` | The Target Framework Moniker that the current project is targeting |
-| symbol | | Giá trị ghi đè tuỳ chọn `symbol` |
-| style\* | | Giá trị ghi đè của `style` |
+| Biến | Ví dụ | Mô tả |
+| --------- | ---------------- | ------------------------------------------------------------- |
+| version | `v3.1.201` | Phiên bản của `dotnet` sdk |
+| tfm | `netstandard2.0` | Target Framework Monike của dự án hiện tại đang được nhắm đến |
+| symbol | | Giá trị ghi đè tuỳ chọn `symbol` |
+| style\* | | Giá trị ghi đè của `style` |
-\*: Biến này có thể chỉ được sử dụng như một phần của style string
+\*: This variable can only be used as a part of a style string
### Ví dụ
@@ -774,32 +777,32 @@ heuristic = false
## Elixir
-The `elixir` module shows the currently installed version of Elixir and Erlang/OTP. By default the module will be shown if any of the following conditions are met:
+The `elixir` module shows the currently installed version of Elixir and Erlang/OTP. Mặc định module sẽ được hiển thị nếu có bất kì điều kiện nào dưới đây thoả mãn:
- Đường dẫn hiện tại chứa một tập tin `mix.exs`.
### Các tuỳ chọn
-| Tuỳ chọn | Mặc định | Mô tả |
-| ------------------- | ----------------------------------------------------------- | --------------------------------------------------------------- |
-| `symbol` | `"💧 "` | The symbol used before displaying the version of Elixir/Erlang. |
-| `detect_extensions` | `[]` | Những tiện ích mở rộng nào sẽ kích hoạt mô-đun này. |
-| `detect_files` | `["mix.exs"]` | Tên tệp nào sẽ kích hoạt mô-đun này. |
-| `detect_folders` | `[]` | Which folders should trigger this modules. |
-| `style` | `"bold purple"` | Kiểu cho module. |
-| `format` | `'via [$symbol($version \(OTP $otp_version\) )]($style)'` | The format for the module elixir. |
-| `disabled` | `false` | Disables the `elixir` module. |
+| Tuỳ chọn | Mặc định | Mô tả |
+| ------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- |