diff --git a/src/components/moderation/LabelsOnMeDialog.tsx b/src/components/moderation/LabelsOnMeDialog.tsx index ac5f256751..0a641f823f 100644 --- a/src/components/moderation/LabelsOnMeDialog.tsx +++ b/src/components/moderation/LabelsOnMeDialog.tsx @@ -11,6 +11,7 @@ import {makeProfileLink} from '#/lib/routes/links' import {sanitizeHandle} from '#/lib/strings/handles' import {useSession} from '#/state/session' import {atoms as a, useTheme} from '#/alf' +import {Admonition} from '#/components/Admonition' import {Button, ButtonText} from '#/components/Button' import * as Dialog from '#/components/Dialog' import {InlineLinkText} from '#/components/Link' @@ -23,6 +24,11 @@ export {useDialogControl as useLabelsOnMeDialogControl} from '#/components/Dialo export interface LabelsOnMeDialogProps { control: Dialog.DialogOuterProps['control'] labels: ComAtprotoLabelDefs.Label[] + /** + * Whether the labels are being shown on the user's account or on a post. + * With `content`, the list may include account-level labels, which get a + * per-label callout. + */ type: 'account' | 'content' } @@ -55,7 +61,7 @@ function LabelsOnMeDialogInner(props: LabelsOnMeDialogProps) { label={ isAccount ? _(msg`The following labels were applied to your account.`) - : _(msg`The following labels were applied to your content.`) + : _(msg`The following labels were applied to this post.`) }> {appealingLabel ? ( Labels on your account ) : ( - Labels on your content + Labels applied to this post )} @@ -89,9 +95,10 @@ function LabelsOnMeDialogInner(props: LabelsOnMeDialogProps) { {labels.map(label => ( {!isSelfLabel && ( diff --git a/src/components/moderation/ModerationDetailsDialog.tsx b/src/components/moderation/ModerationDetailsDialog.tsx index d0289496c5..0a71f5b350 100644 --- a/src/components/moderation/ModerationDetailsDialog.tsx +++ b/src/components/moderation/ModerationDetailsDialog.tsx @@ -191,8 +191,8 @@ function ModerationDetailsDialogInner({ {desc.isSubjectAccount && ( - This moderation was applied to the entire user account and will - appear on all posts. + This label was applied to the entire user account and will appear + on all posts. )}