Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

finish translating contributing.md #94

Merged

Conversation

QGrain
Copy link
Contributor

@QGrain QGrain commented Jul 11, 2024

No description provided.


In case this is your first pull request to syzkaller, you will need to [sign Google CLA](https://cla.developers.google.com/)
and add yourself to [AUTHORS](/AUTHORS)/[CONTRIBUTORS](/CONTRIBUTORS) files in the first commit.
如果这是你第一次向 syzkaller 提交拉取请求,你需要[签署 Google CLA](https://cla.developers.google.com/)。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

“。”改成“,”


Provide enough documentation for other users to use the new feature.
为其他用户使用新功能提供足够的文档。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

改成这个 “为了其他用户更方便使用新特性,请提供足够的文档说明。”,如何?

```

`dir/path` is a relative path to the main dir this commit changes
(look at examples in the [commit history](https://github.com/google/syzkaller/commits/master)).
If several packages/dirs are significantly affected, then the following format is allowed:
If several packages/dirs are significantly affected, then the following format is allowed:是本次提交更改的主目录的相对路径。(参见 [commit history](https://github.com/google/syzkaller/commits/master) 中的示例)。如果多个软件包/目录受到重大影响,则允许使用以下格式:
Copy link
Member

@mudongliang mudongliang Jul 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里的英文没有翻译完吧?或者忘记删除了?

If you don't yet have Docker installed, see [documentation](https://docs.docker.com/engine/install),
in particular regarding enabling [sudo-less](https://docs.docker.com/engine/install/linux-postinstall)
Docker (Googlers see go/docker).
开发 syzkaller 需要安装大量工具(Go 工具链、C/C++ 交叉编译器、golangci-lint 等)。安装所有这些工具可能会很麻烦,例如由于软件包损坏/缺失。[syz-env](/tools/syz-env) 提供了一个基于 Docker 容器的密封开发环境。如果尚未安装 Docker,请参阅[文档](https://docs.docker.com/engine/install)、特别是关于启用 [sudo-less](https://docs.docker.com/engine/install/linux-postinstall) 的 Docker(Googlers 参见 go/docker)。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

“、” -> ","

- 将更改提交到本地。为此,你需要对所有更改的文件运行 `git add`,例如 `git add sys/linux/sys.txt`。你可以运行 `git status` 查看有哪些文件被修改/创建。当所有文件都添加完毕后(`git status` 显示 `Changes not staged for commit` 部分没有文件,并且 `Untracked files` 部分没有相关文件),运行 `git commit` 并在你的编辑器中输入提交描述。
- 在本地运行测试(`make install_prerequisites`,然后执行 `make presubmit`)。
- 使用 `git push my-origin my-branch` 将提交推送到 github 上的分叉。
- 导航至 [github.com/google/syzkaller](https://github.com/google/syzkaller),你会看到绿色的 `Compare & pull request` 按钮,按下它。然后按 `创建拉取请求`。现在你的拉取请求应该会出现在[拉取请求页面](https://github.com/google/syzkaller/pulls)上。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

此处Github提示最好是可以统一,要么都是英文,要么都是中文。按照现在看,“创建拉取请求”是中文,其他提示是英文

@mudongliang
Copy link
Member

@QGrain 请按照review建议进行修改

@QGrain
Copy link
Contributor Author

QGrain commented Jul 13, 2024

@QGrain 请按照review建议进行修改

好的 👌

@mudongliang mudongliang merged commit bf0bd7f into hust-open-atom-club:master Jul 13, 2024
2 checks passed
@QGrain QGrain deleted the contributing-translated branch July 13, 2024 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants