Support multiple
This commit is contained in:
@@ -101,7 +101,11 @@ export function useModerationCauseDescription(
|
|||||||
if (cause.type === 'mute-word') {
|
if (cause.type === 'mute-word') {
|
||||||
return {
|
return {
|
||||||
icon: EyeSlash,
|
icon: EyeSlash,
|
||||||
name: _(msg`Post hidden by muted word: ${cause.match.word.value}`),
|
name: _(
|
||||||
|
msg`Post hidden by muted word(s): ${cause.match
|
||||||
|
.map(m => m.word.value)
|
||||||
|
.join(', ')}`,
|
||||||
|
),
|
||||||
description: _(
|
description: _(
|
||||||
msg`You've chosen to hide a word or tag within this post.`,
|
msg`You've chosen to hide a word or tag within this post.`,
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user