Skip to content

Commit

Permalink
fix(flyout): correct flyout copy according to design
Browse files Browse the repository at this point in the history
  • Loading branch information
tbuchann committed May 5, 2020
1 parent 54216c5 commit 64dd152
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ type MessagesType = {
'buttons.hide': 'Hide'
'buttons.learn_more': 'Learn More'
'buttons.ok': 'OK'
'buttons.remove': 'Remove',
'buttons.show': 'Show',
'buttons.remove': 'Remove'
'buttons.show': 'Show'
'components.DateInputBox.placeholder.month': 'Month'
'components.EmailVerification.changeemail': 'Change Email'
'components.EmailVerification.checkinbox': 'Check your inbox. We sent an email to:'
Expand Down Expand Up @@ -1101,6 +1101,7 @@ type MessagesType = {
'modals.simplebuy.transferdetails.swift': 'Bank Code (SWIFT / BIC)'
'modals.simplebuy.underreview': 'ID Verification Pending'
'modals.simplebuy.unknown': 'Unknown Status'
'modals.simplebuy.unsupported-subcontent': "Currently, we don't support buying crypto with"
'modals.simplebuy.unsupported-subcontent-1': "Well this is awkward. We don't support buying crypto yet for"
'modals.simplebuy.unsupported-subcontent-2': "We'll send you an update when we do."
'modals.simplebuy.unsupported-title': 'Buy Crypto Coming Soon for'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,19 +76,28 @@ const Unsupported: React.FC<Props> = props => {
)}
</Title>
<Subcontent color='grey600' weight={500}>
<FormattedMessage
id='modals.simplebuy.unsupported-subcontent-1'
defaultMessage="Well this is awkward. We don't support buying crypto yet for"
/>{' '}
{paymentAccountEligible ? (
props.fiatCurrency
<>
<FormattedMessage
id='modals.simplebuy.unsupported-subcontent'
defaultMessage="Currently, we don't support buying crypto with"
/>{' '}
{props.fiatCurrency}
{'. '}
</>
) : (
<FormattedMessage
id='modals.simplebuy.fiatregion'
defaultMessage='your region'
/>
<>
<FormattedMessage
id='modals.simplebuy.unsupported-subcontent-1'
defaultMessage="Well this is awkward. We don't support buying crypto yet for"
/>{' '}
<FormattedMessage
id='modals.simplebuy.fiatregion'
defaultMessage='your region'
/>
{'. '}
</>
)}
{'. '}
<FormattedMessage
id='modals.simplebuy.unsupported-subcontent-2'
defaultMessage="We'll send you an update when we do."
Expand Down

0 comments on commit 64dd152

Please sign in to comment.