-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create the page for sensitive content explanation (#3074)
Co-authored-by: Olga Bulat <obulat@gmail.com>
- Loading branch information
Showing
3 changed files
with
202 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,149 @@ | ||
<template> | ||
<VContentPage> | ||
<h1> | ||
{{ $t("sensitive.title") }} | ||
</h1> | ||
|
||
<i18n path="sensitive.description.content" tag="p"> | ||
<template #openverse>Openverse</template> | ||
<template #wpCoc | ||
><VLink | ||
href="https://make.wordpress.org/handbook/community-code-of-conduct/" | ||
>{{ $t("sensitive.description.wpCoc") }}</VLink | ||
></template | ||
> | ||
<template #deiStatement | ||
><VLink | ||
href="https://make.wordpress.org/handbook/diversity-equity-and-inclusion-in-wordpress/" | ||
>{{ $t("sensitive.description.deiStatement") }}</VLink | ||
></template | ||
> | ||
</i18n> | ||
|
||
<p>{{ $t("sensitive.sensitivity.what", { openverse: "Openverse" }) }}</p> | ||
<p>{{ $t("sensitive.sensitivity.how", { openverse: "Openverse" }) }}</p> | ||
|
||
<h2 id="on-off"> | ||
{{ $t("sensitive.onOff.title") }} | ||
</h2> | ||
|
||
<p> | ||
{{ $t("sensitive.onOff.sensitiveResults", { openverse: "Openverse" }) }} | ||
</p> | ||
|
||
<p> | ||
{{ $t("sensitive.onOff.blurSensitive", { openverse: "Openverse" }) }} | ||
</p> | ||
|
||
<p> | ||
{{ $t("sensitive.onOff.where", { openverse: "Openverse" }) }} | ||
</p> | ||
|
||
<h2 id="designations"> | ||
{{ $t("sensitive.designations.title") }} | ||
</h2> | ||
|
||
<p> | ||
{{ $t("sensitive.designations.description", { openverse: "Openverse" }) }} | ||
</p> | ||
|
||
<h3 id="user-reported-sensitivity"> | ||
{{ $t("sensitive.designations.userReported.title") }} | ||
</h3> | ||
|
||
<i18n path="sensitive.designations.userReported.description" tag="p"> | ||
<template #openverse>Openverse</template> | ||
<template #gutenbergMediaInserter> | ||
<VLink | ||
href="https://learn.wordpress.org/tutorial/add-media-and-openverse-images-to-your-content-directly-from-the-inserter/" | ||
>{{ | ||
$t("sensitive.designations.userReported.gutenbergMediaInserter", { | ||
openverse: "Openverse", | ||
}) | ||
}}</VLink | ||
> | ||
</template> | ||
</i18n> | ||
|
||
<h3 id="sensitive-textual-content"> | ||
{{ $t("sensitive.designations.sensitiveText.title") }} | ||
</h3> | ||
|
||
<i18n path="sensitive.designations.sensitiveText.description" tag="p"> | ||
<template #openverse>Openverse</template> | ||
<template #sensitiveTermsList> | ||
<VLink href="https://github.com/wordpress/openverse-sensitive-terms">{{ | ||
$t("sensitive.designations.sensitiveText.sensitiveTermsList") | ||
}}</VLink> | ||
</template> | ||
<template #imperfect> | ||
<VLink | ||
href="https://docs.openverse.org/projects/proposals/trust_and_safety/detecting_sensitive_textual_content/20230309-implementation_plan_sensitive_terms_list.html#this-will-not-be-perfect" | ||
>{{ | ||
$t("sensitive.designations.sensitiveText.imperfect", { | ||
sectionName: "This will not be perfect", | ||
}) | ||
}}</VLink | ||
> | ||
</template> | ||
</i18n> | ||
|
||
<i18n path="sensitive.designations.sensitiveText.metadata" tag="p"> | ||
<template #openverse>Openverse</template> | ||
<template #notAvailable> | ||
<VLink href="https://github.com/WordPress/openverse/issues/2594">{{ | ||
$t("sensitive.designations.sensitiveText.notAvailable") | ||
}}</VLink> | ||
</template> | ||
</i18n> | ||
|
||
<h2> | ||
{{ $t("sensitive.faq.title") }} | ||
</h2> | ||
|
||
<p> | ||
<strong>{{ $t("sensitive.faq.one.question") }}</strong | ||
><br /> | ||
{{ $t("sensitive.faq.one.answer", { openverse: "Openverse" }) }} | ||
</p> | ||
|
||
<p> | ||
<strong>{{ $t("sensitive.faq.two.question") }}</strong | ||
><br /> | ||
{{ $t("sensitive.faq.two.answerPt1", { openverse: "Openverse" }) }} | ||
</p> | ||
<p>{{ $t("sensitive.faq.two.answerPt2", { openverse: "Openverse" }) }}</p> | ||
|
||
<p> | ||
<strong>{{ | ||
$t("sensitive.faq.three.question", { openverse: "Openverse" }) | ||
}}</strong | ||
><br /> | ||
{{ $t("sensitive.faq.three.answer", { openverse: "Openverse" }) }} | ||
</p> | ||
</VContentPage> | ||
</template> | ||
|
||
<script lang="ts"> | ||
import { defineComponent, useMeta } from "@nuxtjs/composition-api" | ||
import { useI18n } from "~/composables/use-i18n" | ||
import VLink from "~/components/VLink.vue" | ||
import VContentPage from "~/components/VContentPage.vue" | ||
export default defineComponent({ | ||
name: "SensitiveContent", | ||
components: { VLink, VContentPage }, | ||
layout: "content-layout", | ||
setup() { | ||
const i18n = useI18n() | ||
useMeta({ | ||
title: `${i18n.t("sensitive.title")} | Openverse`, | ||
meta: [{ hid: "robots", name: "robots", content: "all" }], | ||
}) | ||
}, | ||
head: {}, | ||
}) | ||
</script> |