about summary refs log tree commit diff
path: root/src/view/com/feeds
diff options
context:
space:
mode:
authorMinseo Lee <itoupluk427@gmail.com>2024-12-12 12:48:02 +0900
committerGitHub <noreply@github.com>2024-12-12 03:48:02 +0000
commit084905c1461ec6f86b03da4d4f6f6300ad9a7fc0 (patch)
tree43e383e24335c24e0d1256f2d579057740d5a60e /src/view/com/feeds
parentddeadc21a08faef34f692d3fb9822adf1b92f6a4 (diff)
downloadvoidsky-084905c1461ec6f86b03da4d4f6f6300ad9a7fc0.tar.zst
refine plural marks (#7065)
Diffstat (limited to 'src/view/com/feeds')
-rw-r--r--src/view/com/feeds/FeedSourceCard.tsx13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/view/com/feeds/FeedSourceCard.tsx b/src/view/com/feeds/FeedSourceCard.tsx
index 707aad7fb..a59148889 100644
--- a/src/view/com/feeds/FeedSourceCard.tsx
+++ b/src/view/com/feeds/FeedSourceCard.tsx
@@ -300,11 +300,14 @@ export function FeedSourceCardLoaded({
 
         {showLikes && feed.type === 'feed' ? (
           <Text type="sm-medium" style={[pal.text, pal.textLight]}>
-            <Plural
-              value={feed.likeCount || 0}
-              one="Liked by # user"
-              other="Liked by # users"
-            />
+            <Trans>
+              Liked by{' '}
+              <Plural
+                value={feed.likeCount || 0}
+                one="# user"
+                other="# users"
+              />
+            </Trans>
           </Text>
         ) : null}
       </Pressable>