Expand derivation placeholder to include password (#1742)

This commit is contained in:
Jaco Greeff 2019-10-18 14:15:31 +02:00 committed by GitHub
parent 7ebd98a13f
commit 37362f0bf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -265,11 +265,12 @@ function Create ({ className, onClose, onStatusChange, seed: propsSeed, t, type:
/>
<Input
className='full'
help={t('You can set a custom derivation path for this account using the following syntax "/<soft-key>//<hard-key>". The "/<soft-key>" and "//<hard-key>" may be repeated and mixed`.')}
help={t('You can set a custom derivation path for this account using the following syntax "/<soft-key>//<hard-key>///<password>". The "/<soft-key>" and "//<hard-key>" may be repeated and mixed`. The "///password" is optional and should only occur once.')}
isError={!!deriveError}
label={t('secret derivation path')}
onChange={_onChangeDerive}
onEnter={_onCommit}
placeholder={t('//hard/soft///password')}
value={derivePath}
/>
{deriveError && (