Browse Source

Updated literals

gre-patch-1
Juan Cortes Ross 6 years ago
parent
commit
b3df6109fe
No known key found for this signature in database GPG Key ID: 34A99C03E9455EB8
  1. 33
      src/components/SettingsPage/sections/Export.js
  2. 8
      static/i18n/en/app.json

33
src/components/SettingsPage/sections/Export.js

@ -61,10 +61,11 @@ class SectionExport extends PureComponent<Props, State> {
desc: ( desc: (
<Box style={{ display: 'block' }}> <Box style={{ display: 'block' }}>
<Trans i18nKey="settings.export.modal.step1"> <Trans i18nKey="settings.export.modal.step1">
{'Go to'} {'Tap the'}
<Text ff="Open Sans|SemiBold" color="dark"> <Text ff="Open Sans|SemiBold" color="dark">
{'Accounts'} {'+'}
</Text> </Text>
{'button in Accounts'}
</Trans> </Trans>
</Box> </Box>
), ),
@ -75,11 +76,10 @@ class SectionExport extends PureComponent<Props, State> {
desc: ( desc: (
<Box style={{ display: 'block' }}> <Box style={{ display: 'block' }}>
<Trans i18nKey="settings.export.modal.step2"> <Trans i18nKey="settings.export.modal.step2">
{'Click on the'} {'Tap'}
<Text ff="Open Sans|SemiBold" color="dark"> <Text ff="Open Sans|SemiBold" color="dark">
{'+'} {'Import desktop accounts'}
</Text> </Text>
{'button'}
</Trans> </Trans>
</Box> </Box>
), ),
@ -89,26 +89,7 @@ class SectionExport extends PureComponent<Props, State> {
icon: <BulletRowIcon>{'3'}</BulletRowIcon>, icon: <BulletRowIcon>{'3'}</BulletRowIcon>,
desc: ( desc: (
<Box style={{ display: 'block' }}> <Box style={{ display: 'block' }}>
<Trans i18nKey="settings.export.modal.step3"> <Trans i18nKey="settings.export.modal.step3" />
{'Select'}
<Text ff="Open Sans|SemiBold" color="dark">
{'Import accounts'}
</Text>
</Trans>
</Box>
),
},
{
key: 'step4',
icon: <BulletRowIcon>{'4'}</BulletRowIcon>,
desc: (
<Box style={{ display: 'block' }}>
<Trans i18nKey="settings.export.modal.step4">
{'Scan the image'}
<Text ff="Open Sans|SemiBold" color="dark">
{'until the loader hits 100%'}
</Text>
</Trans>
</Box> </Box>
), ),
}, },
@ -116,7 +97,7 @@ class SectionExport extends PureComponent<Props, State> {
return ( return (
<ModalBody onClose={onClose}> <ModalBody onClose={onClose}>
<ModalTitle>{'Export accounts'}</ModalTitle> <ModalTitle>{t('settings.export.modal.title')}</ModalTitle>
<ModalContent flow={2} justify="center" align="center"> <ModalContent flow={2} justify="center" align="center">
<Box flow={2}> <Box flow={2}>
<QRCodeExporter size={330} /> <QRCodeExporter size={330} />

8
static/i18n/en/app.json

@ -357,11 +357,11 @@
"button": "Export", "button": "Export",
"modal":{ "modal":{
"button": "Done", "button": "Done",
"title": "Scan to export to mobile",
"listTitle": "To import accounts on your Ledger Live Mobile app:", "listTitle": "To import accounts on your Ledger Live Mobile app:",
"step1": "Go to <1><0>Accounts</0></1>", "step1": "Tap the <1><0>+</0></1> button in Account",
"step2": "Click on the <1><0>+</0></1> button", "step2": "Tap <1><0>Import desktop accounts</0></1>",
"step3": "Select <1><0>Import accounts</0></1>", "step3": "Scan until the loader hits 100%"
"step4": "Scan the image <1><0>until the loader hits 100%</0></1>"
} }
}, },
"display": { "display": {

Loading…
Cancel
Save