Merge pull request #3558 from MetaMask/fix-two-translations

Fix translations whose substitutions params were not in arrays.
feature/default_network_editable
Thomas Huang 7 years ago committed by GitHub
commit e2efc91aee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ui/app/accounts/new-account/create-form.js
  2. 2
      ui/app/components/shapeshift-form.js

@ -14,7 +14,7 @@ class NewAccountCreateForm extends Component {
this.state = {
newAccountName: '',
defaultAccountName: t('newAccountNumberName', newAccountNumber),
defaultAccountName: t('newAccountNumberName', [newAccountNumber]),
}
}

@ -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),

Loading…
Cancel
Save