aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorThomas Huang <tmashuang@users.noreply.github.com>2018-03-15 04:00:42 +0800
committerGitHub <noreply@github.com>2018-03-15 04:00:42 +0800
commite2efc91aee64072c408ab509219dcbfb389c7609 (patch)
treed7de2a6603b67b56abacf09bee4d2bbbfe886b8f /ui
parent5d970be4f3163e70a9473e92044e87e8ef449735 (diff)
parentedd5c38492c76a698909cc80051584348615e795 (diff)
downloadtangerine-wallet-browser-e2efc91aee64072c408ab509219dcbfb389c7609.tar
tangerine-wallet-browser-e2efc91aee64072c408ab509219dcbfb389c7609.tar.gz
tangerine-wallet-browser-e2efc91aee64072c408ab509219dcbfb389c7609.tar.bz2
tangerine-wallet-browser-e2efc91aee64072c408ab509219dcbfb389c7609.tar.lz
tangerine-wallet-browser-e2efc91aee64072c408ab509219dcbfb389c7609.tar.xz
tangerine-wallet-browser-e2efc91aee64072c408ab509219dcbfb389c7609.tar.zst
tangerine-wallet-browser-e2efc91aee64072c408ab509219dcbfb389c7609.zip
Merge pull request #3558 from MetaMask/fix-two-translations
Fix translations whose substitutions params were not in arrays.
Diffstat (limited to 'ui')
-rw-r--r--ui/app/accounts/new-account/create-form.js2
-rw-r--r--ui/app/components/shapeshift-form.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/accounts/new-account/create-form.js b/ui/app/accounts/new-account/create-form.js
index eb34f7a2f..8ef842a2a 100644
--- a/ui/app/accounts/new-account/create-form.js
+++ b/ui/app/accounts/new-account/create-form.js
@@ -14,7 +14,7 @@ class NewAccountCreateForm extends Component {
this.state = {
newAccountName: '',
- defaultAccountName: t('newAccountNumberName', newAccountNumber),
+ defaultAccountName: t('newAccountNumberName', [newAccountNumber]),
}
}
diff --git a/ui/app/components/shapeshift-form.js b/ui/app/components/shapeshift-form.js
index f75d6176e..3f8c17932 100644
--- a/ui/app/components/shapeshift-form.js
+++ b/ui/app/components/shapeshift-form.js
@@ -143,7 +143,7 @@ ShapeshiftForm.prototype.renderQrCode = function () {
return h('div.shapeshift-form', {}, [
h('div.shapeshift-form__deposit-instruction', [
- t('depositCoin', depositCoin.toUpperCase()),
+ t('depositCoin', [depositCoin.toUpperCase()]),
]),
h('div', depositAddress),