# Contributor Covenant Code of Conduct / 贡献者公约行为准则
## 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.
社区领导者有权利和责任删除、编辑或拒绝与本行为准则不一致的评论、提交、
代码、wiki 编辑、问题和其他贡献,并将在适当时传达审核决定的原因。
## 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 at
dsphper@gmail.com. All complaints will be reviewed and investigated promptly
and fairly.
可以向负责执行的社区领导者报告滥用、骚扰或其他不可接受行为的实例,
邮箱:dsphper@gmail.com。所有投诉都将得到及时和公平的审查和调查。
All community leaders are obligated to respect the privacy and security of the
reporter of any incident.
所有社区领导者都有义务尊重任何事件报告者的隐私和安全。
## Enforcement Guidelines / 执行指南
Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:
社区领导者将遵循这些社区影响指南来确定他们认为违反本行为准则的任何行动的后果:
### 1. Correction / 纠正
**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.
**社区影响**:使用不适当的语言或其他在社区中被认为不专业或不受欢迎的行为。
**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.
**后果**:来自社区领导者的私人书面警告,提供有关违规性质的明确性以及
为什么该行为不适当的解释。可能会要求公开道歉。
### 2. Warning / 警告
**Community Impact**: A violation through a single incident or series
of actions.
**社区影响**:通过单个事件或一系列行动的违规。
**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or
permanent ban.
**后果**:对持续行为的后果发出警告。在指定的时间内,不得与相关人员互动,
包括与执行行为准则的人员的主动互动。这包括避免在社区空间以及社交媒体等
外部渠道中的互动。违反这些条款可能会导致临时或永久禁令。
### 3. Temporary Ban / 临时禁令
**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.
**社区影响**:严重违反社区标准,包括持续的不适当行为。
**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.
**后果**:在指定的时间内临时禁止与社区进行任何形式的互动或公开交流。
在此期间,不允许与相关人员进行公开或私下互动,包括与执行行为准则的人员
的主动互动。违反这些条款可能会导致永久禁令。
### 4. Permanent Ban / 永久禁令
**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.
**社区影响**:表现出违反社区标准的模式,包括持续的不适当行为、
骚扰个人或对某类个人的攻击或贬低。
**Consequence**: A permanent ban from any sort of public interaction within
the community.
**后果**:永久禁止在社区内进行任何形式的公开互动。
## Attribution / 归属
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.0, available at
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
本行为准则改编自[贡献者公约][homepage]2.0 版,
可在 https://www.contributor-covenant.org/version/2/0/code_of_conduct.html 获取。
Community Impact Guidelines were inspired by [Mozilla's code of conduct
enforcement ladder](https://github.com/mozilla/diversity).
社区影响指南受到 [Mozilla 的行为准则执行阶梯](https://github.com/mozilla/diversity)的启发。
[homepage]: https://www.contributor-covenant.org
For answers to common questions about this code of conduct, see the FAQ at
https://www.contributor-covenant.org/faq. Translations are available at
https://www.contributor-covenant.org/translations.
有关此行为准则的常见问题的答案,请参阅 https://www.contributor-covenant.org/faq 上的常见问题解答。
翻译版本可在 https://www.contributor-covenant.org/translations 获取。