diff options
author | surfdude29 <149612116+surfdude29@users.noreply.github.com> | 2025-04-01 23:59:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-01 15:59:53 -0700 |
commit | df9909baa353c8576aadca77e12e3251c0bfc604 (patch) | |
tree | 3704e9da1d537d4c2978c86840b079207ed84a17 /src/components/StarterPack/StarterPackCard.tsx | |
parent | 7a041da3a888dd3837fc410c70a72df582e0dd32 (diff) | |
download | voidsky-df9909baa353c8576aadca77e12e3251c0bfc604.tar.zst |
Translate number joined starter pack string and add plural formatting (#7984)
* translate number joined starter pack string * also add plural formatting in StarterPackScreen.tsx * import Plural * tweak * tweak
Diffstat (limited to 'src/components/StarterPack/StarterPackCard.tsx')
-rw-r--r-- | src/components/StarterPack/StarterPackCard.tsx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/components/StarterPack/StarterPackCard.tsx b/src/components/StarterPack/StarterPackCard.tsx index caa052726..b5760fd6d 100644 --- a/src/components/StarterPack/StarterPackCard.tsx +++ b/src/components/StarterPack/StarterPackCard.tsx @@ -2,7 +2,7 @@ import React from 'react' import {View} from 'react-native' import {Image} from 'expo-image' import {AppBskyGraphStarterpack, AtUri} from '@atproto/api' -import {msg} from '@lingui/macro' +import {msg, Plural, Trans} from '@lingui/macro' import {useLingui} from '@lingui/react' import {useQueryClient} from '@tanstack/react-query' @@ -95,7 +95,9 @@ export function Card({ ) : null} {!!joinedAllTimeCount && joinedAllTimeCount >= 50 && ( <Text style={[a.font_bold, t.atoms.text_contrast_medium]}> - {joinedAllTimeCount} users have joined! + <Trans comment="Number of users (always at least 50) who have joined Bluesky using a specific starter pack"> + <Plural value={joinedAllTimeCount} other="# users have" /> joined! + </Trans> </Text> )} </View> |