Browse Source

wording refactor

gre-patch-1
Juan Cortes Ross 6 years ago
parent
commit
14f9ebf5e5
No known key found for this signature in database GPG Key ID: 34A99C03E9455EB8
  1. 12
      src/components/Onboarding/steps/SelectPIN/SelectPINnano.js
  2. 14
      src/components/Onboarding/steps/SelectPIN/SelectPINrestoreNano.js
  3. 4
      static/i18n/en/app.json

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

@ -30,14 +30,9 @@ class SelectPINnano extends PureComponent<Props, *> {
{
key: 'step2',
icon: <IconOptionRow>{'2.'}</IconOptionRow>,
desc: t('onboarding.selectPIN.initialize.instructions.nano.step2'),
},
{
key: 'step3',
icon: <IconOptionRow>{'3.'}</IconOptionRow>,
desc: (
<Box style={{ display: 'block' }}>
<Trans i18nKey="onboarding.selectPIN.initialize.instructions.nano.step3">
<Trans i18nKey="onboarding.selectPIN.initialize.instructions.nano.step2">
{'Press the right button to select'}
<Text ff="Open Sans|SemiBold" color="dark">
{'Configure as new device'}
@ -46,6 +41,11 @@ class SelectPINnano extends PureComponent<Props, *> {
</Box>
),
},
{
key: 'step3',
icon: <IconOptionRow>{'3.'}</IconOptionRow>,
desc: t('onboarding.selectPIN.initialize.instructions.nano.step3'),
},
{
key: 'step4',
icon: <IconOptionRow>{'4.'}</IconOptionRow>,

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

@ -30,19 +30,14 @@ class SelectPINrestoreNano extends PureComponent<Props, *> {
{
key: 'step2',
icon: <IconOptionRow>{'2.'}</IconOptionRow>,
desc: t('onboarding.selectPIN.restore.instructions.nano.step2'),
},
{
key: 'step3',
icon: <IconOptionRow>{'3.'}</IconOptionRow>,
desc: (
<Box style={{ display: 'block' }}>
<Trans i18nKey="onboarding.selectPIN.restore.instructions.nano.step3">
<Trans i18nKey="onboarding.selectPIN.restore.instructions.nano.step2">
{'Press the left button to cancel'}
<Text ff="Open Sans|SemiBold" color="dark">
{'Initialize as new device?'}
</Text>
{'Press the right button to select'}
{'Then press the right button to select'}
<Text ff="Open Sans|SemiBold" color="dark">
{'Restore configuration?'}
</Text>
@ -50,6 +45,11 @@ class SelectPINrestoreNano extends PureComponent<Props, *> {
</Box>
),
},
{
key: 'step3',
icon: <IconOptionRow>{'3.'}</IconOptionRow>,
desc: t('onboarding.selectPIN.restore.instructions.nano.step3'),
},
{
key: 'step4',
icon: <IconOptionRow>{'4.'}</IconOptionRow>,

4
static/i18n/en/app.json

@ -539,7 +539,7 @@
"instructions": {
"nano": {
"step1": "Connect the Ledger Nano S to your computer. Press both buttons to begin.",
"step2": "Press the right button to select *Configure as new device?*.",
"step2": "Press the right button to select <1><0>Configure as new device?.</0></1>",
"step3": "Press the left or right button to select a digit. Press both buttons to validate.",
"step4": "Select ✓ to confirm your PIN code. Select ⬅ to erase a digit."
},
@ -555,7 +555,7 @@
"instructions": {
"nano": {
"step1": "Connect the Ledger Nano S to your computer. Press both buttons to begin.",
"step2": "Press the left button to cancel *Initialize as new device?*. Then press the right button to select *Restore configuration?*.",
"step2": "Press the left button to cancel <1><0>Initialize as new device?</0></1>. Then press the right button to select <3><0>Restore configuration?</0></3>.",
"step3": "Press the left or right button to select a digit. Press both buttons to validate.",
"step4": "Select ✓ to confirm your PIN code. Select ⬅ to erase a digit."
},

Loading…
Cancel
Save