# 贡献者公约行为准则 (Contributor Covenant Code of Conduct)

## 中文

### 我们的承诺

作为成员、贡献者和领导者，我们承诺使参与我们社区的体验成为一个没有骚扰的环境，无论参与者的年龄、体型、可见或不可见的残疾、民族、性别特征、性别认同和表达、经验水平、教育、社会经济地位、国籍、个人外貌、种族、宗教，或性认同和性取向如何。

我们承诺以有助于建立开放、欢迎、多元、包容和健康的社区的方式采取行为和互动。

### 我们的标准

有助于为我们的社区创造积极环境的行为示例包括：

* 对他人表现出同理心和善意
* 尊重不同的意见、观点和经验
* 给予并优雅地接受建设性的反馈
* 承担责任并向受我们错误影响的人道歉，从经验中学习
* 关注不仅对我们个人最好，而且对整个社区最好的事物

不可接受的行为示例包括：

* 使用性化的语言或图像，以及任何形式的性关注或性暗示
* 恶意挑衅、侮辱或贬损性评论，以及人身或政治攻击
* 公开或私下的骚扰
* 未经明确许可发布他人的私人信息，例如物理地址或电子邮件地址
* 其他在专业环境中可以被合理认为是不恰当的行为

### 执行责任

社区领导者有责任澄清并执行我们可接受行为的标准。对于他们认为不恰当、具有威胁性、冒犯性或有害的任何行为，他们将采取适当和公平的纠正和惩戒行动。

社区领导者有权利和责任删除、编辑或拒绝与本行为准则不符的评论、提交、代码、维基编辑、工单及其他贡献，并将在适当的时候沟通审核决定的原因。

### 范围

本行为准则适用于所有社区空间，也适用于个人在公共空间正式代表社区的情况。代表我们社区的例子包括使用官方电子邮件地址、通过官方社交媒体账户发布信息，或在在线或离线活动中担任指定代表。

### 执行

可以通过向负责执行的社区领导者报告滥用、骚扰或其他不可接受行为的实例。所有的投诉将得到及时和公平的审查和调查。

所有社区领导者都有义务尊重任何事件报告人的隐私和安全。

### 归属

本行为准则改编自 [Contributor Covenant][homepage] 第 2.1 版，可在 [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1] 找到。

[homepage]: https://www.contributor-covenant.org
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html

---

## English

### Our Pledge

We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, religion, or sexual identity
and orientation.

We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.

### Our Standards

Examples of behavior that contributes to a positive environment for our
community include:

* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
  and learning from the experience
* Focusing on what is best not just for us as individuals, but for the
  overall community

Examples of unacceptable behavior include:

* The use of sexualized language or imagery, and sexual attention or
  advances of any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email
  address, without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
  professional setting

### Enforcement Responsibilities

Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.

Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.

### Scope

This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official e-mail address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.

### Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement.
All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
reporter of any incident.

### Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage_en],
version 2.1, available at
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1_en].

[homepage_en]: https://www.contributor-covenant.org
[v2.1_en]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
