diff options
author | Nick Doiron <ndoiron@mapmeld.com> | 2018-01-23 17:48:03 +0800 |
---|---|---|
committer | Nick Doiron <ndoiron@mapmeld.com> | 2018-01-23 17:48:03 +0800 |
commit | bad70eb1b328aa911a2523ccab642d7607161b4b (patch) | |
tree | d99970c6f35333563ee0a4a390055aa73e93ea21 /ui/app/components/pending-msg.js | |
parent | 338ebe5f402ff50dc8d1a91b7b69cd8e262cc789 (diff) | |
download | tangerine-wallet-browser-bad70eb1b328aa911a2523ccab642d7607161b4b.tar tangerine-wallet-browser-bad70eb1b328aa911a2523ccab642d7607161b4b.tar.gz tangerine-wallet-browser-bad70eb1b328aa911a2523ccab642d7607161b4b.tar.bz2 tangerine-wallet-browser-bad70eb1b328aa911a2523ccab642d7607161b4b.tar.lz tangerine-wallet-browser-bad70eb1b328aa911a2523ccab642d7607161b4b.tar.xz tangerine-wallet-browser-bad70eb1b328aa911a2523ccab642d7607161b4b.tar.zst tangerine-wallet-browser-bad70eb1b328aa911a2523ccab642d7607161b4b.zip |
first steps to i18n
Diffstat (limited to 'ui/app/components/pending-msg.js')
-rw-r--r-- | ui/app/components/pending-msg.js | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/ui/app/components/pending-msg.js b/ui/app/components/pending-msg.js index 834719c53..236849c18 100644 --- a/ui/app/components/pending-msg.js +++ b/ui/app/components/pending-msg.js @@ -29,17 +29,14 @@ PendingMsg.prototype.render = function () { fontWeight: 'bold', textAlign: 'center', }, - }, 'Sign Message'), + }, t('signMessage')), h('.error', { style: { margin: '10px', }, }, [ - `Signing this message can have - dangerous side effects. Only sign messages from - sites you fully trust with your entire account. - This dangerous method will be removed in a future version. `, + t('signNotice'), h('a', { href: 'https://medium.com/metamask/the-new-secure-way-to-sign-data-in-your-browser-6af9dd2a1527', style: { color: 'rgb(247, 134, 28)' }, @@ -48,7 +45,7 @@ PendingMsg.prototype.render = function () { const url = 'https://medium.com/metamask/the-new-secure-way-to-sign-data-in-your-browser-6af9dd2a1527' global.platform.openWindow({ url }) }, - }, 'Read more here.'), + }, t('readMore')), ]), // message details @@ -58,13 +55,12 @@ PendingMsg.prototype.render = function () { h('.flex-row.flex-space-around', [ h('button', { onClick: state.cancelMessage, - }, 'Cancel'), + }, t('cancel')), h('button', { onClick: state.signMessage, - }, 'Sign'), + }, t('sign')), ]), ]) ) } - |