aboutsummaryrefslogtreecommitdiffstats
path: root/ui/i18n-helper.js
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-03-20 02:53:54 +0800
committerDan <danjm.com@gmail.com>2018-03-20 03:09:37 +0800
commit09260f9c5e0b2c460a214f00b87c8fafe0470419 (patch)
tree80643438ba93a09cef581010e7d27b7feb4a09d0 /ui/i18n-helper.js
parent57338200247fa6520a58c9b4a9625edb0382aba1 (diff)
downloadtangerine-wallet-browser-09260f9c5e0b2c460a214f00b87c8fafe0470419.tar
tangerine-wallet-browser-09260f9c5e0b2c460a214f00b87c8fafe0470419.tar.gz
tangerine-wallet-browser-09260f9c5e0b2c460a214f00b87c8fafe0470419.tar.bz2
tangerine-wallet-browser-09260f9c5e0b2c460a214f00b87c8fafe0470419.tar.lz
tangerine-wallet-browser-09260f9c5e0b2c460a214f00b87c8fafe0470419.tar.xz
tangerine-wallet-browser-09260f9c5e0b2c460a214f00b87c8fafe0470419.tar.zst
tangerine-wallet-browser-09260f9c5e0b2c460a214f00b87c8fafe0470419.zip
Fixed t() calls where localeMessages is missing; and fix incorrect connect reference.
Diffstat (limited to 'ui/i18n-helper.js')
-rw-r--r--ui/i18n-helper.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/i18n-helper.js b/ui/i18n-helper.js
index 7ad8cd040..345e83f00 100644
--- a/ui/i18n-helper.js
+++ b/ui/i18n-helper.js
@@ -12,7 +12,7 @@ const getMessage = (locale, key, substitutions) => {
const entry = locale[key]
if (!entry) {
log.error(`Translator - Unable to find value for "${key}"`)
- throw new Error(`Translator - Unable to find value for "${key}"`)
+ // throw new Error(`Translator - Unable to find value for "${key}"`)
}
let phrase = entry.message
// perform substitutions