diff options
author | kumavis <aaron@kumavis.me> | 2018-03-15 07:31:45 +0800 |
---|---|---|
committer | kumavis <aaron@kumavis.me> | 2018-03-15 07:32:35 +0800 |
commit | 34aeef50a0519576da64f23d65afdfbfa278273d (patch) | |
tree | a2cdfc8e11630a2077fe2c1903894e433f977c7e /ui/app/components/modals/notification-modal.js | |
parent | e2efc91aee64072c408ab509219dcbfb389c7609 (diff) | |
download | tangerine-wallet-browser-34aeef50a0519576da64f23d65afdfbfa278273d.tar.gz tangerine-wallet-browser-34aeef50a0519576da64f23d65afdfbfa278273d.tar.zst tangerine-wallet-browser-34aeef50a0519576da64f23d65afdfbfa278273d.zip |
i18n - load locales manually
Diffstat (limited to 'ui/app/components/modals/notification-modal.js')
-rw-r--r-- | ui/app/components/modals/notification-modal.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/app/components/modals/notification-modal.js b/ui/app/components/modals/notification-modal.js index 621a974d0..071d7ffd5 100644 --- a/ui/app/components/modals/notification-modal.js +++ b/ui/app/components/modals/notification-modal.js @@ -3,6 +3,7 @@ const PropTypes = require('prop-types') const h = require('react-hyperscript') const { connect } = require('react-redux') const actions = require('../../actions') +const t = global.getMessage class NotificationModal extends Component { render () { @@ -22,12 +23,12 @@ class NotificationModal extends Component { }, [ h('div.notification-modal__header', {}, [ - header, + t(header), ]), h('div.notification-modal__message-wrapper', {}, [ h('div.notification-modal__message', {}, [ - message, + t(message), ]), ]), |