diff options
author | Nick Doiron <ndoiron@mapmeld.com> | 2018-01-24 16:14:47 +0800 |
---|---|---|
committer | Nick Doiron <ndoiron@mapmeld.com> | 2018-01-24 16:14:47 +0800 |
commit | 99898ac77594d8fe6d4d2aa5bc3e3ba6492f4a10 (patch) | |
tree | a95190772699c57c2a49aae512ba738968c89784 /ui/app/components/send | |
parent | bad70eb1b328aa911a2523ccab642d7607161b4b (diff) | |
download | tangerine-wallet-browser-99898ac77594d8fe6d4d2aa5bc3e3ba6492f4a10.tar tangerine-wallet-browser-99898ac77594d8fe6d4d2aa5bc3e3ba6492f4a10.tar.gz tangerine-wallet-browser-99898ac77594d8fe6d4d2aa5bc3e3ba6492f4a10.tar.bz2 tangerine-wallet-browser-99898ac77594d8fe6d4d2aa5bc3e3ba6492f4a10.tar.lz tangerine-wallet-browser-99898ac77594d8fe6d4d2aa5bc3e3ba6492f4a10.tar.xz tangerine-wallet-browser-99898ac77594d8fe6d4d2aa5bc3e3ba6492f4a10.tar.zst tangerine-wallet-browser-99898ac77594d8fe6d4d2aa5bc3e3ba6492f4a10.zip |
better organization of locale file; i18n in more view files
Diffstat (limited to 'ui/app/components/send')
-rw-r--r-- | ui/app/components/send/gas-fee-display-v2.js | 3 | ||||
-rw-r--r-- | ui/app/components/send/gas-tooltip.js | 3 | ||||
-rw-r--r-- | ui/app/components/send/to-autocomplete.js | 3 |
3 files changed, 3 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..edaa297b9 100644 --- a/ui/app/components/send/gas-fee-display-v2.js +++ b/ui/app/components/send/gas-fee-display-v2.js @@ -30,7 +30,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 +41,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..da2a53c9e 100644 --- a/ui/app/components/send/gas-tooltip.js +++ b/ui/app/components/send/gas-tooltip.js @@ -81,7 +81,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 +97,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..85e7bfa0e 100644 --- a/ui/app/components/send/to-autocomplete.js +++ b/ui/app/components/send/to-autocomplete.js @@ -92,7 +92,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 +111,3 @@ ToAutoComplete.prototype.render = function () { ]) } - |