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

Fix translations whose substitutions params were not in arrays.
This commit is contained in:
Thomas Huang 2018-03-14 13:00:42 -07:00 committed by GitHub
commit e2efc91aee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

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

View File

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