Browse Source

fix missing i18n

master
Gaëtan Renaudeau 7 years ago
parent
commit
5a04ecfc37
  1. 2
      src/components/OperationsList/ConfirmationCheck.js
  2. 2
      src/components/PillsDaysCount.js
  3. 6
      src/components/modals/Send/04-step-confirmation.js

2
src/components/OperationsList/ConfirmationCheck.js

@ -59,7 +59,7 @@ class ConfirmationCheck extends PureComponent<{
renderTooltip = () => {
const { t, isConfirmed } = this.props
return t(isConfirmed ? 'operationsList:confirmed' : 'operationsList:notConfirmed')
return t(isConfirmed ? 'app:operationDetails.confirmed' : 'app:operationDetails.notConfirmed')
}
render() {

2
src/components/PillsDaysCount.js

@ -26,7 +26,7 @@ class PillsDaysCount extends PureComponent<Props> {
<Pills
items={itemsTimes.map(item => ({
...item,
label: t(`time:${item.key}`),
label: t(`app:time.${item.key}`),
}))}
activeKey={selectedTime}
onChange={onChange}

6
src/components/modals/Send/04-step-confirmation.js

@ -53,10 +53,10 @@ function StepConfirmation(props: Props) {
? colors.alertRed
: colors.grey
const tPrefix = optimisticOperation
? 'send:steps.confirmation.success'
? 'app:send.steps.confirmation.success'
: error
? 'send:steps.confirmation.error'
: 'send:steps.confirmation.pending'
? 'app:send.steps.confirmation.error'
: 'app:send.steps.confirmation.pending'
return (
<Container>

Loading…
Cancel
Save