aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2018-04-26 06:27:30 +0800
committerGitHub <noreply@github.com>2018-04-26 06:27:30 +0800
commitee8b91262df3c614252e7f2a0aae464f533a06ed (patch)
treeb6e7f7c5dbe6eff25a19432d5061e390f797cd4f /ui
parentb2fbc6399a94fee5e6fee17f2a84c0d28ef1e042 (diff)
downloadtangerine-wallet-browser-ee8b91262df3c614252e7f2a0aae464f533a06ed.tar
tangerine-wallet-browser-ee8b91262df3c614252e7f2a0aae464f533a06ed.tar.gz
tangerine-wallet-browser-ee8b91262df3c614252e7f2a0aae464f533a06ed.tar.bz2
tangerine-wallet-browser-ee8b91262df3c614252e7f2a0aae464f533a06ed.tar.lz
tangerine-wallet-browser-ee8b91262df3c614252e7f2a0aae464f533a06ed.tar.xz
tangerine-wallet-browser-ee8b91262df3c614252e7f2a0aae464f533a06ed.tar.zst
tangerine-wallet-browser-ee8b91262df3c614252e7f2a0aae464f533a06ed.zip
i18n-helper - wrap fallback in brackets to help indicate something is wrong
Diffstat (limited to 'ui')
-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 7753b3bda..79aa93116 100644
--- a/ui/i18n-helper.js
+++ b/ui/i18n-helper.js
@@ -13,7 +13,7 @@ const getMessage = (locale, key, substitutions) => {
if (!entry) {
// throw new Error(`Translator - Unable to find value for "${key}"`)
log.error(`Translator - Unable to find value for "${key}"`)
- return key
+ return `[${key}]`
}
let phrase = entry.message
// perform substitutions