Update copy and link

This commit is contained in:
Eric Bailey
2025-06-27 16:24:11 -05:00
committed by Samuel Newman
parent 34291131b4
commit 7a6636f912
2 changed files with 15 additions and 10 deletions
@@ -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"
@@ -512,13 +515,13 @@ function StepTitle({
backgroundColor: active backgroundColor: active
? t.palette.primary_500 ? t.palette.primary_500
: completed : completed
? t.palette.primary_100 ? t.palette.primary_100
: t.atoms.bg_contrast_25.backgroundColor, : t.atoms.bg_contrast_25.backgroundColor,
borderColor: active borderColor: active
? t.palette.primary_500 ? t.palette.primary_500
: completed : completed
? t.palette.primary_400 ? t.palette.primary_400
: t.atoms.border_contrast_low.borderColor, : t.atoms.border_contrast_low.borderColor,
}, },
]}> ]}>
{completed ? ( {completed ? (
@@ -533,8 +536,8 @@ function StepTitle({
color: active color: active
? 'white' ? 'white'
: completed : completed
? t.palette.primary_700 ? t.palette.primary_700
: t.atoms.text_contrast_medium.color, : t.atoms.text_contrast_medium.color,
fontVariant: ['tabular-nums'], fontVariant: ['tabular-nums'],
width: 24, width: 24,
height: 24, height: 24,