aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-03-14 23:04:13 +0800
committerDan <danjm.com@gmail.com>2018-03-14 23:04:13 +0800
commitedd5c38492c76a698909cc80051584348615e795 (patch)
tree4144172a62f3f10f89d4f40abbd83dee75210930 /ui
parent5fbfb0b67c9eb50b6cc503e78154ab237d2d9731 (diff)
downloadtangerine-wallet-browser-edd5c38492c76a698909cc80051584348615e795.tar
tangerine-wallet-browser-edd5c38492c76a698909cc80051584348615e795.tar.gz
tangerine-wallet-browser-edd5c38492c76a698909cc80051584348615e795.tar.bz2
tangerine-wallet-browser-edd5c38492c76a698909cc80051584348615e795.tar.lz
tangerine-wallet-browser-edd5c38492c76a698909cc80051584348615e795.tar.xz
tangerine-wallet-browser-edd5c38492c76a698909cc80051584348615e795.tar.zst
tangerine-wallet-browser-edd5c38492c76a698909cc80051584348615e795.zip
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),