diff options
Diffstat (limited to 'src/components/LabelingServiceCard/index.tsx')
-rw-r--r-- | src/components/LabelingServiceCard/index.tsx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/components/LabelingServiceCard/index.tsx b/src/components/LabelingServiceCard/index.tsx index 03b8ece6b..b144c1dc8 100644 --- a/src/components/LabelingServiceCard/index.tsx +++ b/src/components/LabelingServiceCard/index.tsx @@ -83,7 +83,7 @@ export function RegionalNotice() { ) } -export function LikeCount({count}: {count: number}) { +export function LikeCount({likeCount}: {likeCount: number}) { const t = useTheme() return ( <Text @@ -93,7 +93,9 @@ export function LikeCount({count}: {count: number}) { t.atoms.text_contrast_medium, {fontWeight: '600'}, ]}> - <Plural value={count} one="Liked by # user" other="Liked by # users" /> + <Trans> + Liked by <Plural value={likeCount} one="# user" other="# users" /> + </Trans> </Text> ) } @@ -138,7 +140,7 @@ export function Default({ value={labeler.creator.description} handle={labeler.creator.handle} /> - {labeler.likeCount ? <LikeCount count={labeler.likeCount} /> : null} + {labeler.likeCount ? <LikeCount likeCount={labeler.likeCount} /> : null} </Content> </Outer> ) |