mirror of
https://github.com/monero-project/monero-gui
synced 2024-11-22 12:14:00 +01:00
Wizard refactoring
This commit is contained in:
parent
ecf844120b
commit
e5d5a6082f
@ -542,12 +542,12 @@
|
||||
<context>
|
||||
<name>WizardCreateWallet</name>
|
||||
<message>
|
||||
<location filename="../wizard/WizardCreateWallet.qml" line="81"/>
|
||||
<location filename="../wizard/WizardCreateWallet.qml" line="90"/>
|
||||
<source>A new wallet has been created for you</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardCreateWallet.qml" line="82"/>
|
||||
<location filename="../wizard/WizardCreateWallet.qml" line="91"/>
|
||||
<source>This is the 25 word mnemonic for your wallet</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
@ -628,7 +628,7 @@
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardFinish.qml" line="103"/>
|
||||
<location filename="../wizard/WizardFinish.qml" line="107"/>
|
||||
<source>You’re all setup!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
@ -636,17 +636,7 @@
|
||||
<context>
|
||||
<name>WizardMain</name>
|
||||
<message>
|
||||
<location filename="../wizard/WizardMain.qml" line="85"/>
|
||||
<source>Now that your wallet has been created, please set a password for the wallet</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardMain.qml" line="87"/>
|
||||
<source>Now that your wallet has been restored, please set a password for the wallet</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardMain.qml" line="309"/>
|
||||
<location filename="../wizard/WizardMain.qml" line="308"/>
|
||||
<source>USE MONERO</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
@ -708,7 +698,17 @@
|
||||
<context>
|
||||
<name>WizardPassword</name>
|
||||
<message>
|
||||
<location filename="../wizard/WizardPassword.qml" line="121"/>
|
||||
<location filename="../wizard/WizardPassword.qml" line="51"/>
|
||||
<source>Now that your wallet has been created, please set a password for the wallet</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardPassword.qml" line="53"/>
|
||||
<source>Now that your wallet has been restored, please set a password for the wallet</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardPassword.qml" line="135"/>
|
||||
<source>Note that this password cannot be recovered, and if forgotten you will need to restore your wallet from the mnemonic seed you were just given<br/><br/>
|
||||
Your password will be used to protect your wallet and to confirm actions, so make sure that your password is sufficiently secure.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@ -717,17 +717,17 @@
|
||||
<context>
|
||||
<name>WizardRecoveryWallet</name>
|
||||
<message>
|
||||
<location filename="../wizard/WizardRecoveryWallet.qml" line="69"/>
|
||||
<location filename="../wizard/WizardRecoveryWallet.qml" line="78"/>
|
||||
<source>My account name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardRecoveryWallet.qml" line="70"/>
|
||||
<location filename="../wizard/WizardRecoveryWallet.qml" line="79"/>
|
||||
<source>We're ready to recover your account</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardRecoveryWallet.qml" line="71"/>
|
||||
<location filename="../wizard/WizardRecoveryWallet.qml" line="80"/>
|
||||
<source>Please enter your 25 word private key</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -542,12 +542,12 @@
|
||||
<context>
|
||||
<name>WizardCreateWallet</name>
|
||||
<message>
|
||||
<location filename="../wizard/WizardCreateWallet.qml" line="81"/>
|
||||
<location filename="../wizard/WizardCreateWallet.qml" line="90"/>
|
||||
<source>A new wallet has been created for you</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardCreateWallet.qml" line="82"/>
|
||||
<location filename="../wizard/WizardCreateWallet.qml" line="91"/>
|
||||
<source>This is the 25 word mnemonic for your wallet</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
@ -628,7 +628,7 @@
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardFinish.qml" line="103"/>
|
||||
<location filename="../wizard/WizardFinish.qml" line="107"/>
|
||||
<source>You’re all setup!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
@ -636,17 +636,7 @@
|
||||
<context>
|
||||
<name>WizardMain</name>
|
||||
<message>
|
||||
<location filename="../wizard/WizardMain.qml" line="85"/>
|
||||
<source>Now that your wallet has been created, please set a password for the wallet</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardMain.qml" line="87"/>
|
||||
<source>Now that your wallet has been restored, please set a password for the wallet</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardMain.qml" line="309"/>
|
||||
<location filename="../wizard/WizardMain.qml" line="308"/>
|
||||
<source>USE MONERO</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
@ -708,7 +698,17 @@
|
||||
<context>
|
||||
<name>WizardPassword</name>
|
||||
<message>
|
||||
<location filename="../wizard/WizardPassword.qml" line="121"/>
|
||||
<location filename="../wizard/WizardPassword.qml" line="51"/>
|
||||
<source>Now that your wallet has been created, please set a password for the wallet</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardPassword.qml" line="53"/>
|
||||
<source>Now that your wallet has been restored, please set a password for the wallet</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardPassword.qml" line="135"/>
|
||||
<source>Note that this password cannot be recovered, and if forgotten you will need to restore your wallet from the mnemonic seed you were just given<br/><br/>
|
||||
Your password will be used to protect your wallet and to confirm actions, so make sure that your password is sufficiently secure.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@ -717,17 +717,17 @@
|
||||
<context>
|
||||
<name>WizardRecoveryWallet</name>
|
||||
<message>
|
||||
<location filename="../wizard/WizardRecoveryWallet.qml" line="69"/>
|
||||
<location filename="../wizard/WizardRecoveryWallet.qml" line="78"/>
|
||||
<source>My account name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardRecoveryWallet.qml" line="70"/>
|
||||
<location filename="../wizard/WizardRecoveryWallet.qml" line="79"/>
|
||||
<source>We're ready to recover your account</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardRecoveryWallet.qml" line="71"/>
|
||||
<location filename="../wizard/WizardRecoveryWallet.qml" line="80"/>
|
||||
<source>Please enter your 25 word private key</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -542,12 +542,12 @@
|
||||
<context>
|
||||
<name>WizardCreateWallet</name>
|
||||
<message>
|
||||
<location filename="../wizard/WizardCreateWallet.qml" line="81"/>
|
||||
<location filename="../wizard/WizardCreateWallet.qml" line="90"/>
|
||||
<source>A new wallet has been created for you</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardCreateWallet.qml" line="82"/>
|
||||
<location filename="../wizard/WizardCreateWallet.qml" line="91"/>
|
||||
<source>This is the 25 word mnemonic for your wallet</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
@ -628,7 +628,7 @@
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardFinish.qml" line="103"/>
|
||||
<location filename="../wizard/WizardFinish.qml" line="107"/>
|
||||
<source>You’re all setup!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
@ -636,17 +636,7 @@
|
||||
<context>
|
||||
<name>WizardMain</name>
|
||||
<message>
|
||||
<location filename="../wizard/WizardMain.qml" line="85"/>
|
||||
<source>Now that your wallet has been created, please set a password for the wallet</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardMain.qml" line="87"/>
|
||||
<source>Now that your wallet has been restored, please set a password for the wallet</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardMain.qml" line="309"/>
|
||||
<location filename="../wizard/WizardMain.qml" line="308"/>
|
||||
<source>USE MONERO</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
@ -708,7 +698,17 @@
|
||||
<context>
|
||||
<name>WizardPassword</name>
|
||||
<message>
|
||||
<location filename="../wizard/WizardPassword.qml" line="121"/>
|
||||
<location filename="../wizard/WizardPassword.qml" line="51"/>
|
||||
<source>Now that your wallet has been created, please set a password for the wallet</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardPassword.qml" line="53"/>
|
||||
<source>Now that your wallet has been restored, please set a password for the wallet</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardPassword.qml" line="135"/>
|
||||
<source>Note that this password cannot be recovered, and if forgotten you will need to restore your wallet from the mnemonic seed you were just given<br/><br/>
|
||||
Your password will be used to protect your wallet and to confirm actions, so make sure that your password is sufficiently secure.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@ -717,17 +717,17 @@
|
||||
<context>
|
||||
<name>WizardRecoveryWallet</name>
|
||||
<message>
|
||||
<location filename="../wizard/WizardRecoveryWallet.qml" line="69"/>
|
||||
<location filename="../wizard/WizardRecoveryWallet.qml" line="78"/>
|
||||
<source>My account name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardRecoveryWallet.qml" line="70"/>
|
||||
<location filename="../wizard/WizardRecoveryWallet.qml" line="79"/>
|
||||
<source>We're ready to recover your account</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardRecoveryWallet.qml" line="71"/>
|
||||
<location filename="../wizard/WizardRecoveryWallet.qml" line="80"/>
|
||||
<source>Please enter your 25 word private key</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -542,12 +542,12 @@
|
||||
<context>
|
||||
<name>WizardCreateWallet</name>
|
||||
<message>
|
||||
<location filename="../wizard/WizardCreateWallet.qml" line="81"/>
|
||||
<location filename="../wizard/WizardCreateWallet.qml" line="90"/>
|
||||
<source>A new wallet has been created for you</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardCreateWallet.qml" line="82"/>
|
||||
<location filename="../wizard/WizardCreateWallet.qml" line="91"/>
|
||||
<source>This is the 25 word mnemonic for your wallet</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
@ -628,7 +628,7 @@
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardFinish.qml" line="103"/>
|
||||
<location filename="../wizard/WizardFinish.qml" line="107"/>
|
||||
<source>You’re all setup!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
@ -636,17 +636,7 @@
|
||||
<context>
|
||||
<name>WizardMain</name>
|
||||
<message>
|
||||
<location filename="../wizard/WizardMain.qml" line="85"/>
|
||||
<source>Now that your wallet has been created, please set a password for the wallet</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardMain.qml" line="87"/>
|
||||
<source>Now that your wallet has been restored, please set a password for the wallet</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardMain.qml" line="309"/>
|
||||
<location filename="../wizard/WizardMain.qml" line="308"/>
|
||||
<source>USE MONERO</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
@ -708,7 +698,17 @@
|
||||
<context>
|
||||
<name>WizardPassword</name>
|
||||
<message>
|
||||
<location filename="../wizard/WizardPassword.qml" line="121"/>
|
||||
<location filename="../wizard/WizardPassword.qml" line="51"/>
|
||||
<source>Now that your wallet has been created, please set a password for the wallet</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardPassword.qml" line="53"/>
|
||||
<source>Now that your wallet has been restored, please set a password for the wallet</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardPassword.qml" line="135"/>
|
||||
<source>Note that this password cannot be recovered, and if forgotten you will need to restore your wallet from the mnemonic seed you were just given<br/><br/>
|
||||
Your password will be used to protect your wallet and to confirm actions, so make sure that your password is sufficiently secure.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@ -717,17 +717,17 @@
|
||||
<context>
|
||||
<name>WizardRecoveryWallet</name>
|
||||
<message>
|
||||
<location filename="../wizard/WizardRecoveryWallet.qml" line="69"/>
|
||||
<location filename="../wizard/WizardRecoveryWallet.qml" line="78"/>
|
||||
<source>My account name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardRecoveryWallet.qml" line="70"/>
|
||||
<location filename="../wizard/WizardRecoveryWallet.qml" line="79"/>
|
||||
<source>We're ready to recover your account</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardRecoveryWallet.qml" line="71"/>
|
||||
<location filename="../wizard/WizardRecoveryWallet.qml" line="80"/>
|
||||
<source>Please enter your 25 word private key</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -542,12 +542,12 @@
|
||||
<context>
|
||||
<name>WizardCreateWallet</name>
|
||||
<message>
|
||||
<location filename="../wizard/WizardCreateWallet.qml" line="81"/>
|
||||
<location filename="../wizard/WizardCreateWallet.qml" line="90"/>
|
||||
<source>A new wallet has been created for you</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardCreateWallet.qml" line="82"/>
|
||||
<location filename="../wizard/WizardCreateWallet.qml" line="91"/>
|
||||
<source>This is the 25 word mnemonic for your wallet</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
@ -628,7 +628,7 @@
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardFinish.qml" line="103"/>
|
||||
<location filename="../wizard/WizardFinish.qml" line="107"/>
|
||||
<source>You’re all setup!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
@ -636,17 +636,7 @@
|
||||
<context>
|
||||
<name>WizardMain</name>
|
||||
<message>
|
||||
<location filename="../wizard/WizardMain.qml" line="85"/>
|
||||
<source>Now that your wallet has been created, please set a password for the wallet</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardMain.qml" line="87"/>
|
||||
<source>Now that your wallet has been restored, please set a password for the wallet</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardMain.qml" line="309"/>
|
||||
<location filename="../wizard/WizardMain.qml" line="308"/>
|
||||
<source>USE MONERO</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
@ -708,7 +698,17 @@
|
||||
<context>
|
||||
<name>WizardPassword</name>
|
||||
<message>
|
||||
<location filename="../wizard/WizardPassword.qml" line="121"/>
|
||||
<location filename="../wizard/WizardPassword.qml" line="51"/>
|
||||
<source>Now that your wallet has been created, please set a password for the wallet</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardPassword.qml" line="53"/>
|
||||
<source>Now that your wallet has been restored, please set a password for the wallet</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardPassword.qml" line="135"/>
|
||||
<source>Note that this password cannot be recovered, and if forgotten you will need to restore your wallet from the mnemonic seed you were just given<br/><br/>
|
||||
Your password will be used to protect your wallet and to confirm actions, so make sure that your password is sufficiently secure.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@ -717,17 +717,17 @@
|
||||
<context>
|
||||
<name>WizardRecoveryWallet</name>
|
||||
<message>
|
||||
<location filename="../wizard/WizardRecoveryWallet.qml" line="69"/>
|
||||
<location filename="../wizard/WizardRecoveryWallet.qml" line="78"/>
|
||||
<source>My account name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardRecoveryWallet.qml" line="70"/>
|
||||
<location filename="../wizard/WizardRecoveryWallet.qml" line="79"/>
|
||||
<source>We're ready to recover your account</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardRecoveryWallet.qml" line="71"/>
|
||||
<location filename="../wizard/WizardRecoveryWallet.qml" line="80"/>
|
||||
<source>Please enter your 25 word private key</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -542,12 +542,12 @@
|
||||
<context>
|
||||
<name>WizardCreateWallet</name>
|
||||
<message>
|
||||
<location filename="../wizard/WizardCreateWallet.qml" line="81"/>
|
||||
<location filename="../wizard/WizardCreateWallet.qml" line="90"/>
|
||||
<source>A new wallet has been created for you</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardCreateWallet.qml" line="82"/>
|
||||
<location filename="../wizard/WizardCreateWallet.qml" line="91"/>
|
||||
<source>This is the 25 word mnemonic for your wallet</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
@ -628,7 +628,7 @@
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardFinish.qml" line="103"/>
|
||||
<location filename="../wizard/WizardFinish.qml" line="107"/>
|
||||
<source>You’re all setup!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
@ -636,17 +636,7 @@
|
||||
<context>
|
||||
<name>WizardMain</name>
|
||||
<message>
|
||||
<location filename="../wizard/WizardMain.qml" line="85"/>
|
||||
<source>Now that your wallet has been created, please set a password for the wallet</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardMain.qml" line="87"/>
|
||||
<source>Now that your wallet has been restored, please set a password for the wallet</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardMain.qml" line="309"/>
|
||||
<location filename="../wizard/WizardMain.qml" line="308"/>
|
||||
<source>USE MONERO</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
@ -708,7 +698,17 @@
|
||||
<context>
|
||||
<name>WizardPassword</name>
|
||||
<message>
|
||||
<location filename="../wizard/WizardPassword.qml" line="121"/>
|
||||
<location filename="../wizard/WizardPassword.qml" line="51"/>
|
||||
<source>Now that your wallet has been created, please set a password for the wallet</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardPassword.qml" line="53"/>
|
||||
<source>Now that your wallet has been restored, please set a password for the wallet</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardPassword.qml" line="135"/>
|
||||
<source>Note that this password cannot be recovered, and if forgotten you will need to restore your wallet from the mnemonic seed you were just given<br/><br/>
|
||||
Your password will be used to protect your wallet and to confirm actions, so make sure that your password is sufficiently secure.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@ -717,17 +717,17 @@
|
||||
<context>
|
||||
<name>WizardRecoveryWallet</name>
|
||||
<message>
|
||||
<location filename="../wizard/WizardRecoveryWallet.qml" line="69"/>
|
||||
<location filename="../wizard/WizardRecoveryWallet.qml" line="78"/>
|
||||
<source>My account name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardRecoveryWallet.qml" line="70"/>
|
||||
<location filename="../wizard/WizardRecoveryWallet.qml" line="79"/>
|
||||
<source>We're ready to recover your account</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../wizard/WizardRecoveryWallet.qml" line="71"/>
|
||||
<location filename="../wizard/WizardRecoveryWallet.qml" line="80"/>
|
||||
<source>Please enter your 25 word private key</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -42,6 +42,10 @@ Item {
|
||||
|
||||
//! function called each time we display this page
|
||||
|
||||
function onPageOpened(settingsOblect) {
|
||||
checkNextButton()
|
||||
}
|
||||
|
||||
function onPageClosed(settingsObject) {
|
||||
settingsObject['account_name'] = uiItem.accountNameText
|
||||
settingsObject['words'] = uiItem.wordsTexttext
|
||||
@ -49,6 +53,11 @@ Item {
|
||||
return true;
|
||||
}
|
||||
|
||||
function checkNextButton() {
|
||||
var wordsArray = cleanWordsInput(uiItem.wordsTextItem.memoText).split(" ");
|
||||
wizard.nextButton.enabled = wordsArray.length === 25;
|
||||
}
|
||||
|
||||
//! function called each time we hide this page
|
||||
//
|
||||
|
||||
|
@ -54,6 +54,10 @@ Item {
|
||||
+ buildSettingsString();
|
||||
}
|
||||
|
||||
function onPageOpened(settings) {
|
||||
updateSettingsSummary();
|
||||
wizard.nextButton.visible = false;
|
||||
}
|
||||
|
||||
|
||||
Row {
|
||||
|
@ -58,7 +58,7 @@ Rectangle {
|
||||
};
|
||||
|
||||
}
|
||||
print ("switchpage: start: currentPage: ", currentPage);
|
||||
print ("switchpage: currentPage: ", currentPage);
|
||||
|
||||
if (currentPage > 0 || currentPage < pages.length - 1) {
|
||||
pages[currentPage].opacity = 0
|
||||
@ -66,40 +66,35 @@ Rectangle {
|
||||
currentPage += step_value
|
||||
pages[currentPage].opacity = 1;
|
||||
|
||||
var nextButtonVisible = pages[currentPage] !== optionsPage;
|
||||
nextButton.visible = nextButtonVisible;
|
||||
|
||||
if (next && typeof pages[currentPage].onPageOpened !== 'undefined') {
|
||||
pages[currentPage].onPageOpened(settings)
|
||||
}
|
||||
handlePageChanged();
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: remove it
|
||||
function handlePageChanged() {
|
||||
var nextButtonVisible = pages[currentPage] !== optionsPage;
|
||||
nextButton.visible = nextButtonVisible;
|
||||
print ("next button visible: " + nextButtonVisible);
|
||||
switch (pages[currentPage]) {
|
||||
case passwordPage:
|
||||
// disable "next" button until passwords match
|
||||
nextButton.enabled = passwordPage.passwordValid;
|
||||
if (currentPath === "create_wallet") {
|
||||
passwordPage.titleText = qsTr("Now that your wallet has been created, please set a password for the wallet") + translationManager.emptyString
|
||||
} else {
|
||||
passwordPage.titleText = qsTr("Now that your wallet has been restored, please set a password for the wallet") + translationManager.emptyString
|
||||
}
|
||||
break;
|
||||
case finishPage:
|
||||
// display settings summary
|
||||
finishPage.updateSettingsSummary();
|
||||
nextButton.visible = false;
|
||||
break;
|
||||
case recoveryWalletPage:
|
||||
// TODO: disable "next button" until 25 words private key entered
|
||||
nextButton.enabled = false
|
||||
break
|
||||
default:
|
||||
nextButton.enabled = true
|
||||
|
||||
}
|
||||
// switch (pages[currentPage]) {
|
||||
//// case finishPage:
|
||||
//// // display settings summary
|
||||
//// finishPage.updateSettingsSummary();
|
||||
//// nextButton.visible = false;
|
||||
//// break;
|
||||
// case recoveryWalletPage:
|
||||
// // disable "next button" until 25 words private key entered
|
||||
// nextButton.enabled = false
|
||||
// break
|
||||
// default:
|
||||
// nextButton.enabled = true
|
||||
|
||||
// }
|
||||
}
|
||||
|
||||
|
||||
@ -111,7 +106,9 @@ Rectangle {
|
||||
pages = paths[currentPath]
|
||||
currentPage = pages.indexOf(createWalletPage)
|
||||
createWalletPage.createWallet(settings)
|
||||
handlePageChanged()
|
||||
wizard.nextButton.visible = true
|
||||
createWalletPage.onPageOpened(settings);
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -122,7 +119,9 @@ Rectangle {
|
||||
currentPath = "recovery_wallet"
|
||||
pages = paths[currentPath]
|
||||
currentPage = pages.indexOf(recoveryWalletPage)
|
||||
handlePageChanged()
|
||||
wizard.nextButton.visible = true
|
||||
recoveryWalletPage.onPageOpened(settings);
|
||||
|
||||
}
|
||||
|
||||
//! actually writes the wallet
|
||||
|
@ -31,10 +31,10 @@ import "../components"
|
||||
import "utils.js" as Utils
|
||||
|
||||
Item {
|
||||
|
||||
id: passwordPage
|
||||
opacity: 0
|
||||
visible: false
|
||||
property bool passwordValid : passwordItem.password != ''
|
||||
&& passwordItem.password === retypePasswordItem.password
|
||||
|
||||
property alias titleText: titleText.text
|
||||
Behavior on opacity {
|
||||
@ -43,6 +43,17 @@ Item {
|
||||
|
||||
onOpacityChanged: visible = opacity !== 0
|
||||
|
||||
|
||||
function onPageOpened(settingsObject) {
|
||||
wizard.nextButton.enabled = true
|
||||
|
||||
if (wizard.currentPath === "create_wallet") {
|
||||
passwordPage.titleText = qsTr("Now that your wallet has been created, please set a password for the wallet") + translationManager.emptyString
|
||||
} else {
|
||||
passwordPage.titleText = qsTr("Now that your wallet has been restored, please set a password for the wallet") + translationManager.emptyString
|
||||
}
|
||||
}
|
||||
|
||||
function onPageClosed(settingsObject) {
|
||||
// TODO: set password on the final page
|
||||
// settingsObject.wallet.setPassword(passwordItem.password)
|
||||
@ -52,11 +63,14 @@ Item {
|
||||
|
||||
function handlePassword() {
|
||||
// allow to forward step only if passwords match
|
||||
|
||||
wizard.nextButton.enabled = passwordItem.password === retypePasswordItem.password
|
||||
|
||||
// scorePassword returns value from 1..100
|
||||
var strength = Utils.scorePassword(passwordItem.password)
|
||||
// privacyLevel component uses 1..13 scale
|
||||
privacyLevel.fillLevel = Utils.mapScope(1, 100, 1, 13, strength)
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -155,4 +169,8 @@ Item {
|
||||
height: 62
|
||||
onChanged: handlePassword()
|
||||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
console.log
|
||||
}
|
||||
}
|
||||
|
@ -41,6 +41,15 @@ Item {
|
||||
|
||||
onOpacityChanged: visible = opacity !== 0
|
||||
|
||||
function onPageOpened(settingsObject) {
|
||||
checkNextButton();
|
||||
}
|
||||
|
||||
function checkNextButton() {
|
||||
var wordsArray = cleanWordsInput(uiItem.wordsTextItem.memoText).split(" ");
|
||||
wizard.nextButton.enabled = wordsArray.length === 25;
|
||||
}
|
||||
|
||||
function onPageClosed(settingsObject) {
|
||||
settingsObject['account_name'] = uiItem.accountNameText
|
||||
settingsObject['words'] = cleanWordsInput(uiItem.wordsTextItem.memoText)
|
||||
@ -74,8 +83,7 @@ Item {
|
||||
wordsTextItem.memoTextReadOnly: false
|
||||
wordsTextItem.memoText: ""
|
||||
wordsTextItem.onMemoTextChanged: {
|
||||
var wordsArray = cleanWordsInput(wordsTextItem.memoText).split(" ");
|
||||
wizard.nextButton.enabled = wordsArray.length === 25
|
||||
checkNextButton();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user