diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/app.js | 10 | ||||
| -rw-r--r-- | src/i18n.js | 2 |
2 files changed, 9 insertions, 3 deletions
@@ -2302,11 +2302,15 @@ function claimChooseView() { h('p', { class: 'muted', style: 'margin:0' }, t('claimIntoPrompt')) ), h('div', { class: 'card col gap6' }, + h('div', { class: 'small muted' }, t('claimIntoExisting')), ...accounts.map((a) => - h('button', { class: 'btn-block', style: 'text-align:left', onClick: () => claimIntoAccount(a, code) }, - a.label, - a.type === 'watch' ? h('span', { class: 'small faint', style: 'margin-left:6px' }, '(' + t('watchOnly') + ')') : null) + h('button', { class: 'btn-block', style: 'display:flex;justify-content:space-between;align-items:center;text-align:left', onClick: () => claimIntoAccount(a, code) }, + h('span', {}, + a.label, + a.type === 'watch' ? h('span', { class: 'small faint', style: 'margin-left:6px' }, '(' + t('watchOnly') + ')') : null), + h('span', { class: 'muted', style: 'font-size:18px;line-height:1' }, '\u203a')) ), + h('div', { class: 'small faint', style: 'text-align:center' }, t('claimOr')), h('button', { class: 'btn-primary btn-block', onClick: () => { ui.claimChoose = null; enterWallet(newMnemonic(), '', { gift: code }); } }, t('claimNewWallet')) ) ); diff --git a/src/i18n.js b/src/i18n.js index 9cbc09d..552795d 100644 --- a/src/i18n.js +++ b/src/i18n.js @@ -290,6 +290,8 @@ const STR = { claimBody: 'Claim it into a brand-new wallet that only you control.', claimIntoPrompt: 'Choose where to receive it.', claimNewWallet: 'Receive into a new wallet', + claimIntoExisting: 'Receive into one of your wallets:', + claimOr: 'or', goToWallet: 'Go to wallet', giftClaimedToast: 'Gift claimed', claimBtn: 'Claim it', |
