Update copy and link
This commit is contained in:
committed by
Samuel Newman
parent
34291131b4
commit
7a6636f912
@@ -1 +1,3 @@
|
|||||||
export const DMCA_LINK = 'https://bsky.social/about/support/copyright'
|
export const DMCA_LINK = 'https://bsky.social/about/support/copyright'
|
||||||
|
export const COMPLIANCE_OVERVIEW =
|
||||||
|
'https://bsky.social/about/support/regulatory-compliance-report'
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ import {createStaticClick, InlineLinkText, Link} from '#/components/Link'
|
|||||||
import {Loader} from '#/components/Loader'
|
import {Loader} from '#/components/Loader'
|
||||||
import {Text} from '#/components/Typography'
|
import {Text} from '#/components/Typography'
|
||||||
import {useSubmitReportMutation} from './action'
|
import {useSubmitReportMutation} from './action'
|
||||||
import {DMCA_LINK} from './const'
|
import {COMPLIANCE_OVERVIEW} from './const'
|
||||||
import {useCopyForSubject} from './copy'
|
import {useCopyForSubject} from './copy'
|
||||||
import {initialState, reducer} from './state'
|
import {initialState, reducer} from './state'
|
||||||
import {type ReportDialogProps, type ReportSubject} from './types'
|
import {type ReportDialogProps, type ReportSubject} from './types'
|
||||||
@@ -266,9 +266,9 @@ function Inner(props: ReportDialogProps) {
|
|||||||
|
|
||||||
{['post', 'account'].includes(props.subject.type) && (
|
{['post', 'account'].includes(props.subject.type) && (
|
||||||
<Link
|
<Link
|
||||||
to={DMCA_LINK}
|
to={COMPLIANCE_OVERVIEW}
|
||||||
label={_(
|
label={_(
|
||||||
msg`View details for reporting a copyright violation`,
|
msg`Need to report a copyright violation, legal request, or regulatory compliance issue?`,
|
||||||
)}>
|
)}>
|
||||||
{({hovered, pressed}) => (
|
{({hovered, pressed}) => (
|
||||||
<View
|
<View
|
||||||
@@ -285,7 +285,10 @@ function Inner(props: ReportDialogProps) {
|
|||||||
: [t.atoms.border_contrast_low],
|
: [t.atoms.border_contrast_low],
|
||||||
]}>
|
]}>
|
||||||
<Text style={[a.flex_1, a.italic, a.leading_snug]}>
|
<Text style={[a.flex_1, a.italic, a.leading_snug]}>
|
||||||
<Trans>Need to report a copyright violation?</Trans>
|
<Trans>
|
||||||
|
Need to report a copyright violation, legal
|
||||||
|
request, or regulatory compliance issue?
|
||||||
|
</Trans>
|
||||||
</Text>
|
</Text>
|
||||||
<SquareArrowTopRight
|
<SquareArrowTopRight
|
||||||
size="sm"
|
size="sm"
|
||||||
|
|||||||
Reference in New Issue
Block a user