Revert "Reapply "Modify hosting provider text for better localization" (#7928)"

This reverts commit 8dfdee80bb.
This commit is contained in:
Paul Frazee
2025-04-08 17:02:44 -07:00
committed by GitHub
parent a59fb91a99
commit 0f8bc3b6fc
+8 -6
View File
@@ -41,10 +41,10 @@ export function HostingProvider({
onSelect={onSelectServiceUrl} onSelect={onSelectServiceUrl}
/> />
{minimal ? ( {minimal ? (
<View style={[a.flex_row, a.align_center, a.flex_wrap]}> <View style={[a.flex_row, a.align_center, a.flex_wrap, a.gap_xs]}>
<Text style={[a.text_sm, t.atoms.text_contrast_medium]}> <Text style={[a.text_sm, t.atoms.text_contrast_medium]}>
<Trans> <Trans>You are creating an account on</Trans>
You are creating an account on{' '} </Text>
<Button <Button
label={toNiceDomain(serviceUrl)} label={toNiceDomain(serviceUrl)}
accessibilityHint={_(msg`Changes hosting provider`)} accessibilityHint={_(msg`Changes hosting provider`)}
@@ -52,14 +52,16 @@ export function HostingProvider({
variant="ghost" variant="ghost"
color="secondary" color="secondary"
size="tiny" size="tiny"
style={[a.px_xs, {margin: tokens.space.xs * -1}]}> style={[
a.px_xs,
{marginHorizontal: tokens.space.xs * -1},
{paddingVertical: 0},
]}>
<ButtonText style={[a.text_sm]}> <ButtonText style={[a.text_sm]}>
{toNiceDomain(serviceUrl)} {toNiceDomain(serviceUrl)}
</ButtonText> </ButtonText>
<ButtonIcon icon={PencilIcon} /> <ButtonIcon icon={PencilIcon} />
</Button> </Button>
</Trans>
</Text>
</View> </View>
) : ( ) : (
<Button <Button