This commit is contained in:
Hailey
2024-06-09 16:20:32 -07:00
parent 40196cef09
commit d481e1895f
+8 -3
View File
@@ -1,7 +1,7 @@
import React from 'react' import React from 'react'
import {View} from 'react-native' import {View} from 'react-native'
import {AppBskyGraphDefs, AppBskyGraphStarterpack} from '@atproto/api' import {AppBskyGraphDefs, AppBskyGraphStarterpack} from '@atproto/api'
import {msg, Trans} from '@lingui/macro' import {msg, Plural, Trans} from '@lingui/macro'
import {useLingui} from '@lingui/react' import {useLingui} from '@lingui/react'
import {NativeStackScreenProps} from '@react-navigation/native-stack' import {NativeStackScreenProps} from '@react-navigation/native-stack'
@@ -183,8 +183,13 @@ function Header({
<Text style={[a.text_md]}>{record.description}</Text> <Text style={[a.text_md]}>{record.description}</Text>
<Text style={[a.font_bold, a.text_md, t.atoms.text_contrast_medium]}> <Text style={[a.font_bold, a.text_md, t.atoms.text_contrast_medium]}>
<Trans> <Trans>
{starterPack.joinedAllTimeCount} people have joined this starter {starterPack.joinedAllTimeCount || 0}{' '}
pack! <Plural
value={starterPack.joinedAllTimeCount || 0}
one="person has"
other="people have"
/>{' '}
joined this starter pack!
</Trans> </Trans>
</Text> </Text>
</View> </View>