Skip to content

Commit ab9382a

Browse files
committed
Merge branch 'frontend-translation-update-III'
2 parents 64db2dd + 99d9e92 commit ab9382a

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

frontends/web/src/components/terms/moonpay-terms.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
import { ChangeEvent } from 'react';
1919
import { useTranslation } from 'react-i18next';
20-
import { isBitcoinBased } from '@/routes/account/utils';
20+
import { isBitcoinOnly } from '@/routes/account/utils';
2121
import { Button, Checkbox } from '@/components/forms';
2222
import { setConfig } from '@/utils/config';
2323
import { IAccount } from '@/api/account';
@@ -37,7 +37,7 @@ export const MoonpayTerms = ({ account, onAgreedTerms }: TProps) => {
3737
};
3838

3939
const coinCode = account.coinCode.toUpperCase();
40-
const isBitcoin = isBitcoinBased(account.coinCode);
40+
const isBitcoin = isBitcoinOnly(account.coinCode);
4141

4242
return (
4343
<div className={style.disclaimerContainer}>
@@ -86,7 +86,7 @@ export const MoonpayTerms = ({ account, onAgreedTerms }: TProps) => {
8686
{t('buy.info.disclaimer.security.title')}
8787
</h2>
8888
<p>
89-
{t('buy.info.disclaimer.security.description', {
89+
{t('buy.info.disclaimer.security.descriptionGeneric', {
9090
context: isBitcoin ? 'bitcoin' : 'crypto'
9191
})}
9292
</p>
@@ -99,7 +99,7 @@ export const MoonpayTerms = ({ account, onAgreedTerms }: TProps) => {
9999
{t('buy.info.disclaimer.protection.title')}
100100
</h2>
101101
<p>
102-
{t('buy.info.disclaimer.protection.description', {
102+
{t('buy.info.disclaimer.protection.descriptionGeneric', {
103103
context: isBitcoin ? 'bitcoin' : 'crypto'
104104
})}
105105
</p>

frontends/web/src/locales/en/app.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -482,15 +482,11 @@
482482
"protection": {
483483
"descriptionGeneric_bitcoin": "The BitBoxApp does not collect any data when buying Bitcoin, the incoming funds are treated like a regular transaction. However partner exchanges need to collect some information to operate. Please refer to their respective privacy policies to see in more detail how the data is handled.",
484484
"descriptionGeneric_crypto": "The BitBoxApp does not collect any data when buying crypto, the incoming funds are treated like a regular transaction. However partner exchanges need to collect some information to operate. Please refer to their respective privacy policies to see in more detail how the data is handled.",
485-
"description_bitcoin": "The BitBoxApp does not collect any data when buying Bitcoin, the incoming funds are treated like a regular transaction. MoonPay needs to collect some personal data to operate. Their Privacy Policy explains in detail how that data is handled.",
486-
"description_crypto": "The BitBoxApp does not collect any data when buying crypto, the incoming funds are treated like a regular transaction. MoonPay needs to collect some personal data to operate. Their Privacy Policy explains in detail how that data is handled.",
487485
"title": "Data protection"
488486
},
489487
"security": {
490488
"descriptionGeneric_bitcoin": "When you buy Bitcoin via a partner exchange, you are using an external service. This service is out of scope of the BitBox02 security threat model and relies on the safety and security of the environment which the BitBoxApp software is running in.",
491489
"descriptionGeneric_crypto": "When you buy crypto via a partner exchange, you are using an external service. This service is out of scope of the BitBox02 security threat model and relies on the safety and security of the environment which the BitBoxApp software is running in.",
492-
"description_bitcoin": "When you buy Bitcoin via MoonPay, you are using an external service. This service is out of scope of the BitBox02 security threat model and relies on the safety and security of the environment which the BitBoxApp software is running in.",
493-
"description_crypto": "When you buy crypto via MoonPay, you are using an external service. This service is out of scope of the BitBox02 security threat model and relies on the safety and security of the environment which the BitBoxApp software is running in.",
494490
"link": "Security threat model",
495491
"title": "Security model"
496492
},

0 commit comments

Comments
 (0)