mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
add warning against printers to seed dialog
This commit is contained in:
parent
b1ab49a282
commit
dae9352c18
1 changed files with 13 additions and 5 deletions
|
@ -50,11 +50,19 @@ def icon_filename(sid):
|
||||||
def show_seed_box_msg(seedphrase, sid=None, paranoid=False):
|
def show_seed_box_msg(seedphrase, sid=None, paranoid=False):
|
||||||
msg = _("Your wallet generation seed is") + ":"
|
msg = _("Your wallet generation seed is") + ":"
|
||||||
vbox = show_seed_box(msg, seedphrase, sid, paranoid=paranoid)
|
vbox = show_seed_box(msg, seedphrase, sid, paranoid=paranoid)
|
||||||
save_msg = _("Please save these %d words on paper (order is important).")%len(seedphrase.split()) + " "
|
msg = ''.join([
|
||||||
msg2 = save_msg + " " \
|
"<p>",
|
||||||
+ _("This seed will allow you to recover your wallet in case of computer failure.") + "<br/>" \
|
_("Please save these %d words on paper (order is important).")%len(seedphrase.split()) + " ",
|
||||||
+ "<b>"+_("WARNING")+":</b> " + _("Never disclose your seed. Never type it on a website.") + "</b><p>"
|
_("This seed will allow you to recover your wallet in case of computer failure.") + "<br/>",
|
||||||
label2 = QLabel(msg2)
|
"</p>",
|
||||||
|
"<b>" + _("WARNING") + ":</b> ",
|
||||||
|
"<ul>",
|
||||||
|
"<li>" + _("Never disclose your seed.") + "</li>",
|
||||||
|
"<li>" + _("Never type it on a website.") + "</li>",
|
||||||
|
"<li>" + _("Do not send your seed to a printer.") + "</li>",
|
||||||
|
"</ul>"
|
||||||
|
])
|
||||||
|
label2 = QLabel(msg)
|
||||||
label2.setWordWrap(True)
|
label2.setWordWrap(True)
|
||||||
vbox.addWidget(label2)
|
vbox.addWidget(label2)
|
||||||
vbox.addStretch(1)
|
vbox.addStretch(1)
|
||||||
|
|
Loading…
Add table
Reference in a new issue