Corrected some info messages. eric7

Tue, 21 Jun 2022 17:16:22 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 21 Jun 2022 17:16:22 +0200
branch
eric7
changeset 9165
17617e5d5473
parent 9164
111fe229ee4f
child 9166
420cca1c5b6d

Corrected some info messages.

eric7/HexEdit/HexEditMainWindow.py file | annotate | diff | comparison | revisions
eric7/WebBrowser/AdBlock/AdBlockSubscription.py file | annotate | diff | comparison | revisions
--- a/eric7/HexEdit/HexEditMainWindow.py	Tue Jun 21 17:15:52 2022 +0200
+++ b/eric7/HexEdit/HexEditMainWindow.py	Tue Jun 21 17:16:22 2022 +0200
@@ -997,7 +997,8 @@
         except OSError as err:
             EricMessageBox.warning(
                 self, self.tr("eric Hex Editor"),
-                self.tr("<p>Cannot read file <b>{0}</b>.</p><p>Reason:{1}</p>")
+                self.tr("<p>Cannot read file <b>{0}</b>.</p>"
+                        "<p>Reason: {1}</p>")
                 .format(fileName, str(err)))
             return
         
@@ -1111,7 +1112,7 @@
             EricMessageBox.warning(
                 self, self.tr("eric Hex Editor"),
                 self.tr("<p>Cannot write file <b>{0}</b>.</p>"
-                        "<p>Reason:{1}</p>")
+                        "<p>Reason: {1}</p>")
                 .format(fileName, str(err)))
             self.__checkActions()
             return False
@@ -1178,7 +1179,8 @@
         except OSError as err:
             EricMessageBox.warning(
                 self, self.tr("eric Hex Editor"),
-                self.tr("Cannot write file '{0}:\n{1}.")
+                self.tr("<p>Cannot write file <b>{0}</b>.</p>"
+                        "<p>Reason: {1}</p>")
                 .format(fpath, str(err)))
             return
         
--- a/eric7/WebBrowser/AdBlock/AdBlockSubscription.py	Tue Jun 21 17:15:52 2022 +0200
+++ b/eric7/WebBrowser/AdBlock/AdBlockSubscription.py	Tue Jun 21 17:16:22 2022 +0200
@@ -337,7 +337,7 @@
                     None,
                     self.tr("Load subscription rules"),
                     self.tr(
-                        """Unable to read AdBlock file '{0}'\nReason: {1}.""")
+                        """Unable to read AdBlock file '{0}'.\nReason: {1}""")
                     .format(fileName, str(err))
                 )
         

eric ide

mercurial