commit dae9352c18e837d4a4fa98cd9bcd9ea1d32d062d
parent b1ab49a282811cdbbd0b449a1659b2a7760747f6
Author: ThomasV <thomasv@electrum.org>
Date: Sat, 31 Oct 2015 11:03:49 +0100
add warning against printers to seed dialog
Diffstat:
1 file changed, 13 insertions(+), 5 deletions(-)
diff --git a/gui/qt/seed_dialog.py b/gui/qt/seed_dialog.py
@@ -50,11 +50,19 @@ def icon_filename(sid):
def show_seed_box_msg(seedphrase, sid=None, paranoid=False):
msg = _("Your wallet generation seed is") + ":"
vbox = show_seed_box(msg, seedphrase, sid, paranoid=paranoid)
- save_msg = _("Please save these %d words on paper (order is important).")%len(seedphrase.split()) + " "
- msg2 = save_msg + " " \
- + _("This seed will allow you to recover your wallet in case of computer failure.") + "<br/>" \
- + "<b>"+_("WARNING")+":</b> " + _("Never disclose your seed. Never type it on a website.") + "</b><p>"
- label2 = QLabel(msg2)
+ msg = ''.join([
+ "<p>",
+ _("Please save these %d words on paper (order is important).")%len(seedphrase.split()) + " ",
+ _("This seed will allow you to recover your wallet in case of computer failure.") + "<br/>",
+ "</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)
vbox.addWidget(label2)
vbox.addStretch(1)