about summary refs log tree commit diff
path: root/src/components/forms/HostingProvider.tsx
diff options
context:
space:
mode:
authorMinseo Lee <itoupluk427@gmail.com>2025-02-27 00:36:31 +0900
committerGitHub <noreply@github.com>2025-02-26 07:36:31 -0800
commitec75cbc01f2489f6a97203142cdb6e4788a519a8 (patch)
treeab584029bee6738721d5ee770f8d4c2003436cf5 /src/components/forms/HostingProvider.tsx
parentb924c53b23a86252328cf4304f1d3050f87a2c41 (diff)
downloadvoidsky-ec75cbc01f2489f6a97203142cdb6e4788a519a8.tar.zst
Modify hosting provider text for better localization (#7847)
* Update HostingProvider.tsx

* Update src/components/forms/HostingProvider.tsx

---------

Co-authored-by: Samuel Newman <mozzius@protonmail.com>
Diffstat (limited to 'src/components/forms/HostingProvider.tsx')
-rw-r--r--src/components/forms/HostingProvider.tsx30
1 files changed, 16 insertions, 14 deletions
diff --git a/src/components/forms/HostingProvider.tsx b/src/components/forms/HostingProvider.tsx
index ff5062079..22fbfb2aa 100644
--- a/src/components/forms/HostingProvider.tsx
+++ b/src/components/forms/HostingProvider.tsx
@@ -43,21 +43,23 @@ export function HostingProvider({
       {minimal ? (
         <View style={[a.flex_row, a.align_center, a.flex_wrap]}>
           <Text style={[a.text_sm, t.atoms.text_contrast_medium]}>
-            <Trans>You are creating an account on </Trans>
+            <Trans>
+              You are creating an account on{' '}
+              <Button
+                label={toNiceDomain(serviceUrl)}
+                accessibilityHint={_(msg`Changes hosting provider`)}
+                onPress={onPressSelectService}
+                variant="ghost"
+                color="secondary"
+                size="tiny"
+                style={[a.px_xs, {marginHorizontal: tokens.space.xs * -1}]}>
+                <ButtonText style={[a.text_sm]}>
+                  {toNiceDomain(serviceUrl)}
+                </ButtonText>
+                <ButtonIcon icon={PencilIcon} />
+              </Button>
+            </Trans>
           </Text>
-          <Button
-            label={toNiceDomain(serviceUrl)}
-            accessibilityHint={_(msg`Changes hosting provider`)}
-            onPress={onPressSelectService}
-            variant="ghost"
-            color="secondary"
-            size="tiny"
-            style={[a.px_xs, {marginLeft: tokens.space.xs * -1}]}>
-            <ButtonText style={[a.text_sm]}>
-              {toNiceDomain(serviceUrl)}
-            </ButtonText>
-            <ButtonIcon icon={PencilIcon} />
-          </Button>
         </View>
       ) : (
         <Button