From edd5c38492c76a698909cc80051584348615e795 Mon Sep 17 00:00:00 2001 From: Dan Date: Wed, 14 Mar 2018 12:34:13 -0230 Subject: 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(-) (limited to 'ui') 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), -- cgit v1.2.3 From fae6a44baca2bb51186af1eb1c8020c34afb7361 Mon Sep 17 00:00:00 2001 From: Dan Finlay <542863+danfinlay@users.noreply.github.com> Date: Wed, 14 Mar 2018 09:34:25 -0700 Subject: Grammar correction --- ui/app/keychains/hd/restore-vault.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui') diff --git a/ui/app/keychains/hd/restore-vault.js b/ui/app/keychains/hd/restore-vault.js index 685094854..cb4088f61 100644 --- a/ui/app/keychains/hd/restore-vault.js +++ b/ui/app/keychains/hd/restore-vault.js @@ -147,7 +147,7 @@ RestoreVaultScreen.prototype.createNewVaultAndRestore = function () { // true if the string has more than a space between words. if (seed.split(' ').length > 1) { - this.warning = 'there can only a space between words' + this.warning = 'there can only be a space between words' this.props.dispatch(actions.displayWarning(this.warning)) return } -- cgit v1.2.3