fix(docs): locale translations

This commit is contained in:
Adam
2026-02-10 07:11:13 -06:00
parent 19ad7ad809
commit 4c4e30cd71
351 changed files with 3744 additions and 3765 deletions

View File

@@ -1,6 +1,6 @@
---
title: 規則
description: 置opencode的自定義指令。
title: 规则
description: 置opencode的自定義指令。
---
您可以通过 `AGENTS.md` 文件创建 opencode 的自定义指令。这和 Cursor 的规则类似。它包含将包含在 LLM 上下文中的说明,方便您的特定项目自定义其行为。
@@ -48,7 +48,7 @@ This is an SST v3 monorepo with TypeScript. The project uses bun workspaces for
- Import shared modules using workspace names: `@my-app/core/example`
```
在此處添加特定項目的說明,這將在您的團隊中共享。
在此處添加特定項目的說明,这将在您的團隊中共享。
---
@@ -56,7 +56,7 @@ This is an SST v3 monorepo with TypeScript. The project uses bun workspaces for
opencode 还支持从多个位置读取 `AGENTS.md` 文件。这有不同的目的。
###
###
将 `AGENTS.md` 放置在项目根目录中以获取特定于项目的规则。这些仅适用于您在此目录或子目录中工作时。
@@ -84,7 +84,7 @@ export OPENCODE_DISABLE_CLAUDE_CODE_SKILLS=1 # Disable only .claude/skills
---
## 先級
## 先級
当opencode启动时它会按以下顺序查找规则文件
@@ -118,7 +118,7 @@ export OPENCODE_DISABLE_CLAUDE_CODE_SKILLS=1 # Disable only .claude/skills
}
```
遠程指令的取有 5 秒的超時時間。
遠程指令的取有 5 秒的超時時間。
所有说明文件均与您的`AGENTS.md`文件合并。
@@ -168,9 +168,9 @@ For testing strategies and coverage requirements: @test/testing-guidelines.md
Read the following file immediately as it's relevant to all workflows: @rules/general-guidelines.md.
```
種方法允您:
種方法允您:
- 建模塊化、可重用的規則文件
- 建模塊化、可重用的规则文件
- 通过符号链接或git子模块在项目之间共享规则
- 保持 AGENTS.md 简洁,同时参考详细指南
- 确保opencode仅在特定任务需要时加载文件