rm 'pornography' label wording (#3402)

* rm 'pornography'

* add `adult content` to `REASONSEXUAL`
zio/stable
Hailey 2024-04-04 10:15:04 -07:00 committed by GitHub
parent 3e88fdfbc4
commit 4d28dcc48f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
import {useMemo} from 'react'
import {msg} from '@lingui/macro' import {msg} from '@lingui/macro'
import {useLingui} from '@lingui/react' import {useLingui} from '@lingui/react'
import {useMemo} from 'react'
export type GlobalLabelStrings = Record< export type GlobalLabelStrings = Record<
string, string,
@ -31,7 +31,7 @@ export function useGlobalLabelStrings(): GlobalLabelStrings {
), ),
}, },
porn: { porn: {
name: _(msg`Pornography`), name: _(msg`Adult Content`),
description: _(msg`Explicit sexual images.`), description: _(msg`Explicit sexual images.`),
}, },
sexual: { sexual: {

View File

@ -1,7 +1,7 @@
import {msg} from '@lingui/macro'
import {useLingui} from '@lingui/react'
import {useMemo} from 'react' import {useMemo} from 'react'
import {ComAtprotoModerationDefs} from '@atproto/api' import {ComAtprotoModerationDefs} from '@atproto/api'
import {msg} from '@lingui/macro'
import {useLingui} from '@lingui/react'
export interface ReportOption { export interface ReportOption {
reason: string reason: string
@ -68,7 +68,7 @@ export function useReportOptions(): ReportOptions {
{ {
reason: ComAtprotoModerationDefs.REASONSEXUAL, reason: ComAtprotoModerationDefs.REASONSEXUAL,
title: _(msg`Unwanted Sexual Content`), title: _(msg`Unwanted Sexual Content`),
description: _(msg`Nudity or pornography not labeled as such`), description: _(msg`Nudity or adult content not labeled as such`),
}, },
...common, ...common,
], ],