From bdd5f0d95944a66690a7e718ee73aa0bb381ac67 Mon Sep 17 00:00:00 2001 From: Zeck Li <11781254+zeckli@users.noreply.github.com> Date: Thu, 4 Jun 2026 10:52:50 +0800 Subject: [PATCH] feat(copy): update the deactivated user's comment notice copies --- src/components/Notice/CommentCard/index.tsx | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/src/components/Notice/CommentCard/index.tsx b/src/components/Notice/CommentCard/index.tsx index c13e072a73..b3ef13e465 100644 --- a/src/components/Notice/CommentCard/index.tsx +++ b/src/components/Notice/CommentCard/index.tsx @@ -88,17 +88,20 @@ const CommentCard = ({ } if (comment.author?.status?.state === 'archived' && (moment || article)) { + const content = moment + ? intl.formatMessage({ + defaultMessage: 'Comment deleted', + description: 'src/components/Notice/NoticeComment.tsx/moment', + id: 'Ci7dxf', + }) + : intl.formatMessage({ + defaultMessage: 'Comment deleted', + description: 'src/components/Notice/NoticeComment.tsx/article', + id: '7zn5ig', + }) return (
- +
) }