Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Enclose the entire message in Trans tags for translation (#5616)

authored by

Takayuki KUSANO and committed by
GitHub
1118fd68 76d63f99

+23 -19
+13 -11
src/components/moderation/LabelsOnMeDialog.tsx
··· 242 242 <Trans>Appeal "{strings.name}" label</Trans> 243 243 </Text> 244 244 <Text style={[a.text_md, a.leading_snug]}> 245 - <Trans>This appeal will be sent to</Trans>{' '} 245 + <Trans> 246 + This appeal will be sent to{' '} 247 + <InlineLinkText 248 + label={sourceName} 249 + to={makeProfileLink( 250 + labeler ? labeler.creator : {did: label.src, handle: ''}, 251 + )} 252 + onPress={() => control.close()} 253 + style={[a.text_md, a.leading_snug]}> 254 + {sourceName} 255 + </InlineLinkText> 256 + . 257 + </Trans> 246 258 </Text> 247 - <InlineLinkText 248 - label={sourceName} 249 - to={makeProfileLink( 250 - labeler ? labeler.creator : {did: label.src, handle: ''}, 251 - )} 252 - onPress={() => control.close()} 253 - style={[a.text_md, a.leading_snug]}> 254 - {sourceName} 255 - </InlineLinkText> 256 - <Text style={[a.text_md, a.leading_snug]}>.</Text> 257 259 </View> 258 260 <View style={[a.my_md]}> 259 261 <Dialog.Input
+10 -8
src/components/moderation/ModerationDetailsDialog.tsx
··· 148 148 ) : ( 149 149 <> 150 150 <Text style={[t.atoms.text, a.text_md, a.leading_snug, a.mt_lg]}> 151 - <Trans>This label was applied by </Trans> 151 + <Trans> 152 + This label was applied by{' '} 153 + <InlineLinkText 154 + label={desc.source || _(msg`an unknown labeler`)} 155 + to={makeProfileLink({did: modcause.label.src, handle: ''})} 156 + onPress={() => control.close()} 157 + style={a.text_md}> 158 + {desc.source || _(msg`an unknown labeler`)} 159 + </InlineLinkText> 160 + </Trans> 152 161 </Text> 153 - <InlineLinkText 154 - label={desc.source || _(msg`an unknown labeler`)} 155 - to={makeProfileLink({did: modcause.label.src, handle: ''})} 156 - onPress={() => control.close()} 157 - style={a.text_md}> 158 - {desc.source || _(msg`an unknown labeler`)} 159 - </InlineLinkText> 160 162 </> 161 163 )} 162 164 </View>