Bluesky app fork with some witchin' additions 💫

Mark label for translation in `LoggedOutCTA.tsx` (#8908)

* Mark label for translation in `LoggedOutCTA.tsx`

* Update LoggedOutCTA.tsx

authored by

surfdude29 and committed by
GitHub
39c6984c 9f7c9203

+4 -2
+4 -2
src/components/LoggedOutCTA.tsx
··· 1 1 import {View, type ViewStyle} from 'react-native' 2 - import {Trans} from '@lingui/macro' 2 + import {msg, Trans} from '@lingui/macro' 3 + import {useLingui} from '@lingui/react' 3 4 4 5 import {type Gate} from '#/lib/statsig/gates' 5 6 import {useGate} from '#/lib/statsig/statsig' ··· 21 22 const {requestSwitchToAccount} = useLoggedOutViewControls() 22 23 const gate = useGate() 23 24 const t = useTheme() 25 + const {_} = useLingui() 24 26 25 27 // Only show for logged-out users on web 26 28 if (hasSession || !isWeb) { ··· 66 68 onPress={() => { 67 69 requestSwitchToAccount({requestedAccount: 'new'}) 68 70 }} 69 - label="Create account" 71 + label={_(msg`Create account`)} 70 72 size="small" 71 73 variant="solid" 72 74 color="primary">