diff options
author | Nick Doiron <ndoiron@mapmeld.com> | 2018-01-25 04:10:28 +0800 |
---|---|---|
committer | Nick Doiron <ndoiron@mapmeld.com> | 2018-01-25 04:10:28 +0800 |
commit | 7da52c599784130a5f7b6737f5b017bd3a95c1ed (patch) | |
tree | f5ca87c5d9944d9155ca9ebd4ef0783fe940211b /ui/app/first-time | |
parent | 99898ac77594d8fe6d4d2aa5bc3e3ba6492f4a10 (diff) | |
download | tangerine-wallet-browser-7da52c599784130a5f7b6737f5b017bd3a95c1ed.tar tangerine-wallet-browser-7da52c599784130a5f7b6737f5b017bd3a95c1ed.tar.gz tangerine-wallet-browser-7da52c599784130a5f7b6737f5b017bd3a95c1ed.tar.bz2 tangerine-wallet-browser-7da52c599784130a5f7b6737f5b017bd3a95c1ed.tar.lz tangerine-wallet-browser-7da52c599784130a5f7b6737f5b017bd3a95c1ed.tar.xz tangerine-wallet-browser-7da52c599784130a5f7b6737f5b017bd3a95c1ed.tar.zst tangerine-wallet-browser-7da52c599784130a5f7b6737f5b017bd3a95c1ed.zip |
separate out cross-browser i18n for extensions
Diffstat (limited to 'ui/app/first-time')
-rw-r--r-- | ui/app/first-time/init-menu.js | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/ui/app/first-time/init-menu.js b/ui/app/first-time/init-menu.js index c496690a7..6b50bf504 100644 --- a/ui/app/first-time/init-menu.js +++ b/ui/app/first-time/init-menu.js @@ -6,17 +6,11 @@ const h = require('react-hyperscript') const Mascot = require('../components/mascot') const actions = require('../actions') const Tooltip = require('../components/tooltip') +const t = require('../../i18n') const getCaretCoordinates = require('textarea-caret') let isSubmitting = false -let t = chrome.i18n.getMessage || (function() { - let msg = require('../../../app/_locales/en/messages.json'); - return (function(key) { - return msg[key].message; - }); -})(); - module.exports = connect(mapStateToProps)(InitializeMenuScreen) inherits(InitializeMenuScreen, Component) |