diff --git a/extension/src/popup/locales/en/translation.json b/extension/src/popup/locales/en/translation.json index da77242e11..a51503ac91 100644 --- a/extension/src/popup/locales/en/translation.json +++ b/extension/src/popup/locales/en/translation.json @@ -421,6 +421,9 @@ "The website <1>{{domain}} does not use an SSL certificate": { " For additional safety Freighter only works with websites that provide an SSL certificate": "The website <1>{{domain}} does not use an SSL certificate. For additional safety Freighter only works with websites that provide an SSL certificate." }, + "The website <1>{{url}} does not use an SSL certificate": { + " For additional safety Freighter only works with websites that provide an SSL certificate": "The website <1>{{url}} does not use an SSL certificate. For additional safety Freighter only works with websites that provide an SSL certificate." + }, "them noted to confirm you got them right": "them noted to confirm you got them right", "this alert by going to": "this alert by going to", "This asset has a balance": "This asset has a balance", diff --git a/extension/src/popup/locales/pt/translation.json b/extension/src/popup/locales/pt/translation.json index 26e68ba85e..c0d1c0b6e1 100644 --- a/extension/src/popup/locales/pt/translation.json +++ b/extension/src/popup/locales/pt/translation.json @@ -421,6 +421,9 @@ "The website <1>{{domain}} does not use an SSL certificate": { " For additional safety Freighter only works with websites that provide an SSL certificate": "The website <1>{{domain}} does not use an SSL certificate. For additional safety Freighter only works with websites that provide an SSL certificate." }, + "The website <1>{{url}} does not use an SSL certificate": { + " For additional safety Freighter only works with websites that provide an SSL certificate": "The website <1>{{url}} does not use an SSL certificate. For additional safety Freighter only works with websites that provide an SSL certificate." + }, "them noted to confirm you got them right": "them noted to confirm you got them right", "this alert by going to": "this alert by going to", "This asset has a balance": "This asset has a balance", diff --git a/extension/src/popup/views/SignBlob/index.tsx b/extension/src/popup/views/SignBlob/index.tsx index ad36c7f254..4dcbb4273b 100644 --- a/extension/src/popup/views/SignBlob/index.tsx +++ b/extension/src/popup/views/SignBlob/index.tsx @@ -38,7 +38,7 @@ export const SignBlob = () => { ); const blob = parsedSearchParam(location.search) as BlobToSign; - const { accountToSign, domain, isDomainListedAllowed } = blob; + const { accountToSign, domain, isDomainListedAllowed, url } = blob; const { allAccounts, @@ -72,7 +72,7 @@ export const SignBlob = () => { ); } - if (!domain.startsWith("https") && !isExperimentalModeEnabled) { + if (!url.startsWith("https") && !isExperimentalModeEnabled) { return ( window.close()} @@ -81,8 +81,8 @@ export const SignBlob = () => { header={t("WEBSITE CONNECTION IS NOT SECURE")} >

- - The website {{ domain }} does not use an SSL + + The website {{ url }} does not use an SSL certificate. For additional safety Freighter only works with websites that provide an SSL certificate.