docs(zh-CN): translate code block(plain text) (#753)

Co-authored-by: neo <neo.dowithless@gmail.com>
This commit is contained in:
zdoc.app
2026-03-23 06:39:24 +08:00
committed by GitHub
parent fd2a8edb53
commit 4f6f587700
118 changed files with 1807 additions and 1835 deletions

View File

@@ -57,11 +57,11 @@ origin: ECC
### 步骤 1: 编写用户旅程
```
As a [role], I want to [action], so that [benefit]
作为一个[角色],我希望能够[行动],以便[获得收益]
Example:
As a user, I want to search for markets semantically,
so that I can find relevant markets even without exact keywords.
示例:
作为一个用户,我希望能够进行语义搜索市场,
这样即使没有精确的关键词,我也能找到相关的市场。
```
### 步骤 2: 生成测试用例
@@ -252,7 +252,7 @@ src/
├── components/
│ ├── Button/
│ │ ├── Button.tsx
│ │ ├── Button.test.tsx # Unit tests
│ │ ├── Button.test.tsx # 单元测试
│ │ └── Button.stories.tsx # Storybook
│ └── MarketCard/
│ ├── MarketCard.tsx
@@ -261,9 +261,9 @@ src/
│ └── api/
│ └── markets/
│ ├── route.ts
│ └── route.test.ts # Integration tests
│ └── route.test.ts # 集成测试
└── e2e/
├── markets.spec.ts # E2E tests
├── markets.spec.ts # 端到端测试
├── trading.spec.ts
└── auth.spec.ts
```