Skip to content
Permalink
Browse files

Merge pull request LedgerHQ#1958 from valpinkman/fix/wording-firmware…

…-update

fix wording in firmware update
  • Loading branch information...
gre committed Apr 29, 2019
2 parents 72aa28e + fd8e0cd commit ae13a951e6728661c04f6c545f660304427c3b02
@@ -20,7 +20,7 @@ import ExclamationCircleThin from 'icons/ExclamationCircleThin'
import Modal from './index'
import ModalBody from './ModalBody'
import {
generic,
bootloader,
mcuNotGenuine,
followDeviceRepair,
repairProcessing,
@@ -161,7 +161,7 @@ class RepairModal extends PureComponent<Props, *> {
}

nonTranslatable: { [string]: string } = {
generic,
generic: bootloader,
mcuNotGenuine,
followDeviceRepair,
}
@@ -7,14 +7,14 @@ import styled from 'styled-components'
import { i } from 'helpers/staticPath'
import firmwareMain from 'commands/firmwareMain'

import { bootloader } from 'config/nontranslatables'
import TrackPage from 'analytics/TrackPage'
import Box from 'components/base/Box'
import Text from 'components/base/Text'

import type { StepProps } from '../'

import Installing from '../Installing'
import { repairProcessing } from '../../../../config/nontranslatables'

const Container = styled(Box).attrs({
alignItems: 'center',
@@ -87,7 +87,7 @@ class StepFlashMcu extends PureComponent<Props, State> {
<Fragment>
<Box mx={7}>
<Text ff="Open Sans|Regular" align="center" color="smoke">
<Bullet>{'1.'}</Bullet>
<Bullet>{'1. '}</Bullet>
{t('manager.modal.mcuFirst')}
</Text>
<img
@@ -99,11 +99,11 @@ class StepFlashMcu extends PureComponent<Props, State> {
<Separator my={6} />
<Box mx={7}>
<Text ff="Open Sans|Regular" align="center" color="smoke">
<Bullet>{'2.'}</Bullet>
<Bullet>{'2. '}</Bullet>
<Trans i18nKey="manager.modal.mcuSecond">
{'Press the left button and hold it while you reconnect the USB cable until the '}
<Text ff="Open Sans|SemiBold" color="dark">
{repairProcessing}
{bootloader}
</Text>
{' screen appears'}
</Trans>
@@ -8,7 +8,7 @@ export const seedWord1 = 'Word #1'
export const seedNext = 'Next'
export const seedConfirmation = 'Confirmation'

export const generic = 'Bootloader'
export const bootloader = 'Bootloader'
export const mcuNotGenuine = 'MCU not genuine'
export const followDeviceRepair = 'Follow device repair instructions'

0 comments on commit ae13a95

Please sign in to comment.
You can’t perform that action at this time.