eric6/IconEditor/IconEditorWindow.py

branch
maintenance
changeset 8043
0acf98cd089a
parent 7924
8a96736d465e
parent 7960
e8fc383322f7
child 8176
31965986ecd1
diff -r 866adc8c315b -r 0acf98cd089a eric6/IconEditor/IconEditorWindow.py
--- a/eric6/IconEditor/IconEditorWindow.py	Sun Jan 17 13:53:08 2021 +0100
+++ b/eric6/IconEditor/IconEditorWindow.py	Mon Feb 01 10:38:16 2021 +0100
@@ -47,11 +47,11 @@
         
         @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 initShortcutsOnly flag indicating to just initialize the
+        @param fromEric flag indicating whether it was called from within
+            eric (boolean)
+        @param initShortcutsOnly flag indicating to just initialize the
             keyboard shortcuts (boolean)
-        @keyparam project reference to the project object (Project)
+        @param project reference to the project object (Project)
         """
         super(IconEditorWindow, self).__init__(parent)
         self.setObjectName("eric6_icon_editor")
@@ -1146,14 +1146,14 @@
         file = QFile(fileName)
         if not file.exists():
             E5MessageBox.warning(
-                self, self.tr("eric6 Icon Editor"),
+                self, self.tr("eric Icon Editor"),
                 self.tr("The file '{0}' does not exist.")
                 .format(fileName))
             return
         
         if not file.open(QFile.ReadOnly):
             E5MessageBox.warning(
-                self, self.tr("eric6 Icon Editor"),
+                self, self.tr("eric Icon Editor"),
                 self.tr("Cannot read file '{0}:\n{1}.")
                 .format(fileName, file.errorString()))
             return
@@ -1173,7 +1173,7 @@
         file = QFile(fileName)
         if not file.open(QFile.WriteOnly):
             E5MessageBox.warning(
-                self, self.tr("eric6 Icon Editor"),
+                self, self.tr("eric Icon Editor"),
                 self.tr("Cannot write file '{0}:\n{1}.")
                 .format(fileName, file.errorString()))
         
@@ -1187,7 +1187,7 @@
         
         if not res:
             E5MessageBox.warning(
-                self, self.tr("eric6 Icon Editor"),
+                self, self.tr("eric Icon Editor"),
                 self.tr("Cannot write file '{0}:\n{1}.")
                 .format(fileName, file.errorString()))
         
@@ -1240,7 +1240,7 @@
         if self.__editor.isDirty():
             ret = E5MessageBox.okToClearData(
                 self,
-                self.tr("eric6 Icon Editor"),
+                self.tr("eric Icon Editor"),
                 self.tr("""The icon image has unsaved changes."""),
                 self.__saveIcon)
             if not ret:
@@ -1329,15 +1329,15 @@
         Private slot to show a little About message.
         """
         E5MessageBox.about(
-            self, self.tr("About eric6 Icon Editor"),
-            self.tr("The eric6 Icon Editor is a simple editor component"
+            self, self.tr("About eric Icon Editor"),
+            self.tr("The eric Icon Editor is a simple editor component"
                     " to perform icon drawing tasks."))
     
     def __aboutQt(self):
         """
         Private slot to handle the About Qt dialog.
         """
-        E5MessageBox.aboutQt(self, "eric6 Icon Editor")
+        E5MessageBox.aboutQt(self, "eric Icon Editor")
     
     def __whatsThis(self):
         """

eric ide

mercurial