Browse Source

Merge pull request #557 from MortalKastor/moar-i18n

More i18n
master
Meriadec Pillet 7 years ago
committed by GitHub
parent
commit
a659d2e3b5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/components/AdvancedOptions/BitcoinKind.js
  2. 2
      src/components/AdvancedOptions/EthereumKind.js
  3. 2
      src/components/AdvancedOptions/RippleKind.js
  4. 3
      src/components/CurrentAddress/index.js
  5. 2
      src/components/modals/AccountSettingRenderBody.js
  6. 2
      src/components/modals/Send/Footer.js
  7. 3
      static/i18n/en/app.yml

2
src/components/AdvancedOptions/BitcoinKind.js

@ -15,7 +15,7 @@ type Props = {
}
export default translate()(({ isRBF, onChangeRBF, t }: Props) => (
<Spoiler title="Advanced options">
<Spoiler title={t('app:send.steps.amount.advancedOptions')}>
<Box horizontal align="center" flow={5}>
<Box style={{ width: 200 }}>
<Label>

2
src/components/AdvancedOptions/EthereumKind.js

@ -14,7 +14,7 @@ type Props = {
}
export default translate()(({ gasLimit, onChangeGasLimit, t }: Props) => (
<Spoiler title="Advanced options">
<Spoiler title={t('app:send.steps.amount.advancedOptions')}>
<Box horizontal align="center" flow={5}>
<Box style={{ width: 200 }}>
<Label>

2
src/components/AdvancedOptions/RippleKind.js

@ -14,7 +14,7 @@ type Props = {
}
export default translate()(({ tag, onChangeTag, t }: Props) => (
<Spoiler title="Advanced options">
<Spoiler title={t('app:send.steps.amount.advancedOptions')}>
<Box horizontal align="center" flow={5}>
<Box style={{ width: 200 }}>
<Label>

3
src/components/CurrentAddress/index.js

@ -183,8 +183,7 @@ class CurrentAddress extends PureComponent<Props> {
<Box>
{accountName ? (
<Trans i18nKey="app:currentAddress.for" parent="div">
{'Address for '}
<strong>{accountName}</strong>
Address for <strong>{accountName}</strong>
</Trans>
) : (
t('app:currentAddress.title')

2
src/components/modals/AccountSettingRenderBody.js

@ -174,7 +174,7 @@ class HelperComp extends PureComponent<Props, State> {
/>
</Box>
</Container>
<Spoiler title="Advanced logs">
<Spoiler title={t('app:account.settings.advancedLogs')}>
<textarea
readOnly
style={{

2
src/components/modals/Send/Footer.js

@ -95,7 +95,7 @@ class Footer extends PureComponent<
</Box>
)}
<Button primary onClick={onNext} disabled={!canNext || !canBeSpent}>
{'Next'}
{t('app:common.next')}
</Button>
</Box>
</ModalFooter>

3
static/i18n/en/app.yml

@ -68,6 +68,7 @@ account:
receiveFunds: Receive Funds
settings:
title: Edit Account
advancedLogs: Advanced logs
accountName:
title: Account name
desc: Lorem ipsum dolort amet
@ -93,7 +94,7 @@ dashboard:
balance: Balance
currentAddress:
title: Current address
for: Address for
for: Address for <1><0>{{accountName}}</0></1>
message: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam blandit velit egestas leo tincidunt
deviceConnect:
step1:

Loading…
Cancel
Save