Browse Source

wrapping all strings in the js files in {} with quotes

master
Anastasia Poupeney 7 years ago
parent
commit
8ea85e832e
  1. 4
      src/components/AccountPage/EmptyStateAccount.js
  2. 4
      src/components/ManagerPage/FlashMcu.js
  3. 2
      src/components/Onboarding/helperComponents.js
  4. 4
      src/components/Onboarding/steps/SelectPIN/SelectPINblue.js
  5. 4
      src/components/Onboarding/steps/SelectPIN/SelectPINnano.js
  6. 4
      src/components/Onboarding/steps/SelectPIN/SelectPINrestoreBlue.js
  7. 8
      src/components/Onboarding/steps/SelectPIN/SelectPINrestoreNano.js
  8. 10
      src/components/Onboarding/steps/WriteSeed/WriteSeedBlue.js
  9. 12
      src/components/Onboarding/steps/WriteSeed/WriteSeedNano.js
  10. 12
      src/components/Onboarding/steps/WriteSeed/WriteSeedRestore.js

4
src/components/AccountPage/EmptyStateAccount.js

@ -43,11 +43,11 @@ class EmptyStateAccount extends PureComponent<Props, *> {
<Title>{t('app:account.emptyState.title')}</Title>
<Description>
<Trans i18nKey="app:account.emptyState.desc">
Make sure the
{'Make sure the'}
<Text ff="Open Sans|SemiBold" color="dark">
{account.currency.name}
</Text>
app is installed to receive funds.
{'app is installed to receive funds.'}
</Trans>
</Description>
<Button mt={3} padded primary onClick={() => openModal(MODAL_RECEIVE, { account })}>

4
src/components/ManagerPage/FlashMcu.js

@ -40,8 +40,8 @@ class FlashMcu extends PureComponent<Props, State> {
render() {
return (
<div>
<h1>Flashing MCU</h1>
<button onClick={this.flashMCU}>flash</button>
<h1>{'Flashing MCU'}</h1>
<button onClick={this.flashMCU}>{'flash'}</button>
</div>
)
}

2
src/components/Onboarding/helperComponents.js

@ -56,7 +56,7 @@ export const OnboardingFooterWrapper = styled(Box).attrs({
// INSTRUCTION LIST
type StepType = {
icon: any,
desc: string,
desc: any,
}
export function OptionRow({ step, ...p }: { step: StepType }) {
const { icon, desc } = step

4
src/components/Onboarding/steps/SelectPIN/SelectPINblue.js

@ -33,9 +33,9 @@ class SelectPIN extends PureComponent<Props, *> {
desc: (
<Box style={{ display: 'block' }}>
<Trans i18nKey="onboarding:selectPIN.initialize.instructions.blue.step2">
Tap on
{'Tap on'}
<Text ff="Open Sans|SemiBold" color="dark">
Configure as new device
{'Configure as new device'}
</Text>
</Trans>
</Box>

4
src/components/Onboarding/steps/SelectPIN/SelectPINnano.js

@ -38,9 +38,9 @@ class SelectPINnano extends PureComponent<Props, *> {
desc: (
<Box style={{ display: 'block' }}>
<Trans i18nKey="onboarding:selectPIN.initialize.instructions.nano.step3">
Press the right button to select
{'Press the right button to select'}
<Text ff="Open Sans|SemiBold" color="dark">
Configure as new device
{'Configure as new device'}
</Text>
</Trans>
</Box>

4
src/components/Onboarding/steps/SelectPIN/SelectPINrestoreBlue.js

@ -33,9 +33,9 @@ class SelectPINrestoreBlue extends PureComponent<Props, *> {
desc: (
<Box style={{ display: 'block' }}>
<Trans i18nKey="onboarding:selectPIN.restore.instructions.blue.step2">
Tap on
{'Tap on'}
<Text ff="Open Sans|SemiBold" color="dark">
Restore configuration
{'Restore configuration'}
</Text>
</Trans>
</Box>

8
src/components/Onboarding/steps/SelectPIN/SelectPINrestoreNano.js

@ -38,13 +38,13 @@ class SelectPINrestoreNano extends PureComponent<Props, *> {
desc: (
<Box style={{ display: 'block' }}>
<Trans i18nKey="onboarding:selectPIN.restore.instructions.nano.step3">
Press the left button to cancel
{'Press the left button to cancel'}
<Text ff="Open Sans|SemiBold" color="dark">
Initialize as new device?
{'Initialize as new device?'}
</Text>
Press the right button to select
{'Press the right button to select'}
<Text ff="Open Sans|SemiBold" color="dark">
Restore configuration?
{'Restore configuration?'}
</Text>
</Trans>
</Box>

10
src/components/Onboarding/steps/WriteSeed/WriteSeedBlue.js

@ -39,15 +39,15 @@ class WriteSeedBlue extends PureComponent<Props, *> {
desc: (
<Box style={{ display: 'block' }}>
<Trans i18nKey="onboarding:writeSeed.initialize.blue.step2">
Tap
{'Tap'}
<Text ff="Open Sans|SemiBold" color="dark">
Next
{'Next'}
</Text>
to move to the next words. Repeat the process until the
{'to move to the next words. Repeat the process until the'}
<Text ff="Open Sans|SemiBold" color="dark">
Confirmation
{'Confirmation'}
</Text>
screen appears.
{'screen appears.'}
</Trans>
</Box>
),

12
src/components/Onboarding/steps/WriteSeed/WriteSeedNano.js

@ -34,11 +34,11 @@ class WriteSeedNano extends PureComponent<Props, *> {
desc: (
<Box style={{ display: 'block' }}>
<Trans i18nKey="onboarding:writeSeed.initialize.nano.step1">
Copy the word displayed below
{'Copy the word displayed below'}
<Text ff="Open Sans|SemiBold" color="dark">
Word #1
{'Word #1'}
</Text>
in position 1 on a blank Recovery sheet.
{'in position 1 on a blank Recovery sheet.'}
</Trans>
</Box>
),
@ -49,11 +49,11 @@ class WriteSeedNano extends PureComponent<Props, *> {
desc: (
<Box style={{ display: 'block' }}>
<Trans i18nKey="onboarding:writeSeed.initialize.nano.step2">
Press the right button to display
{'Press the right button to display'}
<Text ff="Open Sans|SemiBold" color="dark">
Word #2
{'Word #2'}
</Text>
and repeat the process until all 24 words are copied on the Recovery sheet.
{'and repeat the process until all 24 words are copied on the Recovery sheet.'}
</Trans>
</Box>
),

12
src/components/Onboarding/steps/WriteSeed/WriteSeedRestore.js

@ -42,11 +42,11 @@ class WriteSeedRestore extends PureComponent<Props, *> {
desc: (
<Box style={{ display: 'block' }}>
<Trans i18nKey="onboarding:writeSeed.restore.nano.step2">
Select the first letters of
{'Select the first letters of'}
<Text ff="Open Sans|SemiBold" color="dark">
Word #1
{'Word #1'}
</Text>
by pressing the right or left button. Press both buttons to confirm each letter.
{'by pressing the right or left button. Press both buttons to confirm each letter.'}
</Trans>
</Box>
),
@ -57,11 +57,11 @@ class WriteSeedRestore extends PureComponent<Props, *> {
desc: (
<Box style={{ display: 'block' }}>
<Trans i18nKey="onboarding:writeSeed.restore.nano.step3">
Select
{'Select'}
<Text ff="Open Sans|SemiBold" color="dark">
Word #1
{'Word #1'}
</Text>
from the suggested words. Press both buttons to continue.
{'from the suggested words. Press both buttons to continue.'}
</Trans>
</Box>
),

Loading…
Cancel
Save