Skip to content

Commit

Permalink
rm 'pornography' label wording (#3402)
Browse files Browse the repository at this point in the history
* rm 'pornography'

* add `adult content` to `REASONSEXUAL`
  • Loading branch information
haileyok authored Apr 4, 2024
1 parent 3e88fdf commit 4d28dcc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/lib/moderation/useGlobalLabelStrings.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {useMemo} from 'react'
import {msg} from '@lingui/macro'
import {useLingui} from '@lingui/react'
import {useMemo} from 'react'

export type GlobalLabelStrings = Record<
string,
Expand Down Expand Up @@ -31,7 +31,7 @@ export function useGlobalLabelStrings(): GlobalLabelStrings {
),
},
porn: {
name: _(msg`Pornography`),
name: _(msg`Adult Content`),
description: _(msg`Explicit sexual images.`),
},
sexual: {
Expand Down
6 changes: 3 additions & 3 deletions src/lib/moderation/useReportOptions.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {msg} from '@lingui/macro'
import {useLingui} from '@lingui/react'
import {useMemo} from 'react'
import {ComAtprotoModerationDefs} from '@atproto/api'
import {msg} from '@lingui/macro'
import {useLingui} from '@lingui/react'

export interface ReportOption {
reason: string
Expand Down Expand Up @@ -68,7 +68,7 @@ export function useReportOptions(): ReportOptions {
{
reason: ComAtprotoModerationDefs.REASONSEXUAL,
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,
],
Expand Down

0 comments on commit 4d28dcc

Please sign in to comment.