diff options
| -rw-r--r-- | src/app.js | 10 | ||||
| -rw-r--r-- | src/i18n.js | 2 |
2 files changed, 11 insertions, 1 deletions
@@ -817,7 +817,15 @@ function optionsPanel() { return h( 'label', { class: 'field' }, - h('span', { class: 'lab' }, t('passphrase')), + h('span', { class: 'lab' }, + t('passphrase'), + // People assume a password logs in or encrypts; a BIP39 passphrase does + // neither, and getting that wrong loses money — worth a sentence here. + h('button', { + class: 'linklike small', type: 'button', style: 'margin-left:8px', + onClick: (e) => { e.preventDefault(); ui.passInfoOpen = !ui.passInfoOpen; render(); }, + }, t('passWhatsThis'))), + ui.passInfoOpen ? h('p', { class: 'small muted', style: 'margin:0 0 6px' }, t('passInfo')) : null, h( 'div', { class: 'input-group' }, diff --git a/src/i18n.js b/src/i18n.js index c603a28..665d6be 100644 --- a/src/i18n.js +++ b/src/i18n.js @@ -116,6 +116,8 @@ const STR = { seedPhrase: 'Seed phrase', seedPlaceholder: 'enter your seed words separated by spaces', passphrase: 'Passphrase', + passWhatsThis: 'What’s this?', + passInfo: 'An optional 13th word: if someone gets hold of your 12 seed words, they still can’t open your wallet without this one. It’s not a login password and it doesn’t encrypt anything — each passphrase opens its own separate wallet, so to recover your funds you’ll need your seed words and this passphrase, exactly as written.', show: 'Show', hide: 'Hide', invalidSeed: 'Invalid seed phrase — check the spelling and word order.', |
