mirror of
https://github.com/starship/starship.git
synced 2026-06-22 02:02:12 +07:00
docs(i18n): new Crowdin updates (#3212)
This commit is contained in:
+16
-11
@@ -735,17 +735,18 @@ Cho ví dụ, `~/Dev/Nix/nixpkgs/pkgs` nơi `nixpkgs` là gốc của repo, và
|
||||
|
||||
### Các tuỳ chọn
|
||||
|
||||
| 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. |
|
||||
| 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ụ: "…/" |
|
||||
| `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. |
|
||||
|
||||
<details>
|
||||
<summary>Mô đun này có một vài tùy chọn nâng cao để điều khiển cách thư mục được hiển thị.</summary>
|
||||
@@ -2513,6 +2514,9 @@ By default the `ruby` module shows the currently installed version of [Ruby](htt
|
||||
- The current directory contains a `Gemfile` file
|
||||
- The current directory contains a `.ruby-version` file
|
||||
- The current directory contains a `.rb` file
|
||||
- The environment variables `RUBY_VERSION` or `RBENV_VERSION` are set
|
||||
|
||||
Starship gets the current Ruby version by running `ruby -v`.
|
||||
|
||||
### Các tuỳ chọn
|
||||
|
||||
@@ -2524,6 +2528,7 @@ By default the `ruby` module shows the currently installed version of [Ruby](htt
|
||||
| `detect_extensions` | `["rb"]` | Những tiện ích mở rộng nào sẽ kích hoạt mô-đun này. |
|
||||
| `detect_files` | `["Gemfile", ".ruby-version"]` | Tên tệp nào sẽ kích hoạt mô-đun này. |
|
||||
| `detect_folders` | `[]` | Những thư mục nào sẽ kích hoạt mô-đun này. |
|
||||
| `detect_variables` | `["RUBY_VERSION", "RBENV_VERSION"]` | Which environment variables should trigger this module. |
|
||||
| `style` | `"bold red"` | Kiểu cho module. |
|
||||
| `disabled` | `false` | Disables the `ruby` module. |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user