eric6/HexEdit/HexEditMainWindow.py

branch
maintenance
changeset 8043
0acf98cd089a
parent 7924
8a96736d465e
parent 7960
e8fc383322f7
child 8176
31965986ecd1
--- a/eric6/HexEdit/HexEditMainWindow.py	Sun Jan 17 13:53:08 2021 +0100
+++ b/eric6/HexEdit/HexEditMainWindow.py	Mon Feb 01 10:38:16 2021 +0100
@@ -53,9 +53,9 @@
         
         @param fileName name of a file to load on startup (string)
         @param parent parent widget of this window (QWidget)
-        @keyparam fromEric flag indicating whether it was called from within
-            eric6 (boolean)
-        @keyparam project reference to the project object (Project)
+        @param fromEric flag indicating whether it was called from within
+            eric (boolean)
+        @param project reference to the project object (Project)
         """
         super(HexEditMainWindow, self).__init__(parent)
         self.setObjectName("eric6_hex_editor")
@@ -962,7 +962,7 @@
         if self.__editor.isModified():
             ret = E5MessageBox.okToClearData(
                 self,
-                self.tr("eric6 Hex Editor"),
+                self.tr("eric Hex Editor"),
                 self.tr("""The loaded file has unsaved changes."""),
                 self.__saveHexFile)
             if not ret:
@@ -979,14 +979,14 @@
         file = QFile(fileName)
         if not file.exists():
             E5MessageBox.warning(
-                self, self.tr("eric6 Hex Editor"),
+                self, self.tr("eric Hex Editor"),
                 self.tr("The file '{0}' does not exist.")
                 .format(fileName))
             return
         
         if not file.open(QFile.ReadOnly):
             E5MessageBox.warning(
-                self, self.tr("eric6 Hex Editor"),
+                self, self.tr("eric Hex Editor"),
                 self.tr("Cannot read file '{0}:\n{1}.")
                 .format(fileName, file.errorString()))
             return
@@ -1093,7 +1093,7 @@
         file = QFile(fileName)
         if not file.open(QFile.WriteOnly):
             E5MessageBox.warning(
-                self, self.tr("eric6 Hex Editor"),
+                self, self.tr("eric Hex Editor"),
                 self.tr("Cannot write file '{0}:\n{1}.")
                 .format(fileName, file.errorString()))
         
@@ -1106,7 +1106,7 @@
         
         if not res:
             E5MessageBox.warning(
-                self, self.tr("eric6 Hex Editor"),
+                self, self.tr("eric Hex Editor"),
                 self.tr("Cannot write file '{0}:\n{1}.")
                 .format(fileName, file.errorString()))
         
@@ -1165,7 +1165,7 @@
         file = QFile(fileName)
         if not file.open(QFile.WriteOnly):
             E5MessageBox.warning(
-                self, self.tr("eric6 Hex Editor"),
+                self, self.tr("eric Hex Editor"),
                 self.tr("Cannot write file '{0}:\n{1}.")
                 .format(fileName, file.errorString()))
             return
@@ -1179,7 +1179,7 @@
         
         if not res:
             E5MessageBox.warning(
-                self, self.tr("eric6 Hex Editor"),
+                self, self.tr("eric Hex Editor"),
                 self.tr("Cannot write file '{0}:\n{1}.")
                 .format(fileName, file.errorString()))
             return
@@ -1282,15 +1282,15 @@
         Private slot to show a little About message.
         """
         E5MessageBox.about(
-            self, self.tr("About eric6 Hex Editor"),
-            self.tr("The eric6 Hex Editor is a simple editor component"
+            self, self.tr("About eric Hex Editor"),
+            self.tr("The eric Hex Editor is a simple editor component"
                     " to edit binary files."))
     
     def __aboutQt(self):
         """
         Private slot to handle the About Qt dialog.
         """
-        E5MessageBox.aboutQt(self, "eric6 Hex Editor")
+        E5MessageBox.aboutQt(self, "eric Hex Editor")
     
     def __whatsThis(self):
         """

eric ide

mercurial