diff options
author | Takayuki KUSANO <65759+tkusano@users.noreply.github.com> | 2024-10-06 08:12:30 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-05 16:12:30 -0700 |
commit | 1118fd68838658981ce692efea87030696f3323a (patch) | |
tree | a0b28cc2ea1dcde39e369fc7b3d756e98ce8fd3a /src/components/moderation/LabelsOnMeDialog.tsx | |
parent | 76d63f9967a9a59193652487d2a10f41eac22268 (diff) | |
download | voidsky-1118fd68838658981ce692efea87030696f3323a.tar.zst |
Enclose the entire message in Trans tags for translation (#5616)
Diffstat (limited to 'src/components/moderation/LabelsOnMeDialog.tsx')
-rw-r--r-- | src/components/moderation/LabelsOnMeDialog.tsx | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/src/components/moderation/LabelsOnMeDialog.tsx b/src/components/moderation/LabelsOnMeDialog.tsx index bf0d1905e..34fff5a8a 100644 --- a/src/components/moderation/LabelsOnMeDialog.tsx +++ b/src/components/moderation/LabelsOnMeDialog.tsx @@ -242,18 +242,20 @@ function AppealForm({ <Trans>Appeal "{strings.name}" label</Trans> </Text> <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> - <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 style={[a.my_md]}> <Dialog.Input |