fix(docs): locale translations for nav elements and headings

This commit is contained in:
Adam
2026-02-11 18:51:27 -06:00
parent 8eea53a41e
commit aea68c386a
484 changed files with 12718 additions and 11212 deletions

View File

@@ -7,11 +7,11 @@ description: opencode 使用特定于语言的格式化程序。
---
## Built-in
## 内置
opencode 附带了多个适用于流行语言和框架的内置格式化程序。下面是格式化程序、支持的文件扩展名以及所需的命令或配置选项的列表。
| Formatter | Extensions | Requirements |
| 格式化程序 | 扩展名 | 要求 |
| -------------------- | -------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
| gofmt | .go | `gofmt` command available |
| mix | .ex, .exs, .eex, .heex, .leex, .neex, .sface | `mix` command available |
@@ -67,7 +67,7 @@ opencode 附带了多个适用于流行语言和框架的内置格式化程序
每个格式化程序配置支持以下内容:
| Property | Type | Description |
| 属性 | 类型 | 描述 |
| ------------- | -------- | ---------------------------------- |
| `disabled` | boolean | 将其设置为 `true` 以禁用格式化程序 |
| `command` | string[] | 格式化运行的命令 |