Add labels to mod details dialog (#4839)
parent
783fd351ba
commit
1d827cebe4
|
@ -54,7 +54,10 @@ function ModerationDetailsDialogInner({
|
||||||
description = (
|
description = (
|
||||||
<Trans>
|
<Trans>
|
||||||
This user is included in the{' '}
|
This user is included in the{' '}
|
||||||
<InlineLinkText to={listUriToHref(list.uri)} style={[a.text_sm]}>
|
<InlineLinkText
|
||||||
|
label={list.name}
|
||||||
|
to={listUriToHref(list.uri)}
|
||||||
|
style={[a.text_sm]}>
|
||||||
{list.name}
|
{list.name}
|
||||||
</InlineLinkText>{' '}
|
</InlineLinkText>{' '}
|
||||||
list which you have blocked.
|
list which you have blocked.
|
||||||
|
@ -83,7 +86,10 @@ function ModerationDetailsDialogInner({
|
||||||
description = (
|
description = (
|
||||||
<Trans>
|
<Trans>
|
||||||
This user is included in the{' '}
|
This user is included in the{' '}
|
||||||
<InlineLinkText to={listUriToHref(list.uri)} style={[a.text_sm]}>
|
<InlineLinkText
|
||||||
|
label={list.name}
|
||||||
|
to={listUriToHref(list.uri)}
|
||||||
|
style={[a.text_sm]}>
|
||||||
{list.name}
|
{list.name}
|
||||||
</InlineLinkText>{' '}
|
</InlineLinkText>{' '}
|
||||||
list which you have muted.
|
list which you have muted.
|
||||||
|
@ -127,10 +133,11 @@ function ModerationDetailsDialogInner({
|
||||||
<Trans>
|
<Trans>
|
||||||
This label was applied by{' '}
|
This label was applied by{' '}
|
||||||
<InlineLinkText
|
<InlineLinkText
|
||||||
|
label={desc.source || _(msg`an unknown labeler`)}
|
||||||
to={makeProfileLink({did: modcause.label.src, handle: ''})}
|
to={makeProfileLink({did: modcause.label.src, handle: ''})}
|
||||||
onPress={() => control.close()}
|
onPress={() => control.close()}
|
||||||
style={a.text_md}>
|
style={a.text_md}>
|
||||||
{desc.source}
|
{desc.source || _(msg`an unknown labeler`)}
|
||||||
</InlineLinkText>
|
</InlineLinkText>
|
||||||
.
|
.
|
||||||
</Trans>
|
</Trans>
|
||||||
|
|
Loading…
Reference in New Issue