Skip to content

Commit

Permalink
fix(bank linking): change copy for error flyout
Browse files Browse the repository at this point in the history
  • Loading branch information
blockdylanb committed Jan 12, 2021
1 parent 172a99f commit ca22f46
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
Expand Up @@ -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.'
Expand All @@ -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'
Expand Down
Expand Up @@ -58,7 +58,7 @@ const BankLinkError: React.FC<Props> = props => {
{bankStatus === 'BANK_TRANSFER_ACCOUNT_ALREADY_LINKED' ? (
<FormattedMessage
id='copy.bank_linked_error_title_alreadylinked'
defaultMessage='Sorry,that bank account is linked to the maximum number of Blockchain Wallets.'
defaultMessage='This bank has already been linked to your account.'
/>
) : bankStatus === 'BANK_TRANSFER_ACCOUNT_NAME_MISMATCH' ? (
<FormattedMessage
Expand All @@ -76,8 +76,8 @@ const BankLinkError: React.FC<Props> = props => {
{bankStatus === 'BANK_TRANSFER_ACCOUNT_ALREADY_LINKED' ? (
<>
<FormattedMessage
id='copy.bank_linked_error_alreadylinked'
defaultMessage='To link this bank, please log into your other Wallets and remove it. If this doesnt look right to you, please'
id='copy.bank_linked_error_alreadylinked1'
defaultMessage='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'
/>{' '}
<Link
size='16px'
Expand All @@ -86,11 +86,14 @@ const BankLinkError: React.FC<Props> = props => {
href='https://support.blockchain.com/hc/en-us/requests/new?ticket_form_id=360000190032'
>
<FormattedMessage
id='buttons.contact_support'
defaultMessage='Contact Support'
id='copy.contact_us'
defaultMessage='contact us'
/>
</Link>
{'.'}
</Link>{' '}
<FormattedMessage
id='copy.bank_linked_error_alreadylinked2'
defaultMessage='immediately.'
/>
</>
) : bankStatus === 'BANK_TRANSFER_ACCOUNT_NAME_MISMATCH' ? (
<>
Expand Down

0 comments on commit ca22f46

Please sign in to comment.