From 084905c1461ec6f86b03da4d4f6f6300ad9a7fc0 Mon Sep 17 00:00:00 2001 From: Minseo Lee Date: Thu, 12 Dec 2024 12:48:02 +0900 Subject: refine plural marks (#7065) --- src/components/FeedCard.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/components/FeedCard.tsx') diff --git a/src/components/FeedCard.tsx b/src/components/FeedCard.tsx index b28f66f83..de94d7e19 100644 --- a/src/components/FeedCard.tsx +++ b/src/components/FeedCard.tsx @@ -7,7 +7,7 @@ import { AtUri, RichText as RichTextApi, } from '@atproto/api' -import {msg, plural, Trans} from '@lingui/macro' +import {msg, Plural, Trans} from '@lingui/macro' import {useLingui} from '@lingui/react' import {useQueryClient} from '@tanstack/react-query' @@ -210,10 +210,9 @@ export function Likes({count}: {count: number}) { const t = useTheme() return ( - {plural(count || 0, { - one: 'Liked by # user', - other: 'Liked by # users', - })} + + Liked by + ) } -- cgit 1.4.1