small label updates (#612)

* labels: fix 'consentual' typo

This label has never been applied, so safe to just change it.

* labels: new 'nsfl' label, under both porn and gore categories

* labels: new account-security label (always warn)

* labling: re-word spam subtitle
zio/stable
bnewbold 2023-05-11 08:37:26 -07:00 committed by GitHub
parent b0ebb6c9d1
commit c2fb4d4b4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -5,7 +5,7 @@ export const ILLEGAL_LABEL_GROUP: LabelValGroup = {
id: 'illegal', id: 'illegal',
title: 'Illegal Content', title: 'Illegal Content',
warning: 'Illegal Content', warning: 'Illegal Content',
values: ['csam', 'dmca-violation', 'nudity-nonconsentual'], values: ['csam', 'dmca-violation', 'nudity-nonconsensual'],
} }
export const ALWAYS_FILTER_LABEL_GROUP: LabelValGroup = { export const ALWAYS_FILTER_LABEL_GROUP: LabelValGroup = {
@ -19,7 +19,7 @@ export const ALWAYS_WARN_LABEL_GROUP: LabelValGroup = {
id: 'always-warn', id: 'always-warn',
title: 'Content Warning', title: 'Content Warning',
warning: 'Content Warning', warning: 'Content Warning',
values: ['!warn'], values: ['!warn', 'account-security'],
} }
export const UNKNOWN_LABEL_GROUP: LabelValGroup = { export const UNKNOWN_LABEL_GROUP: LabelValGroup = {
@ -38,7 +38,7 @@ export const CONFIGURABLE_LABEL_GROUPS: Record<
title: 'Explicit Sexual Images', title: 'Explicit Sexual Images',
subtitle: 'i.e. Pornography', subtitle: 'i.e. Pornography',
warning: 'Sexually Explicit', warning: 'Sexually Explicit',
values: ['porn'], values: ['porn', 'nsfl'],
isAdultImagery: true, isAdultImagery: true,
}, },
nudity: { nudity: {
@ -62,7 +62,7 @@ export const CONFIGURABLE_LABEL_GROUPS: Record<
title: 'Violent / Bloody', title: 'Violent / Bloody',
subtitle: 'Gore, self-harm, torture', subtitle: 'Gore, self-harm, torture',
warning: 'Violence', warning: 'Violence',
values: ['gore', 'self-harm', 'torture'], values: ['gore', 'self-harm', 'torture', 'nsfl'],
isAdultImagery: true, isAdultImagery: true,
}, },
hate: { hate: {
@ -74,7 +74,7 @@ export const CONFIGURABLE_LABEL_GROUPS: Record<
spam: { spam: {
id: 'spam', id: 'spam',
title: 'Spam', title: 'Spam',
subtitle: 'Excessive low-quality posts', subtitle: 'Excessive unwanted interactions',
warning: 'Spam', warning: 'Spam',
values: ['spam'], values: ['spam'],
}, },