Browse Source
Merge pull request #615 from gre/fix-genuinecheck-error-precision
For better precision, all error should use TranslatedError
master
Meriadec Pillet
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
3 additions and
3 deletions
-
src/components/Onboarding/steps/GenuineCheck.js
-
static/i18n/en/onboarding.yml
|
|
@ -15,6 +15,7 @@ import FakeLink from 'components/base/FakeLink' |
|
|
|
import Button from 'components/base/Button' |
|
|
|
import RadioGroup from 'components/base/RadioGroup' |
|
|
|
import GenuineCheckModal from 'components/GenuineCheckModal' |
|
|
|
import TranslatedError from 'components/TranslatedError' |
|
|
|
|
|
|
|
import IconLedgerNanoError from 'icons/illustrations/LedgerNanoError' |
|
|
|
import IconLedgerBlueError from 'icons/illustrations/LedgerBlueError' |
|
|
@ -226,8 +227,8 @@ class GenuineCheck extends PureComponent<StepProps, State> { |
|
|
|
) : genuine.genuineCheckUnavailable ? ( |
|
|
|
<Box horizontal align="center" flow={1} color={colors.alertRed}> |
|
|
|
<IconCross size={16} /> |
|
|
|
<Box ff="Open Sans|Regular" fontSize={4}> |
|
|
|
{t('onboarding:genuineCheck.isGenuineUnavailable')} |
|
|
|
<Box ff="Open Sans|Regular" fontSize={4} style={{ maxWidth: '200px' }}> |
|
|
|
<TranslatedError error={genuine.genuineCheckUnavailable} /> |
|
|
|
<FakeLink |
|
|
|
color="alertRed" |
|
|
|
underline |
|
|
|
|
|
@ -87,7 +87,6 @@ genuineCheck: |
|
|
|
title: Check if your Ledger device is genuine |
|
|
|
desc: This is a long text, please replace it with the final wording once it’s done. Lorem ipsum dolor amet ledger lorem dolor |
|
|
|
isGenuinePassed: Your Nano S is genuine |
|
|
|
isGenuineUnavailable: Server problem |
|
|
|
buttons: |
|
|
|
genuineCheck: Genuine check |
|
|
|
contactSupport: Contact Support |
|
|
|