From edd5c38492c76a698909cc80051584348615e795 Mon Sep 17 00:00:00 2001 From: Dan Date: Wed, 14 Mar 2018 12:34:13 -0230 Subject: [PATCH] Fix translations whose substitutions params were not in arrays. --- ui/app/accounts/new-account/create-form.js | 2 +- ui/app/components/shapeshift-form.js | 2 +- 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),