|
| 1 | +# Contributor Covenant Code of Conduct |
| 2 | + |
| 3 | +## Our Pledge |
| 4 | + |
| 5 | +We as members, contributors, and leaders pledge to make participation in our |
| 6 | +community a harassment-free experience for everyone, regardless of age, body |
| 7 | +size, visible or invisible disability, ethnicity, sex characteristics, gender |
| 8 | +identity and expression, level of experience, education, socio-economic status, |
| 9 | +nationality, personal appearance, race, religion, or sexual identity |
| 10 | +and orientation. |
| 11 | + |
| 12 | +We pledge to act and interact in ways that contribute to an open, welcoming, |
| 13 | +diverse, inclusive, and healthy community. |
| 14 | + |
| 15 | +## Our Standards |
| 16 | + |
| 17 | +Examples of behavior that contributes to a positive environment for our |
| 18 | +community include: |
| 19 | + |
| 20 | +* Demonstrating empathy and kindness toward other people |
| 21 | +* Being respectful of differing opinions, viewpoints, and experiences |
| 22 | +* Giving and gracefully accepting constructive feedback |
| 23 | +* Accepting responsibility and apologizing to those affected by our mistakes, |
| 24 | + and learning from the experience |
| 25 | +* Focusing on what is best not just for us as individuals, but for the |
| 26 | + overall community |
| 27 | + |
| 28 | +Examples of unacceptable behavior include: |
| 29 | + |
| 30 | +* The use of sexualized language or imagery, and sexual attention or |
| 31 | + advances of any kind |
| 32 | +* Trolling, insulting or derogatory comments, and personal or political attacks |
| 33 | +* Public or private harassment |
| 34 | +* Publishing others' private information, such as a physical or email |
| 35 | + address, without their explicit permission |
| 36 | +* Other conduct which could reasonably be considered inappropriate in a |
| 37 | + professional setting |
| 38 | + |
| 39 | +## Enforcement Responsibilities |
| 40 | + |
| 41 | +Community leaders are responsible for clarifying and enforcing our standards of |
| 42 | +acceptable behavior and will take appropriate and fair corrective action in |
| 43 | +response to any behavior that they deem inappropriate, threatening, offensive, |
| 44 | +or harmful. |
| 45 | + |
| 46 | +Community leaders have the right and responsibility to remove, edit, or reject |
| 47 | +comments, commits, code, wiki edits, issues, and other contributions that are |
| 48 | +not aligned to this Code of Conduct, and will communicate reasons for moderation |
| 49 | +decisions when appropriate. |
| 50 | + |
| 51 | +## Scope |
| 52 | + |
| 53 | +This Code of Conduct applies within all community spaces, and also applies when |
| 54 | +an individual is officially representing the community in public spaces. |
| 55 | +Examples of representing our community include using an official e-mail address, |
| 56 | +posting via an official social media account, or acting as an appointed |
| 57 | +representative at an online or offline event. |
| 58 | + |
| 59 | +## Enforcement |
| 60 | + |
| 61 | +Instances of abusive, harassing, or otherwise unacceptable behavior may be |
| 62 | +reported to the community leaders responsible for enforcement at |
| 63 | +. |
| 64 | +All complaints will be reviewed and investigated promptly and fairly. |
| 65 | + |
| 66 | +All community leaders are obligated to respect the privacy and security of the |
| 67 | +reporter of any incident. |
| 68 | + |
| 69 | +## Enforcement Guidelines |
| 70 | + |
| 71 | +Community leaders will follow these Community Impact Guidelines in determining |
| 72 | +the consequences for any action they deem in violation of this Code of Conduct: |
| 73 | + |
| 74 | +### 1. Correction |
| 75 | + |
| 76 | +**Community Impact**: Use of inappropriate language or other behavior deemed |
| 77 | +unprofessional or unwelcome in the community. |
| 78 | + |
| 79 | +**Consequence**: A private, written warning from community leaders, providing |
| 80 | +clarity around the nature of the violation and an explanation of why the |
| 81 | +behavior was inappropriate. A public apology may be requested. |
| 82 | + |
| 83 | +### 2. Warning |
| 84 | + |
| 85 | +**Community Impact**: A violation through a single incident or series |
| 86 | +of actions. |
| 87 | + |
| 88 | +**Consequence**: A warning with consequences for continued behavior. No |
| 89 | +interaction with the people involved, including unsolicited interaction with |
| 90 | +those enforcing the Code of Conduct, for a specified period of time. This |
| 91 | +includes avoiding interactions in community spaces as well as external channels |
| 92 | +like social media. Violating these terms may lead to a temporary or |
| 93 | +permanent ban. |
| 94 | + |
| 95 | +### 3. Temporary Ban |
| 96 | + |
| 97 | +**Community Impact**: A serious violation of community standards, including |
| 98 | +sustained inappropriate behavior. |
| 99 | + |
| 100 | +**Consequence**: A temporary ban from any sort of interaction or public |
| 101 | +communication with the community for a specified period of time. No public or |
| 102 | +private interaction with the people involved, including unsolicited interaction |
| 103 | +with those enforcing the Code of Conduct, is allowed during this period. |
| 104 | +Violating these terms may lead to a permanent ban. |
| 105 | + |
| 106 | +### 4. Permanent Ban |
| 107 | + |
| 108 | +**Community Impact**: Demonstrating a pattern of violation of community |
| 109 | +standards, including sustained inappropriate behavior, harassment of an |
| 110 | +individual, or aggression toward or disparagement of classes of individuals. |
| 111 | + |
| 112 | +**Consequence**: A permanent ban from any sort of public interaction within |
| 113 | +the community. |
| 114 | + |
| 115 | +## Attribution |
| 116 | + |
| 117 | +This Code of Conduct is adapted from the [Contributor Covenant][homepage], |
| 118 | +version 2.0, available at |
| 119 | +https://www.contributor-covenant.org/version/2/0/code_of_conduct.html. |
| 120 | + |
| 121 | +Community Impact Guidelines were inspired by [Mozilla's code of conduct |
| 122 | +enforcement ladder](https://github.com/mozilla/diversity). |
| 123 | + |
| 124 | +[homepage]: https://www.contributor-covenant.org |
| 125 | + |
| 126 | +For answers to common questions about this code of conduct, see the FAQ at |
| 127 | +https://www.contributor-covenant.org/faq. Translations are available at |
| 128 | +https://www.contributor-covenant.org/translations. |
| 129 | + |
| 130 | +# 贡献者公约行为准则 |
| 131 | + |
| 132 | +## 我们的承诺 |
| 133 | + |
| 134 | +作为成员、贡献者和领导,我们承诺为每个人提供一个无骚扰的社区参与体验,不论年龄、体型、明显或隐性残疾、种族、性别特征、性别认同和表达、经验水平、教育程度、社会经济地位、国籍、个人形象、种族、宗教或性取向。 |
| 135 | + |
| 136 | +我们承诺以促进开放、欢迎、多元、包容和健康的社区为宗旨,以行动和互动方式实现这一目标。 |
| 137 | + |
| 138 | +## 我们的标准 |
| 139 | + |
| 140 | +对于我们社区中促进积极环境的行为,包括但不限于: |
| 141 | + |
| 142 | +* 向他人展示共情和善意 |
| 143 | +* 尊重不同的观点、看法和经历 |
| 144 | +* 接受并优雅地接受建设性反馈 |
| 145 | +* 承担责任并向受到我们错误影响的人道歉,并从中吸取经验教训 |
| 146 | +* 关注不仅是个体最佳利益,也是整个社区的最佳利益 |
| 147 | + |
| 148 | +不可接受的行为包括但不限于: |
| 149 | + |
| 150 | +* 使用具有性暗示的语言或图像,以及任何形式的性关注或骚扰 |
| 151 | +* 恶意评论、侮辱性或贬低性评论,以及人身或政治攻击 |
| 152 | +* 公开或私下骚扰 |
| 153 | +* 未经明确许可发布他人的私人信息,例如物理或电子邮件地址 |
| 154 | +* 在专业环境中被合理认为不适当的其他行为 |
| 155 | + |
| 156 | +## 执法责任 |
| 157 | + |
| 158 | +社区领导有责任明确和执行我们的行为准则,并对任何他们认为不适当、具有威胁性、冒犯性或有害的行为采取适当和公正的纠正措施。 |
| 159 | + |
| 160 | +社区领导有权利和责任删除、编辑或拒绝与本行为准则不一致的评论、提交、代码、维基编辑、问题和其他贡献,并在适当时传达关于中止决策的原因。 |
| 161 | + |
| 162 | +## 适用范围 |
| 163 | + |
| 164 | +本行为准则适用于所有社区空间,并在个体在公共空间正式代表社区时也适用。代表我们社区的例子包括使用官方电子邮件地址、通过官方社交媒体账号发布信息,或在线或离线活动中充当指定代表。 |
| 165 | + |
| 166 | +## 执法 |
| 167 | + |
| 168 | +对于滥用、骚扰或其他不可接受的行为的实例,可以向执法责任人报告,他们负责执行,联系方式为: |
| 169 | + |
| 170 | +所有投诉将迅速、公正地进行审核和调查。 |
| 171 | + |
| 172 | +所有社区领导有义务尊重事件报告者的隐私和安全。 |
| 173 | + |
| 174 | +## 执法指南 |
| 175 | + |
| 176 | +社区领导将遵循以下社区影响指南,以确定对任何违反本行为准则的行为的后果: |
| 177 | + |
| 178 | +### 1. 纠正 |
| 179 | + |
| 180 | +**社区影响**: 使用不适当的语言或其他被认为不专业或不受欢迎的行为。 |
| 181 | + |
| 182 | +**后果**: 社区领导将以书面形式给予私下警告,明确违规性质,并解释为何行为不适当。可能会要求公开道歉。 |
| 183 | + |
| 184 | +### 2. 警告 |
| 185 | + |
| 186 | +**社区影响**: 单个事件或一系列行为的违规。 |
| 187 | + |
| 188 | +**后果**: 警告并制定继续行为的后果。在特定时间内不与涉事人员进行任何交互,包括未经邀请地与执行行为准则的人员进行交互。这包括在社区空间和社交媒体等外部渠道中避免交流。违反这些条款可能导致暂时或永久禁止。 |
| 189 | + |
| 190 | +### 3. 暂时封禁 |
| 191 | + |
| 192 | +**社区影响**: 对社区标准的严重违反,包括持续不当行为。 |
| 193 | + |
| 194 | +**后果**: 在指定的一段时间内禁止与社区进行任何形式的互动或公开沟通。在此期间,不允许与涉事人员进行公共或私人互动,包括未经邀请地与执行行为准则的人员进行互动。违反这些条款可能导致永久禁止。 |
| 195 | + |
| 196 | +### 4. 永久封禁 |
| 197 | + |
| 198 | +**社区影响**: 展示连续违反社区标准的模式,包括持续不当行为、对个人的骚扰或对群体的侵略性攻击或贬低。 |
| 199 | + |
| 200 | +**后果**: 在社区范围内与公众进行任何形式的互动永久禁止。 |
| 201 | + |
| 202 | +## 归属 |
| 203 | + |
| 204 | +本行为准则改编自[贡献者公约][主页]2.0版,可在https://www.contributor-covenant.org/version/2/0/code_of_conduct.html查看。 |
| 205 | + |
| 206 | +行为准则执行指南的灵感来自[Mozilla的行为准则执行策略](https://github.com/mozilla/diversity)。 |
| 207 | + |
| 208 | +[主页]: https://www.contributor-covenant.org |
| 209 | + |
| 210 | +有关此行为准则常见问题的答案,请参阅https://www.contributor-covenant.org/faq。可以在https://www.contributor-covenant.org/translations找到翻译版本。 |
0 commit comments