From 82f42e734c50b34de31e8aff1e7ced248ab6e96f Mon Sep 17 00:00:00 2001 From: surfdude29 <149612116+surfdude29@users.noreply.github.com> Date: Mon, 16 Feb 2026 21:12:26 +0000 Subject: [PATCH] Wrap interaction counts with `Trans` to add translation flexibility (#9036) --- .../components/ThreadItemAnchor.tsx | 60 +++++++++++-------- 1 file changed, 36 insertions(+), 24 deletions(-) diff --git a/src/screens/PostThread/components/ThreadItemAnchor.tsx b/src/screens/PostThread/components/ThreadItemAnchor.tsx index 27fcaf0fa8..643f926f1b 100644 --- a/src/screens/PostThread/components/ThreadItemAnchor.tsx +++ b/src/screens/PostThread/components/ThreadItemAnchor.tsx @@ -452,14 +452,16 @@ const ThreadItemAnchorInner = memo(function ThreadItemAnchorInner({ - - {formatPostStatCount(post.repostCount)} - {' '} - + + + {formatPostStatCount(post.repostCount)} + {' '} + + ) : null} @@ -470,14 +472,16 @@ const ThreadItemAnchorInner = memo(function ThreadItemAnchorInner({ - - {formatPostStatCount(post.quoteCount)} - {' '} - + + + {formatPostStatCount(post.quoteCount)} + {' '} + + ) : null} @@ -486,10 +490,12 @@ const ThreadItemAnchorInner = memo(function ThreadItemAnchorInner({ - - {formatPostStatCount(post.likeCount)} - {' '} - + + + {formatPostStatCount(post.likeCount)} + {' '} + + ) : null} @@ -497,10 +503,16 @@ const ThreadItemAnchorInner = memo(function ThreadItemAnchorInner({ - - {formatPostStatCount(post.bookmarkCount)} - {' '} - + + + {formatPostStatCount(post.bookmarkCount)} + {' '} + + ) : null}