revealer: improve code formatting
This commit is contained in:
@@ -254,24 +254,37 @@ class Plugin(RevealerPlugin):
|
|||||||
self.rawnoise = False
|
self.rawnoise = False
|
||||||
version = self.versioned_seed.version
|
version = self.versioned_seed.version
|
||||||
code_id = self.versioned_seed.checksum
|
code_id = self.versioned_seed.checksum
|
||||||
dialog.show_message(''.join([_("{} encrypted for Revealer {}_{} saved as PNG and PDF at: ").format(self.was, version, code_id),
|
dialog.show_message(''.join([
|
||||||
"<b>", self.get_path_to_revealer_file(), "</b>", "<br/>",
|
_("{} encrypted for Revealer {}_{} saved as PNG and PDF at: ").format(self.was, version, code_id),
|
||||||
"<br/>", "<b>", _("Always check your backups.")]),
|
"<b>",
|
||||||
rich_text=True)
|
self.get_path_to_revealer_file(),
|
||||||
|
"</b>",
|
||||||
|
"<br/>",
|
||||||
|
"<br/>",
|
||||||
|
"<b>",
|
||||||
|
_("Always check your backups.")
|
||||||
|
]), rich_text=True)
|
||||||
dialog.close()
|
dialog.close()
|
||||||
|
|
||||||
def ext_warning(self, dialog):
|
def ext_warning(self, dialog):
|
||||||
dialog.show_message(''.join(["<b>",_("Warning"), ": </b>",
|
dialog.show_message(''.join([
|
||||||
_("your seed extension will <b>not</b> be included in the encrypted backup.")]),
|
"<b>",
|
||||||
rich_text=True)
|
_("Warning"),
|
||||||
|
": </b>",
|
||||||
|
_("your seed extension will <b>not</b> be included in the encrypted backup.")
|
||||||
|
]), rich_text=True)
|
||||||
dialog.close()
|
dialog.close()
|
||||||
|
|
||||||
def bdone(self, dialog):
|
def bdone(self, dialog):
|
||||||
version = self.versioned_seed.version
|
version = self.versioned_seed.version
|
||||||
code_id = self.versioned_seed.checksum
|
code_id = self.versioned_seed.checksum
|
||||||
dialog.show_message(''.join([_("Digital Revealer ({}_{}) saved as PNG and PDF at:").format(version, code_id),
|
dialog.show_message(''.join([
|
||||||
"<br/>","<b>", self.get_path_to_revealer_file(), '</b>']),
|
_("Digital Revealer ({}_{}) saved as PNG and PDF at:").format(version, code_id),
|
||||||
rich_text=True)
|
"<br/>",
|
||||||
|
"<b>",
|
||||||
|
self.get_path_to_revealer_file(),
|
||||||
|
'</b>'
|
||||||
|
]), rich_text=True)
|
||||||
|
|
||||||
|
|
||||||
def customtxt_limits(self):
|
def customtxt_limits(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user