Improve translations

This commit is contained in:
Eric Bailey
2025-02-13 17:29:53 -06:00
parent 848793b4d4
commit 6f82dee9cf
2 changed files with 23 additions and 20 deletions
+11 -11
View File
@@ -169,17 +169,17 @@ function Label({
<Text <Text
style={[a.flex_1, a.leading_snug, t.atoms.text_contrast_medium]} style={[a.flex_1, a.leading_snug, t.atoms.text_contrast_medium]}
numberOfLines={1}> numberOfLines={1}>
<Text style={[a.leading_snug, t.atoms.text_contrast_medium]}> <Trans>
<Trans>Source: </Trans>{' '} Source:{' '}
</Text> <InlineLinkText
<InlineLinkText label={sourceName}
label={sourceName} to={makeProfileLink(
to={makeProfileLink( labeler ? labeler.creator : {did: label.src, handle: ''},
labeler ? labeler.creator : {did: label.src, handle: ''}, )}
)} onPress={() => control.close()}>
onPress={() => control.close()}> {sourceName}
{sourceName} </InlineLinkText>
</InlineLinkText> </Trans>
</Text> </Text>
{label.exp && ( {label.exp && (
<View> <View>
@@ -177,15 +177,18 @@ function ModerationDetailsDialogInner({
t.atoms.text_contrast_medium, t.atoms.text_contrast_medium,
]} ]}
numberOfLines={1}> numberOfLines={1}>
<Text style={[a.leading_snug, t.atoms.text_contrast_medium]}> <Trans>
<Trans>Source: </Trans>{' '} Source:{' '}
</Text> <InlineLinkText
<InlineLinkText label={sourceName}
label={sourceName} to={makeProfileLink({
to={makeProfileLink({did: modcause.label.src, handle: ''})} did: modcause.label.src,
onPress={() => control.close()}> handle: '',
{sourceName} })}
</InlineLinkText> onPress={() => control.close()}>
{sourceName}
</InlineLinkText>
</Trans>
</Text> </Text>
{modcause.label.exp && ( {modcause.label.exp && (
<View> <View>