From dae9352c18e837d4a4fa98cd9bcd9ea1d32d062d Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sat, 31 Oct 2015 11:03:49 +0100 Subject: [PATCH] add warning against printers to seed dialog --- gui/qt/seed_dialog.py | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/gui/qt/seed_dialog.py b/gui/qt/seed_dialog.py index d97359edf..2ec0e253b 100644 --- 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.") + "
" \ - + ""+_("WARNING")+": " + _("Never disclose your seed. Never type it on a website.") + "

" - label2 = QLabel(msg2) + msg = ''.join([ + "

", + _("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.") + "
", + "

", + "" + _("WARNING") + ": ", + "" + ]) + label2 = QLabel(msg) label2.setWordWrap(True) vbox.addWidget(label2) vbox.addStretch(1)