Browse Source

add warning against printers to seed dialog

283
ThomasV 9 years ago
parent
commit
dae9352c18
  1. 18
      gui/qt/seed_dialog.py

18
gui/qt/seed_dialog.py

@ -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…
Cancel
Save