Skip to content

Commit dbb1a32

Browse files
author
long2ice
committed
feat: translate README.md
1 parent bb287b8 commit dbb1a32

119 files changed

Lines changed: 1914 additions & 725 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

community/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Workflows
22

3-
Workflows for DevChat contributed by the community.
3+
Workflows for DevChat contributed by the community.

community/aider/README.md

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,27 @@
1-
### aider 操作指南
1+
### aider Guide
22

3-
aider是一个AI辅助的代码编辑工具,可以根据自然语言指令修改代码。
3+
aider is an AI-assisted code editing tool that can modify code based on natural language instructions.
44

5-
用途:
6-
根据用户提供的指令,自动分析和修改已添加到aider中的代码文件。
5+
Purpose:
6+
Automatically analyze and modify code files that have been added to aider based on user-provided instructions.
77

8-
使用方法:
9-
1. 使用 `/aider.files.add` 命令添加需要处理的文件
10-
2. 输入 `/aider <message>` 命令,其中 `<message>` 是你想要aider执行的任务描述
11-
3. 等待aider生成建议的更改
12-
4. 在IDE中查看每个文件的Diff视图,选择是否接受修改
13-
5. 对于多个文件的更改,系统会在每个文件之后询问是否继续查看下一个文件的更改
8+
Usage Method:
149

15-
注意事项:
16-
- 使用前必须先添加文件到aider,否则会提示使用 'aider.files.add' 命令
17-
- 可以使用 `aider.files.remove` 命令从aider中移除文件
18-
- 所有更改都会在IDE中以Diff视图形式展示,你可以决定是否应用这些更改
19-
- aider使用OpenAI的API,请确保已正确设置API密钥
10+
1. Use the `/aider.files.add` command to add files that need to be processed
11+
2. Enter the `/aider <message>` command, where `<message>` is the description of the task you want aider to perform
12+
3. Wait for aider to generate suggested changes
13+
4. View the Diff view of each file in the IDE and choose whether to accept the modifications
14+
5. For changes across multiple files, the system will ask if you want to continue viewing changes in the next file after each file
2015

21-
示例:
22-
/aider 重构这段代码以提高性能
16+
Notes:
2317

24-
额外信息:
25-
aider支持多种编程语言,可以执行代码重构、bug修复、性能优化等任务。它会分析当前添加的所有文件,并提供整体的改进建议。
18+
- Files must be added to aider before use, otherwise you will be prompted to use the 'aider.files.add' command
19+
- You can use the `aider.files.remove` command to remove files from aider
20+
- All changes will be displayed in the IDE as a Diff view, and you can decide whether to apply these changes
21+
- aider uses OpenAI's API, please ensure that the API key is correctly set up
22+
23+
Example:
24+
/aider Refactor this code to improve performance
25+
26+
Additional Information:
27+
aider supports multiple programming languages and can perform code refactoring, bug fixing, performance optimization, and other tasks. It will analyze all files currently added and provide overall improvement suggestions.

community/aider/README.zh.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
### aider 操作指南
2+
3+
aider 是一个 AI 辅助的代码编辑工具,可以根据自然语言指令修改代码。
4+
5+
用途:
6+
根据用户提供的指令,自动分析和修改已添加到 aider 中的代码文件。
7+
8+
使用方法:
9+
10+
1. 使用 `/aider.files.add` 命令添加需要处理的文件
11+
2. 输入 `/aider <message>` 命令,其中 `<message>` 是你想要 aider 执行的任务描述
12+
3. 等待 aider 生成建议的更改
13+
4. 在 IDE 中查看每个文件的 Diff 视图,选择是否接受修改
14+
5. 对于多个文件的更改,系统会在每个文件之后询问是否继续查看下一个文件的更改
15+
16+
注意事项:
17+
18+
- 使用前必须先添加文件到 aider,否则会提示使用 'aider.files.add' 命令
19+
- 可以使用 `aider.files.remove` 命令从 aider 中移除文件
20+
- 所有更改都会在 IDE 中以 Diff 视图形式展示,你可以决定是否应用这些更改
21+
- aider 使用 OpenAI 的 API,请确保已正确设置 API 密钥
22+
23+
示例:
24+
/aider 重构这段代码以提高性能
25+
26+
额外信息:
27+
aider 支持多种编程语言,可以执行代码重构、bug 修复、性能优化等任务。它会分析当前添加的所有文件,并提供整体的改进建议。
Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
11
### aider.files.add
22

3-
这个命令用于将文件添加到aider的处理列表中。
3+
This Command is used to add files to aider's processing list.
44

5-
用途:
6-
添加指定文件到aider,使其包含在后续的aider操作中。
5+
Purpose:
6+
Add specified files to aider, including them in subsequent aider operations.
77

8-
使用方法:
8+
Usage Method:
99
/aider.files.add <file_path>
1010

11-
参数:
12-
- <file_path>: 要添加的文件路径(必需)
11+
Parameters:
1312

14-
注意事项:
15-
- 文件路径必须是有效的格式
16-
- 已存在于列表中的文件不会重复添加
17-
- 成功添加后会显示当前的aider文件列表
13+
- <file_path>: The file path to add (required)
1814

19-
示例:
15+
Notes:
16+
17+
- The file path must be in a valid format
18+
- Files already in the list will not be added again
19+
- After successful addition, the current aider file list will be displayed
20+
21+
Example:
2022
/aider.files.add src/main.py
2123

22-
额外信息:
23-
这个命令会将文件路径保存到.chat/.aider_files文件中。如果.chat目录不存在,会自动创建。
24+
Additional Information:
25+
This Command saves the file path to the .chat/.aider_files file. If the .chat directory does not exist, it will be created automatically.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
### aider.files.add
2+
3+
这个命令用于将文件添加到 aider 的处理列表中。
4+
5+
用途:
6+
添加指定文件到 aider,使其包含在后续的 aider 操作中。
7+
8+
使用方法:
9+
/aider.files.add <file_path>
10+
11+
参数:
12+
13+
- <file_path>: 要添加的文件路径(必需)
14+
15+
注意事项:
16+
17+
- 文件路径必须是有效的格式
18+
- 已存在于列表中的文件不会重复添加
19+
- 成功添加后会显示当前的 aider 文件列表
20+
21+
示例:
22+
/aider.files.add src/main.py
23+
24+
额外信息:
25+
这个命令会将文件路径保存到.chat/.aider_files 文件中。如果.chat 目录不存在,会自动创建。
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
description: "add files to aider"
22
input: required
3-
help: README.md
3+
help:
4+
en: README.md
5+
zh: README.zh.md
46
steps:
5-
- run: $devchat_python $command_path/command.py "$input"
7+
- run: $devchat_python $command_path/command.py "$input"
Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
### aider.files.list
22

3-
这个命令用于列出当前在aider处理列表中的所有文件。
3+
This Command is used to list all files currently in aider's processing list.
44

5-
用途:
6-
显示所有已添加到aider中的文件,提供当前aider正在处理的文件概览。
5+
Purpose:
6+
Display all files that have been added to aider, providing an overview of the files aider is currently processing.
77

8-
使用方法:
8+
Usage Method:
99
/aider.files.list
1010

11-
注意事项:
12-
- 如果没有文件被添加到aider,会显示相应的提示消息
13-
- 文件列表按字母顺序排序显示
11+
Notes:
1412

15-
示例:
13+
- If no files have been added to aider, an appropriate message will be displayed
14+
- The file list is displayed sorted in alphabetical order
15+
16+
Example:
1617
/aider.files.list
1718

18-
额外信息:
19-
这个命令会读取.chat/.aider_files文件的内容来获取文件列表。如果该文件不存在,会提示尚未添加任何文件。
19+
Additional Information:
20+
This Command reads the contents of the .chat/.aider_files file to get the file list. If this file does not exist, it will indicate that no files have been added yet.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
### aider.files.list
2+
3+
这个命令用于列出当前在 aider 处理列表中的所有文件。
4+
5+
用途:
6+
显示所有已添加到 aider 中的文件,提供当前 aider 正在处理的文件概览。
7+
8+
使用方法:
9+
/aider.files.list
10+
11+
注意事项:
12+
13+
- 如果没有文件被添加到 aider,会显示相应的提示消息
14+
- 文件列表按字母顺序排序显示
15+
16+
示例:
17+
/aider.files.list
18+
19+
额外信息:
20+
这个命令会读取.chat/.aider_files 文件的内容来获取文件列表。如果该文件不存在,会提示尚未添加任何文件。
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
description: "list files in aider"
2-
help: README.md
2+
help:
3+
en: README.md
4+
zh: README.zh.md
35
steps:
4-
- run: $devchat_python $command_path/command.py
6+
- run: $devchat_python $command_path/command.py
Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
11
### aider.files.remove
22

3-
这个命令用于从aider处理列表中移除指定的文件。
3+
This Command is used to remove specified files from aider's processing list.
44

5-
用途:
6-
将指定文件从aider的处理列表中删除,使其不再包含在后续的aider操作中。
5+
Purpose:
6+
Remove specified files from aider's processing list, so they are no longer included in subsequent aider operations.
77

8-
使用方法:
8+
Usage Method:
99
/aider.files.remove <file_path>
1010

11-
参数:
12-
- <file_path>: 要移除的文件路径(必需)
11+
Parameters:
1312

14-
注意事项:
15-
- 文件路径必须是有效的格式
16-
- 如果指定的文件不在列表中,会显示相应的提示消息
17-
- 成功移除后会显示更新后的aider文件列表
13+
- <file_path>: The file path to remove (required)
1814

19-
示例:
15+
Notes:
16+
17+
- The file path must be in a valid format
18+
- If the specified file is not in the list, an appropriate message will be displayed
19+
- After successful removal, the updated aider file list will be displayed
20+
21+
Example:
2022
/aider.files.remove src/main.py
2123

22-
额外信息:
23-
这个命令会更新.chat/.aider_files文件,从中删除指定的文件路径。如果文件不存在于列表中,操作会安全退出。
24+
Additional Information:
25+
This Command updates the .chat/.aider_files file, removing the specified file path from it. If the file does not exist in the list, the operation will exit safely.

0 commit comments

Comments
 (0)