diff --git a/electrum/plugins/revealer/__init__.py b/electrum/plugins/revealer/__init__.py index beb58d30e..d5df9bb15 100644 --- a/electrum/plugins/revealer/__init__.py +++ b/electrum/plugins/revealer/__init__.py @@ -3,10 +3,7 @@ from electrum.i18n import _ fullname = _('Revealer Backup Utility') description = ''.join(["
", ""+_("Do you have something to hide ?")+"", '
', '
', - _("This plug-in allows you to create a visually encrypted backup of your wallet seeds, or of custom alphanumeric secrets."), '
', '
', - _("For more information, visit"), - " https://revealer.cc", '
', '
', -]) + _("This plug-in allows you to create a visually encrypted backup of your wallet seeds, or of custom alphanumeric secrets."), '
']) available_for = ['qt'] diff --git a/electrum/plugins/revealer/qt.py b/electrum/plugins/revealer/qt.py index 5f879f782..e6124341d 100644 --- a/electrum/plugins/revealer/qt.py +++ b/electrum/plugins/revealer/qt.py @@ -62,7 +62,7 @@ class Plugin(RevealerPlugin): @hook def create_status_bar(self, parent): - b = StatusBarButton(read_QIcon('revealer.png'), "Revealer "+_("secret backup utility"), + b = StatusBarButton(read_QIcon('revealer.png'), "Revealer "+_("Visual Cryptography Plugin"), partial(self.setup_dialog, parent)) parent.addPermanentWidget(b) @@ -109,8 +109,8 @@ class Plugin(RevealerPlugin): logo.setPixmap(QPixmap(icon_path('revealer.png'))) logo.setAlignment(Qt.AlignLeft) self.hbox.addSpacing(16) - vbox.addWidget(WWLabel(""+_("Revealer Secret Backup Plugin")+"
" - +_("To encrypt your backup, first we need to load some noise.")+"
")) + vbox.addWidget(WWLabel(""+_("Revealer Visual Cryptography Plugin")+"

" + +_("To encrypt a secret, first create or load noise.")+"
")) vbox.addSpacing(7) bcreate = QPushButton(_("Create a new Revealer")) bcreate.setMaximumWidth(181) @@ -129,9 +129,7 @@ class Plugin(RevealerPlugin): vbox.addLayout(Buttons(self.next_button)) self.next_button.clicked.connect(self.d.close) self.next_button.clicked.connect(partial(self.cypherseed_dialog, window)) - vbox.addWidget( - QLabel("" + _("Warning") + ": " + _("Each revealer should be used only once.") - +"
"+_("more information at https://revealer.cc/faq"))) + def mk_digital(): try: @@ -239,7 +237,7 @@ class Plugin(RevealerPlugin): logo.setPixmap(QPixmap(icon_path('revealer.png'))) logo.setAlignment(Qt.AlignLeft) hbox.addSpacing(16) - self.vbox.addWidget(WWLabel("" + _("Revealer Secret Backup Plugin") + "
" + self.vbox.addWidget(WWLabel("" + _("Revealer Visual Cryptography Plugin") + "

" + _("Ready to encrypt for revealer {}") .format(self.versioned_seed.version+'_'+self.versioned_seed.checksum))) self.vbox.addSpacing(11) @@ -272,6 +270,8 @@ class Plugin(RevealerPlugin): self.ctext.setEnabled(False) self.vbox.addSpacing(11) self.vbox.addLayout(Buttons(CloseButton(d))) + self.vbox.addWidget( + QLabel("
"+"" + _("Warning ") + ": " + _("each Revealer is a one-time-pad, use it for a single secret."))) return bool(d.exec_()) def update_wallet_name(self, name): @@ -370,7 +370,6 @@ class Plugin(RevealerPlugin): self.filename_prefix = 'revealer_' revealer.save(self.get_path_to_revealer_file('.png')) self.toPdf(QImage(revealer)) - QDesktopServices.openUrl(QUrl.fromLocalFile(self.get_path_to_revealer_file('.pdf'))) def make_cypherseed(self, img, rawnoise, calibration=False, is_seed = True): img = img.convertToFormat(QImage.Format_Mono) @@ -396,7 +395,6 @@ class Plugin(RevealerPlugin): if not calibration: self.toPdf(QImage(cypherseed)) - QDesktopServices.openUrl(QUrl.fromLocalFile(self.get_path_to_revealer_file('.pdf'))) cypherseed.save(self.get_path_to_revealer_file('.png')) self.bcrypt(self.c_dialog) return cypherseed