aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/send
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2018-03-14 05:49:26 +0800
committerkumavis <aaron@kumavis.me>2018-03-14 05:49:26 +0800
commite48934dc04f94ef66ebb69a26105ce9bbf5f3842 (patch)
treeffc35395cfbb2b3dbbe254ec87dc6d1eff708ef7 /ui/app/components/send
parenta88e436b7d45d9a7f9f4d4a4be58aff5e58e9074 (diff)
parent239d7106abe39b3a16871442b30edeac54b1bef4 (diff)
downloadtangerine-wallet-browser-e48934dc04f94ef66ebb69a26105ce9bbf5f3842.tar
tangerine-wallet-browser-e48934dc04f94ef66ebb69a26105ce9bbf5f3842.tar.gz
tangerine-wallet-browser-e48934dc04f94ef66ebb69a26105ce9bbf5f3842.tar.bz2
tangerine-wallet-browser-e48934dc04f94ef66ebb69a26105ce9bbf5f3842.tar.lz
tangerine-wallet-browser-e48934dc04f94ef66ebb69a26105ce9bbf5f3842.tar.xz
tangerine-wallet-browser-e48934dc04f94ef66ebb69a26105ce9bbf5f3842.tar.zst
tangerine-wallet-browser-e48934dc04f94ef66ebb69a26105ce9bbf5f3842.zip
Merge branch 'master' of github.com:MetaMask/metamask-extension into i3076-UseStorageLocalInstead
Diffstat (limited to 'ui/app/components/send')
-rw-r--r--ui/app/components/send/gas-fee-display-v2.js4
-rw-r--r--ui/app/components/send/gas-tooltip.js4
-rw-r--r--ui/app/components/send/to-autocomplete.js4
3 files changed, 6 insertions, 6 deletions
diff --git a/ui/app/components/send/gas-fee-display-v2.js b/ui/app/components/send/gas-fee-display-v2.js
index 0c4c3f7a9..0c6f76303 100644
--- a/ui/app/components/send/gas-fee-display-v2.js
+++ b/ui/app/components/send/gas-fee-display-v2.js
@@ -2,6 +2,7 @@ const Component = require('react').Component
const h = require('react-hyperscript')
const inherits = require('util').inherits
const CurrencyDisplay = require('./currency-display')
+const t = require('../../../i18n')
module.exports = GasFeeDisplay
@@ -30,7 +31,7 @@ GasFeeDisplay.prototype.render = function () {
convertedPrefix: '$',
readOnly: true,
})
- : h('div.currency-display', 'Loading...'),
+ : h('div.currency-display', t('loading')),
h('button.send-v2__sliders-icon-container', {
onClick,
@@ -41,4 +42,3 @@ GasFeeDisplay.prototype.render = function () {
])
}
-
diff --git a/ui/app/components/send/gas-tooltip.js b/ui/app/components/send/gas-tooltip.js
index 46aff3499..d925d3ed8 100644
--- a/ui/app/components/send/gas-tooltip.js
+++ b/ui/app/components/send/gas-tooltip.js
@@ -2,6 +2,7 @@ const Component = require('react').Component
const h = require('react-hyperscript')
const inherits = require('util').inherits
const InputNumber = require('../input-number.js')
+const t = require('../../../i18n')
module.exports = GasTooltip
@@ -81,7 +82,7 @@ GasTooltip.prototype.render = function () {
'marginTop': '81px',
},
}, [
- h('span.gas-tooltip-label', {}, ['Gas Limit']),
+ h('span.gas-tooltip-label', {}, [t('gasLimit')]),
h('i.fa.fa-info-circle'),
]),
h(InputNumber, {
@@ -97,4 +98,3 @@ GasTooltip.prototype.render = function () {
]),
])
}
-
diff --git a/ui/app/components/send/to-autocomplete.js b/ui/app/components/send/to-autocomplete.js
index e0cdd0a58..72074229e 100644
--- a/ui/app/components/send/to-autocomplete.js
+++ b/ui/app/components/send/to-autocomplete.js
@@ -2,6 +2,7 @@ const Component = require('react').Component
const h = require('react-hyperscript')
const inherits = require('util').inherits
const AccountListItem = require('./account-list-item')
+const t = require('../../../i18n')
module.exports = ToAutoComplete
@@ -92,7 +93,7 @@ ToAutoComplete.prototype.render = function () {
return h('div.send-v2__to-autocomplete', {}, [
h('input.send-v2__to-autocomplete__input', {
- placeholder: 'Recipient Address',
+ placeholder: t('recipientAddress'),
className: inError ? `send-v2__error-border` : '',
value: to,
onChange: event => onChange(event.target.value),
@@ -111,4 +112,3 @@ ToAutoComplete.prototype.render = function () {
])
}
-