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 = () => { renderTooltip = () => {
const { t, isConfirmed } = this.props const { t, isConfirmed } = this.props
return t(isConfirmed ? 'operationsList:confirmed' : 'operationsList:notConfirmed') return t(isConfirmed ? 'app:operationDetails.confirmed' : 'app:operationDetails.notConfirmed')
} }
render() { render() {

2
src/components/PillsDaysCount.js

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

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

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

Loading…
Cancel
Save