From ca22f46e8dc27b9be78bbb1b001a3c2be89bbea9 Mon Sep 17 00:00:00 2001 From: blockdylanb <57680122+blockdylanb@users.noreply.github.com> Date: Tue, 12 Jan 2021 14:59:54 -0800 Subject: [PATCH] fix(bank linking): change copy for error flyout --- .../src/assets/locales/index.d.ts | 6 ++++-- .../LinkBankStatus/template.error.general.tsx | 17 ++++++++++------- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/packages/blockchain-wallet-v4-frontend/src/assets/locales/index.d.ts b/packages/blockchain-wallet-v4-frontend/src/assets/locales/index.d.ts index 5d9e7ab1f18..3eb22797ba7 100644 --- a/packages/blockchain-wallet-v4-frontend/src/assets/locales/index.d.ts +++ b/packages/blockchain-wallet-v4-frontend/src/assets/locales/index.d.ts @@ -321,9 +321,10 @@ type MessagesType = { 'copy.amount_sent': 'Amount Sent' 'copy.balance': 'Balance' 'copy.bank_linked_error': 'Please try linking your bank again. If this keeps happening, please' - 'copy.bank_linked_error_alreadylinked': 'To link this bank, please log into your other Wallets and remove it. If this doesnt look right to you, please' + 'copy.bank_linked_error_alreadylinked1': 'Log into your Exchange account and link your Wallet. This will connect your bank. If any of this doesn’t look right to you, please' + 'copy.bank_linked_error_alreadylinked2': 'immediately.' 'copy.bank_linked_error_yourbank': 'We noticed the names don’t match. The bank you link must have a matching legal first & last name as your Blockchain.com Account.' - 'copy.bank_linked_error_title_alreadylinked': 'Sorry,that bank account is linked to the maximum number of Blockchain Wallets.' + 'copy.bank_linked_error_title_alreadylinked': 'This bank has already been linked to your account.' 'copy.bank_linked_error_title_yourbank': 'Is this your bank?' 'copy.bank_linked_error_checkingtitle': 'Please link a Checking Account.' 'copy.bank_linked_error_checking': 'Your bank may charge you extra fees if you buy cyrpto without a checking account.' @@ -334,6 +335,7 @@ type MessagesType = { 'copy.coin_network_fee': '{coin} Network Fee' 'copy.confirm_withdrawal': 'Confirm Withdrawal' 'copy.confirm_swap': 'Confirm Swap' + 'copy.contact_us': 'contact us' 'copy.complete': 'Complete' 'copy.crypto_selection_empty.buybank': "Send cash directly from your bank. Once received, we'll use that balance to buy the crypto of your choice" 'copy.crypto_selection_empty.buybanktitle': 'Buy with a Bank Deposit' diff --git a/packages/blockchain-wallet-v4-frontend/src/modals/SimpleBuy/LinkBankStatus/template.error.general.tsx b/packages/blockchain-wallet-v4-frontend/src/modals/SimpleBuy/LinkBankStatus/template.error.general.tsx index 4d923749c3c..3110f3f8e06 100644 --- a/packages/blockchain-wallet-v4-frontend/src/modals/SimpleBuy/LinkBankStatus/template.error.general.tsx +++ b/packages/blockchain-wallet-v4-frontend/src/modals/SimpleBuy/LinkBankStatus/template.error.general.tsx @@ -58,7 +58,7 @@ const BankLinkError: React.FC = props => { {bankStatus === 'BANK_TRANSFER_ACCOUNT_ALREADY_LINKED' ? ( ) : bankStatus === 'BANK_TRANSFER_ACCOUNT_NAME_MISMATCH' ? ( = props => { {bankStatus === 'BANK_TRANSFER_ACCOUNT_ALREADY_LINKED' ? ( <> {' '} = props => { href='https://support.blockchain.com/hc/en-us/requests/new?ticket_form_id=360000190032' > - - {'.'} + {' '} + ) : bankStatus === 'BANK_TRANSFER_ACCOUNT_NAME_MISMATCH' ? ( <>