Enclose the entire message in Trans tags for translation (#5616)
This commit is contained in:
@@ -242,18 +242,20 @@ function AppealForm({
|
|||||||
<Trans>Appeal "{strings.name}" label</Trans>
|
<Trans>Appeal "{strings.name}" label</Trans>
|
||||||
</Text>
|
</Text>
|
||||||
<Text style={[a.text_md, a.leading_snug]}>
|
<Text style={[a.text_md, a.leading_snug]}>
|
||||||
<Trans>This appeal will be sent to</Trans>{' '}
|
<Trans>
|
||||||
|
This appeal will be sent to{' '}
|
||||||
|
<InlineLinkText
|
||||||
|
label={sourceName}
|
||||||
|
to={makeProfileLink(
|
||||||
|
labeler ? labeler.creator : {did: label.src, handle: ''},
|
||||||
|
)}
|
||||||
|
onPress={() => control.close()}
|
||||||
|
style={[a.text_md, a.leading_snug]}>
|
||||||
|
{sourceName}
|
||||||
|
</InlineLinkText>
|
||||||
|
.
|
||||||
|
</Trans>
|
||||||
</Text>
|
</Text>
|
||||||
<InlineLinkText
|
|
||||||
label={sourceName}
|
|
||||||
to={makeProfileLink(
|
|
||||||
labeler ? labeler.creator : {did: label.src, handle: ''},
|
|
||||||
)}
|
|
||||||
onPress={() => control.close()}
|
|
||||||
style={[a.text_md, a.leading_snug]}>
|
|
||||||
{sourceName}
|
|
||||||
</InlineLinkText>
|
|
||||||
<Text style={[a.text_md, a.leading_snug]}>.</Text>
|
|
||||||
</View>
|
</View>
|
||||||
<View style={[a.my_md]}>
|
<View style={[a.my_md]}>
|
||||||
<Dialog.Input
|
<Dialog.Input
|
||||||
|
|||||||
@@ -148,15 +148,17 @@ function ModerationDetailsDialogInner({
|
|||||||
) : (
|
) : (
|
||||||
<>
|
<>
|
||||||
<Text style={[t.atoms.text, a.text_md, a.leading_snug, a.mt_lg]}>
|
<Text style={[t.atoms.text, a.text_md, a.leading_snug, a.mt_lg]}>
|
||||||
<Trans>This label was applied by </Trans>
|
<Trans>
|
||||||
|
This label was applied by{' '}
|
||||||
|
<InlineLinkText
|
||||||
|
label={desc.source || _(msg`an unknown labeler`)}
|
||||||
|
to={makeProfileLink({did: modcause.label.src, handle: ''})}
|
||||||
|
onPress={() => control.close()}
|
||||||
|
style={a.text_md}>
|
||||||
|
{desc.source || _(msg`an unknown labeler`)}
|
||||||
|
</InlineLinkText>
|
||||||
|
</Trans>
|
||||||
</Text>
|
</Text>
|
||||||
<InlineLinkText
|
|
||||||
label={desc.source || _(msg`an unknown labeler`)}
|
|
||||||
to={makeProfileLink({did: modcause.label.src, handle: ''})}
|
|
||||||
onPress={() => control.close()}
|
|
||||||
style={a.text_md}>
|
|
||||||
{desc.source || _(msg`an unknown labeler`)}
|
|
||||||
</InlineLinkText>
|
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</View>
|
</View>
|
||||||
|
|||||||
Reference in New Issue
Block a user