Skip to content

Commit

Permalink
fix wording in firmware update
Browse files Browse the repository at this point in the history
  • Loading branch information
valpinkman committed Apr 29, 2019
1 parent f40c836 commit fd8e0cd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/components/base/Modal/RepairModal.js
Expand Up @@ -20,7 +20,7 @@ import ExclamationCircleThin from 'icons/ExclamationCircleThin'
import Modal from './index'
import ModalBody from './ModalBody'
import {
generic,
bootloader,
mcuNotGenuine,
followDeviceRepair,
repairProcessing,
Expand Down Expand Up @@ -161,7 +161,7 @@ class RepairModal extends PureComponent<Props, *> {
}

nonTranslatable: { [string]: string } = {
generic,
generic: bootloader,
mcuNotGenuine,
followDeviceRepair,
}
Expand Down
Expand Up @@ -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',
Expand Down Expand Up @@ -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
Expand All @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion src/config/nontranslatables.js
Expand Up @@ -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'

Expand Down

0 comments on commit fd8e0cd

Please sign in to comment.