Refactor code-of-conduct

* Add link in footer
* DRY template
* Structure translations into sections with a telling name
* Fix typos and links
This commit is contained in:
Robert Schäfer 2019-08-05 22:52:57 +02:00
parent 56100010ec
commit 4b2a1d93f5
4 changed files with 68 additions and 53 deletions

View File

@ -127,6 +127,8 @@
  
<nuxt-link to="/terms-and-conditions">{{ $t('site.termsAc') }}</nuxt-link>
&nbsp;&nbsp;
<nuxt-link to="/code-of-conduct">{{ $t('site.code-of-conduct') }}</nuxt-link>
&nbsp;&nbsp;
<nuxt-link to="/privacy">{{ $t('site.privacy') }}</nuxt-link>
&nbsp;&nbsp;
<nuxt-link to="/changelog">{{ $t('site.changelog') }}</nuxt-link>

View File

@ -475,7 +475,7 @@
"3": "Das Veröffentlichen von personenbezogenen Daten anderer ohne deren Einverständnis oder das Androhen dessen (\"Doxing\").",
"4": "Absichtliche Einschüchterung, Stalking oder Verfolgung.",
"5": "Bewerben von Produkten und Dienstleistungen mit kommerzieller Absicht.",
"6": " Strafbares Verhalten bzw. Verstoß gegen deutsches Recht.",
"6": "Strafbares Verhalten bzw. Verstoß gegen deutsches Recht.",
"7": "Befürwortung oder Ermutigung zu diesen Verhaltensweisen."
}
},
@ -494,6 +494,6 @@
"8": "Meldung von Vorkommnissen"
}
},
"get-help": "Wenn Sie einem inakzeptablen Verhalten ausgesetzt sind, es miterleben oder andere Bedenken haben, benachrichtigen Sie bitte so schnell wie möglich einen Organisator der Gemeinschaft:"
"get-help": "Wenn du einem inakzeptablen Verhalten ausgesetzt bist, es miterlebst oder andere Bedenken hast, benachrichtige bitte so schnell wie möglich einen Organisator der Gemeinschaft und verlinke oder verweise auf den entsprechenden Inhalt:"
}
}

View File

@ -447,41 +447,54 @@
"0": "Started work on \"Nitro\". The database and the server interface are replaced:"
},
"code-of-conduct": {
"text0": "for the social network of the Human Connection gGmbH",
"text1": "Preamble",
"text2": "Human Connection is a non-profit social knowledge and action network of the next generation. By people - for people. Open Source, fair and transparent. For positive local and global change in all areas of life.",
"text3": "We completely redesign the public exchange of knowledge, ideas and projects. The functions of Human Connection bring people together - offline and online - so that we can make the world a better place.",
"text4": "Purpose",
"text5": "With these code of conduct we regulate the essential principles for behavior in our social network. The United Nations Charter of Human Rights is our orientation and forms the heart of our understanding of values.",
"text6": "The code of conduct serves as guiding principles for our personal appearance and interaction with one another. Anyone who is active as a user in the Human Connection Network, writes articles, comments or contacts other users, including those outside the network,acknowledges these rules of conduct as binding.",
"text7": "Expected Behaviour",
"text8": "The following behaviors are expected and requested of all community members:",
"text9": "Exercise consideration and respect in your speech and actions.",
"text10": "Attempt collaboration before conflict.",
"text11": "Refrain from demeaning, discriminatory, or harassing behavior and speech.",
"text12": "Be mindful of your surroundings and of your fellow participants. Alert community leaders if you notice a dangerous situation, someone in distress, or violations of this Code of Conduct, even if they seem inconsequential.",
"text13": "Inacceptable Behavior",
"text14": "The following behaviors are unacceptable within our community:",
"text15": "Discriminatory posts, comments, utterances or insults, particularly those relating to gender, sexual orientation, race, religion, political or philosophical orientation or disability.",
"text16": "Posting or linking of clearly pornographic material.",
"text17": "Glorification or trivialization of cruel or inhuman acts of violence.",
"text18": "The disclosure of others' personal information without their consent or threat there of (\"doxing\").",
"text19": "Intentional intimidation, stalking or persecution.",
"text20": "Advertising products and services with commercial intent.",
"text21": " <a class=\"hc-editor-link-blot\" href=\"https://alpha.human-connection.org/pages/violation-of-law\" target=\"_blank\" > Criminal behavior or violation of German law </a>.",
"text22": "Endorse or encourage such conduct.",
"text23": "Consequences of Unacceptable Behavior",
"text24": "If a community member exhibits unacceptable behaviour, the responsible operators, moderators and administrators of the network may take appropriate measures, including but not limited to:",
"text25": "Request for immediate cessation of unacceptable conduct",
"text26": "Locking or deleting comments",
"text27": "Temporary exclusion from the respective post or contribution",
"text28": "Blocking or deleting of content",
"text29": "Temporary withdrawal of write permissions",
"text30": "Temporary exclusion from the network",
"text31": "Final exclusion from the network",
"text32": "Violations of German law can be reported.",
"text33": "Reporting Guidelines",
"text34": "If you are subject to or witness unacceptable behavior, or have any other concerns, please notify a community organizer as soon as possible:",
"text35": "Please link or refer to corresponding content."
"subheader": "for the social network of the Human Connection gGmbH",
"preamble": {
"title": "Preamble",
"description": "Human Connection is a non-profit social knowledge and action network of the next generation. By people - for people. Open Source, fair and transparent. For positive local and global change in all areas of life. We completely redesign the public exchange of knowledge, ideas and projects. The functions of Human Connection bring people together - offline and online - so that we can make the world a better place."
},
"purpose": {
"title": "Purpose",
"description": "With these code of conduct we regulate the essential principles for behavior in our social network. The United Nations Charter of Human Rights is our orientation and forms the heart of our understanding of values. The code of conduct serves as guiding principles for our personal appearance and interaction with one another. Anyone who is active as a user in the Human Connection Network, writes articles, comments or contacts other users, including those outside the network,acknowledges these rules of conduct as binding."
},
"expected-behaviour": {
"title": "Expected Behaviour",
"description": "The following behaviors are expected and requested of all community members:",
"list": {
"0": "Exercise consideration and respect in your speech and actions.",
"1": "Attempt collaboration before conflict.",
"2": "Refrain from demeaning, discriminatory, or harassing behavior and speech.",
"3": "Be mindful of your surroundings and of your fellow participants. Alert community leaders if you notice a dangerous situation, someone in distress, or violations of this Code of Conduct, even if they seem inconsequential."
}
},
"unacceptable-behaviour": {
"title": "Unacceptable Behavior",
"description": "The following behaviors are unacceptable within our community:",
"list": {
"0": "Discriminatory posts, comments, utterances or insults, particularly those relating to gender, sexual orientation, race, religion, political or philosophical orientation or disability.",
"1": "Posting or linking of clearly pornographic material.",
"2": "Glorification or trivialization of cruel or inhuman acts of violence.",
"3": "The disclosure of others' personal information without their consent or threat there of (\"doxing\").",
"4": "Intentional intimidation, stalking or persecution.",
"5": "Advertising products and services with commercial intent.",
"6": "Criminal behavior or violation of German law.",
"7": "Endorse or encourage such conduct."
}
},
"consequences": {
"title": "Consequences of Unacceptable Behavior",
"description": "If a community member exhibits unacceptable behaviour, the responsible operators, moderators and administrators of the network may take appropriate measures, including but not limited to:",
"list": {
"0": "Request for immediate cessation of unacceptable conduct",
"1": "Locking or deleting comments",
"2": "Temporary exclusion from the respective post or contribution",
"3": "Blocking or deleting of content",
"4": "Temporary withdrawal of write permissions",
"5": "Temporary exclusion from the network",
"6": "Final exclusion from the network",
"7": "Violations of German law can be reported.",
"8": "Advocacy or encouragement to these behaviors."
}
},
"get-help": "If you are subject to or witness unacceptable behavior, or have any other concerns, please notify a community organizer as soon as possible and link or refer to the corresponding content:"
}
}

View File

@ -4,12 +4,11 @@
<ds-heading tag="h2">{{ $t('site.code-of-conduct') }}</ds-heading>
<p>{{ $t('code-of-conduct.subheader') }}</p>
</ds-space>
<ds-container>
<br />
<ds-container>
<div v-for="section in sections" :key="section">
<strong>{{ $t(`code-of-conduct.${section}.title`) }}</strong>
<p>{{ $t(`code-of-conduct.${section}.description`) }}</p>
<strong>{{ $t(`code-of-conduct.${section}.title`) }}</strong>
<p>{{ $t(`code-of-conduct.${section}.description`) }}</p>
</div>
<br />
@ -18,7 +17,7 @@
<strong>{{ $t(`code-of-conduct.${section.key}.title`) }}</strong>
<p>{{ $t(`code-of-conduct.${section.key}.description`) }}</p>
<ul>
<li v-for="i in section.items">
<li v-for="i in section.items" :key="i">
{{ $t(`code-of-conduct.${section.key}.list.${i}`) }}
</li>
</ul>
@ -31,7 +30,6 @@
</a>
</p>
<br />
</ds-container>
</div>
</template>
@ -45,20 +43,22 @@ export default {
},
data() {
return {
sections: ['preamble', 'purpose', ],
sections: ['preamble', 'purpose'],
listSections: [
{
key: 'expected-behaviour',
items: [...Array(4).keys()]
},{
items: [...Array(4).keys()],
},
{
key: 'unacceptable-behaviour',
items: [...Array(8).keys()]
},{
items: [...Array(8).keys()],
},
{
key: 'consequences',
items: [...Array(9).keys()]
}
]
items: [...Array(9).keys()],
},
],
}
}
},
}
</script>