Skip to content

Commit 1af6ee7

Browse files
Update CODE_OF_CONDUCT
1 parent 8b58dda commit 1af6ee7

File tree

2 files changed

+69
-58
lines changed

2 files changed

+69
-58
lines changed

.github/CODE_OF_CONDUCT.md

Lines changed: 68 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,76 +1,87 @@
1-
# Contributor Covenant Code of Conduct
1+
# 贡献者公约
22

3-
## Our Pledge
3+
## 我们的承诺
44

5-
In the interest of fostering an open and welcoming environment, we as
6-
contributors and maintainers pledge to making participation in our project and
7-
our community a harassment-free experience for everyone, regardless of age, body
8-
size, disability, ethnicity, sex characteristics, gender identity and expression,
9-
level of experience, education, socio-economic status, nationality, personal
10-
appearance, race, religion, or sexual identity and orientation.
5+
身为社区成员、贡献者和领袖,我们承诺使社区参与者不受骚扰,无论其年龄、体型、可见或不可见的缺陷、族裔、性征、性别认同和表达、经验水平、教育程度、社会与经济地位、国籍、相貌、种族、种姓、肤色、宗教信仰、性倾向或性取向如何。
116

12-
## Our Standards
7+
我们承诺以有助于建立开放、友善、多样化、包容、健康社区的方式行事和互动。
138

14-
Examples of behavior that contributes to creating a positive environment
15-
include:
9+
## 我们的准则
1610

17-
* Using welcoming and inclusive language
18-
* Being respectful of differing viewpoints and experiences
19-
* Gracefully accepting constructive criticism
20-
* Focusing on what is best for the community
21-
* Showing empathy towards other community members
11+
有助于为我们的社区创造积极环境的行为例子包括但不限于:
2212

23-
Examples of unacceptable behavior by participants include:
13+
* 表现出对他人的同情和善意
14+
* 尊重不同的主张、观点和感受
15+
* 提出和大方接受建设性意见
16+
* 承担责任并向受我们错误影响的人道歉
17+
* 注重社区共同诉求,而非个人得失
2418

25-
* The use of sexualized language or imagery and unwelcome sexual attention or
26-
advances
27-
* Trolling, insulting/derogatory comments, and personal or political attacks
28-
* Public or private harassment
29-
* Publishing others' private information, such as a physical or electronic
30-
address, without explicit permission
31-
* Other conduct which could reasonably be considered inappropriate in a
32-
professional setting
19+
不当行为例子包括:
3320

34-
## Our Responsibilities
21+
* 使用情色化的语言或图像,及性引诱或挑逗
22+
* 嘲弄、侮辱或诋毁性评论,以及人身或政治攻击
23+
* 公开或私下的骚扰行为
24+
* 未经他人明确许可,公布他人的私人信息,如物理或电子邮件地址
25+
* 其他有理由认定为违反职业操守的不当行为
3526

36-
Project maintainers are responsible for clarifying the standards of acceptable
37-
behavior and are expected to take appropriate and fair corrective action in
38-
response to any instances of unacceptable behavior.
27+
## 责任和权力
3928

40-
Project maintainers have the right and responsibility to remove, edit, or
41-
reject comments, commits, code, wiki edits, issues, and other contributions
42-
that are not aligned to this Code of Conduct, or to ban temporarily or
43-
permanently any contributor for other behaviors that they deem inappropriate,
44-
threatening, offensive, or harmful.
29+
社区领袖有责任解释和落实我们所认可的行为准则,并妥善公正地对他们认为不当、威胁、冒犯或有害的任何行为采取纠正措施。
4530

46-
## Scope
31+
社区领导有权力和责任删除、编辑或拒绝或拒绝与本行为准则不相符的评论(comment)、提交(commits)、代码、维基(wiki)编辑、议题(issues)或其他贡献,并在适当时机通知采取措施的理由。
4732

48-
This Code of Conduct applies both within project spaces and in public spaces
49-
when an individual is representing the project or its community. Examples of
50-
representing a project or community include using an official project e-mail
51-
address, posting via an official social media account, or acting as an appointed
52-
representative at an online or offline event. Representation of a project may be
53-
further defined and clarified by project maintainers.
33+
## 适用范围
5434

55-
## Enforcement
35+
本行为准则适用于所有社区场合,也适用于在公共场所代表社区时的个人。
5636

57-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58-
reported by contacting the project team at team@mltooling.org. All
59-
complaints will be reviewed and investigated and will result in a response that
60-
is deemed necessary and appropriate to the circumstances. The project team is
61-
obligated to maintain confidentiality with regard to the reporter of an incident.
62-
Further details of specific enforcement policies may be posted separately.
37+
代表社区的情形包括使用官方电子邮件地址、通过官方社交媒体帐户发帖或在线上或线下活动中担任指定代表。
6338

64-
Project maintainers who do not follow or enforce the Code of Conduct in good
65-
faith may face temporary or permanent repercussions as determined by other
66-
members of the project's leadership.
39+
## 监督
6740

68-
## Attribution
41+
辱骂、骚扰或其他不可接受的行为可通过 y_d_x@bit.edu.cn 向负责监督的社区领袖报告。
42+
所有投诉都将得到及时和公平的审查和调查。
6943

70-
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71-
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
44+
所有社区领袖都有义务尊重任何事件报告者的隐私和安全。
7245

73-
[homepage]: https://www.contributor-covenant.org
46+
## 处理方针
47+
48+
社区领袖将遵循下列社区处理方针来明确他们所认定违反本行为准则的行为的处理方式:
49+
50+
### 1. 纠正
51+
52+
**社区影响**:使用不恰当的语言或其他在社区中被认定为不符合职业道德或不受欢迎的行为。
53+
54+
**处理意见**:由社区领袖发出非公开的书面警告,明确说明违规行为的性质,并解释举止如何不妥。或将要求公开道歉。
55+
56+
### 2. 警告
57+
58+
**社区影响**:单个或一系列违规行为。
59+
60+
**处理意见**:警告并对连续性行为进行处理。在指定时间内,不得与相关人员互动,包括主动与行为准则执行者互动。这包括避免在社区场所和外部渠道中的互动。违反这些条款可能会导致临时或永久封禁。
61+
62+
### 3. 临时封禁
63+
64+
**社区影响**: 严重违反社区准则,包括持续的不当行为。
7465

75-
For answers to common questions about this code of conduct, see
76-
https://www.contributor-covenant.org/faq
66+
**处理意见**: 在指定时间内,暂时禁止与社区进行任何形式的互动或公开交流。在此期间,不得与相关人员进行公开或私下互动,包括主动与行为准则执行者互动。违反这些条款可能会导致永久封禁。
67+
68+
### 4. 永久封禁
69+
70+
**社区影响**:行为模式表现出违反社区准则,包括持续的不当行为、骚扰个人或攻击或贬低某个类别的个体。
71+
72+
**处理意见**:永久禁止在社区内进行任何形式的公开互动。
73+
74+
## 参见
75+
76+
本行为准则改编自 [Contributor Covenant][homepage] 2.1 版, 参见 [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1]
77+
78+
社区处理方针灵感来源于 [Mozilla's code of conduct enforcement ladder][Mozilla CoC]
79+
80+
有关本行为准则的常见问题的答案,参见 [https://www.contributor-covenant.org/faq][FAQ]
81+
其他语言翻译参见 [https://www.contributor-covenant.org/translations][translations]
82+
83+
[homepage]: https://www.contributor-covenant.org
84+
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
85+
[Mozilla CoC]: https://github.com/mozilla/diversity
86+
[FAQ]: https://www.contributor-covenant.org/faq
87+
[translations]: https://www.contributor-covenant.org/translations

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,4 +115,4 @@ If you want to create your own best-of list, we strongly recommend to follow [th
115115

116116
## Code of Conduct
117117

118-
All members of the project community must abide by the [Contributor Covenant, version 2.0](./.github/CODE_OF_CONDUCT.md). Only by respecting each other we can develop a productive, collaborative community. Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting a project maintainer.
118+
All members of the project community must abide by the [Contributor Covenant, version 2.1](./.github/CODE_OF_CONDUCT.md). Only by respecting each other we can develop a productive, collaborative community. Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting a project maintainer.

0 commit comments

Comments
 (0)