my fork of the bluesky client

rm 'pornography' label wording (#3402)

* rm 'pornography'

* add `adult content` to `REASONSEXUAL`

authored by hailey.at and committed by

GitHub 4d28dcc4 3e88fdfb

+5 -5
+2 -2
src/lib/moderation/useGlobalLabelStrings.ts
··· 1 import {msg} from '@lingui/macro' 2 import {useLingui} from '@lingui/react' 3 - import {useMemo} from 'react' 4 5 export type GlobalLabelStrings = Record< 6 string, ··· 31 ), 32 }, 33 porn: { 34 - name: _(msg`Pornography`), 35 description: _(msg`Explicit sexual images.`), 36 }, 37 sexual: {
··· 1 + import {useMemo} from 'react' 2 import {msg} from '@lingui/macro' 3 import {useLingui} from '@lingui/react' 4 5 export type GlobalLabelStrings = Record< 6 string, ··· 31 ), 32 }, 33 porn: { 34 + name: _(msg`Adult Content`), 35 description: _(msg`Explicit sexual images.`), 36 }, 37 sexual: {
+3 -3
src/lib/moderation/useReportOptions.ts
··· 1 import {msg} from '@lingui/macro' 2 import {useLingui} from '@lingui/react' 3 - import {useMemo} from 'react' 4 - import {ComAtprotoModerationDefs} from '@atproto/api' 5 6 export interface ReportOption { 7 reason: string ··· 68 { 69 reason: ComAtprotoModerationDefs.REASONSEXUAL, 70 title: _(msg`Unwanted Sexual Content`), 71 - description: _(msg`Nudity or pornography not labeled as such`), 72 }, 73 ...common, 74 ],
··· 1 + import {useMemo} from 'react' 2 + import {ComAtprotoModerationDefs} from '@atproto/api' 3 import {msg} from '@lingui/macro' 4 import {useLingui} from '@lingui/react' 5 6 export interface ReportOption { 7 reason: string ··· 68 { 69 reason: ComAtprotoModerationDefs.REASONSEXUAL, 70 title: _(msg`Unwanted Sexual Content`), 71 + description: _(msg`Nudity or adult content not labeled as such`), 72 }, 73 ...common, 74 ],