Wrap Trans better

This commit is contained in:
Eric Bailey
2024-12-12 11:42:25 -06:00
parent 9dcc26d993
commit 965b20229c
@@ -411,7 +411,8 @@ function DialogInner({
<Text <Text
style={[a.text_sm, a.leading_tight, t.atoms.text_contrast_medium]} style={[a.text_sm, a.leading_tight, t.atoms.text_contrast_medium]}
numberOfLines={1}> numberOfLines={1}>
<Trans>By</Trans>{' '} <Trans>
By{' '}
<InlineLinkText <InlineLinkText
label={_(msg`View ${info.creatorHandle}'s profile`)} label={_(msg`View ${info.creatorHandle}'s profile`)}
to={makeProfileLink({ to={makeProfileLink({
@@ -428,6 +429,7 @@ function DialogInner({
onPress={() => control.close()}> onPress={() => control.close()}>
{sanitizeHandle(info.creatorHandle, '@')} {sanitizeHandle(info.creatorHandle, '@')}
</InlineLinkText> </InlineLinkText>
</Trans>
</Text> </Text>
</View> </View>