rm 'pornography' label wording (#3402)
* rm 'pornography' * add `adult content` to `REASONSEXUAL`zio/stable
parent
3e88fdfbc4
commit
4d28dcc48f
|
@ -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: {
|
||||||
|
|
|
@ -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,
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue