diff --git a/ts/components/dialog/user-settings/pages/user-pro/ProNonOriginatingPage.tsx b/ts/components/dialog/user-settings/pages/user-pro/ProNonOriginatingPage.tsx index 3d2d251fd..efa2d8f61 100644 --- a/ts/components/dialog/user-settings/pages/user-pro/ProNonOriginatingPage.tsx +++ b/ts/components/dialog/user-settings/pages/user-pro/ProNonOriginatingPage.tsx @@ -192,7 +192,13 @@ function ProInfoBlockDeviceLinked() { ); } -function ProInfoBlockWebsite({ textElement }: { textElement: ReactNode }) { +function ProInfoBlockWebsite({ + textElement, + titleType, +}: { + textElement: ReactNode; + titleType: 'via' | 'onThe'; +}) { const { data } = useProBackendProDetailsLocal(); const storeOrPlatform = useStoreOrPlatformFromProvider(data); @@ -202,7 +208,7 @@ function ProInfoBlockWebsite({ textElement }: { textElement: ReactNode }) { textElement={ - {tr('viaStoreWebsite', { + {tr(titleType === 'via' ? 'viaStoreWebsite' : 'onPlatformWebsite', { platform: storeOrPlatform, })} @@ -305,6 +311,7 @@ function ProInfoBlockUpdate() { } /> } @@ -472,6 +483,7 @@ function ProInfoBlockRefundIOS() { } /> }