Browse Source

Merge pull request #652 from dasilvarosa/wording

wip app yml wording
master
Gaëtan Renaudeau 7 years ago
committed by GitHub
parent
commit
93ecee1738
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 17
      src/components/DeviceConnect/index.js
  2. 11
      static/i18n/en/app.yml

17
src/components/DeviceConnect/index.js

@ -204,7 +204,7 @@ class DeviceConnect extends PureComponent<Props> {
const hasDevice = devices.length > 0 const hasDevice = devices.length > 0
const hasMultipleDevices = devices.length > 1 const hasMultipleDevices = devices.length > 1
// TODO: place custom wording in trans tags into yml file
/* eslint-disable react/jsx-no-literals */ /* eslint-disable react/jsx-no-literals */
return ( return (
<Box flow={4} ff="Open Sans"> <Box flow={4} ff="Open Sans">
@ -215,8 +215,7 @@ class DeviceConnect extends PureComponent<Props> {
</StepIcon> </StepIcon>
<Box grow shrink> <Box grow shrink>
<Trans i18nKey="app:deviceConnect.step1.connect" parent="div"> <Trans i18nKey="app:deviceConnect.step1.connect" parent="div">
Connect your <strong>Ledger device</strong> to your computer and enter your{' '} Connect and unlock your <strong>Ledger device</strong>
<strong>PIN code</strong> on your device
</Trans> </Trans>
</Box> </Box>
<StepCheck checked={hasDevice} /> <StepCheck checked={hasDevice} />
@ -260,9 +259,9 @@ class DeviceConnect extends PureComponent<Props> {
</StepIcon> </StepIcon>
<Box grow shrink> <Box grow shrink>
<Trans i18nKey="deviceConnect:step2.open" parent="div"> <Trans i18nKey="deviceConnect:step2.open" parent="div">
{'Open '} {'Open the '}
<strong>{currency.name}</strong> <strong>{currency.name}</strong>
{' App on your device'} {' app on your device'}
</Trans> </Trans>
</Box> </Box>
<StepCheck checked={appState.success} hasErrors={appState.fail} /> <StepCheck checked={appState.success} hasErrors={appState.fail} />
@ -275,8 +274,8 @@ class DeviceConnect extends PureComponent<Props> {
</WrapperIconCurrency> </WrapperIconCurrency>
</StepIcon> </StepIcon>
<Box grow shrink> <Box grow shrink>
<Trans i18nKey="deviceConnect:dashboard.open" parent="div"> <Trans i18nKey="app:dashboard.open" parent="div">
{'Go to the '} {'Navigate to the '}
<strong>{'dashboard'}</strong> <strong>{'dashboard'}</strong>
{' on your device'} {' on your device'}
</Trans> </Trans>
@ -299,8 +298,8 @@ class DeviceConnect extends PureComponent<Props> {
</StepIcon> </StepIcon>
<Box grow shrink> <Box grow shrink>
<Trans i18nKey="deviceConnect:stepGenuine.open" parent="div"> <Trans i18nKey="deviceConnect:stepGenuine.open" parent="div">
{'Confirm '} {'Allow the '}
<strong>{'authentication'}</strong> <strong>{'Ledger Manager'}</strong>
{' on your device'} {' on your device'}
</Trans> </Trans>
</Box> </Box>

11
static/i18n/en/app.yml

@ -1,5 +1,5 @@
common: common:
ok: Okay ok: OK
yes: Yes yes: Yes
no: No no: No
apply: Apply apply: Apply
@ -7,7 +7,7 @@ common:
cancel: Cancel cancel: Cancel
delete: Delete delete: Delete
continue: Continue continue: Continue
skipThisStep: Skip This Step skipThisStep: Skip this step
chooseWalletPlaceholder: Choose a wallet... chooseWalletPlaceholder: Choose a wallet...
currency: Currency currency: Currency
selectAccount: Select an account selectAccount: Select an account
@ -21,7 +21,7 @@ common:
save: Save save: Save
password: Password password: Password
editProfile: Edit profile editProfile: Edit profile
lockApplication: Lock application lockApplication: Lock Ledger Live
showMore: Show more showMore: Show more
max: Max max: Max
next: Next next: Next
@ -89,7 +89,7 @@ account:
desc: The API node to use desc: The API node to use
error: Invalid endpoint error: Invalid endpoint
dashboard: dashboard:
title: Dashboard title: Portfolio
accounts: accounts:
title: Accounts ({{count}}) title: Accounts ({{count}})
greeting: greeting:
@ -111,7 +111,8 @@ currentAddress:
deviceConnect: deviceConnect:
step1: step1:
choose: "We detected {{count}} devices connected, please select one:" choose: "We detected {{count}} devices connected, please select one:"
connect: Connect your <1>Ledger device</1> to your computer and enter your <3>PIN code</3> on your device connect: Connect and unlock your <1>Ledger device</1> # remove key: <3>PIN code</3>
dashboard:
emptyState: emptyState:
sidebar: sidebar:
text: You don’t have any accounts at the moment. Press the + button to create an account text: You don’t have any accounts at the moment. Press the + button to create an account

Loading…
Cancel
Save