QScintilla/MiniEditor.py

changeset 15
f6ccc31d6e72
parent 13
1af94a91f439
child 42
23b45a742e17
--- a/QScintilla/MiniEditor.py	Sat Jan 02 16:15:57 2010 +0000
+++ b/QScintilla/MiniEditor.py	Sat Jan 02 17:09:08 2010 +0000
@@ -234,8 +234,8 @@
         """
         Private slot to show a little About message.
         """
-        QMessageBox.about(self, self.trUtf8("About eric4 Mini Editor"),
-            self.trUtf8("The eric4 Mini Editor is an editor component"
+        QMessageBox.about(self, self.trUtf8("About eric5 Mini Editor"),
+            self.trUtf8("The eric5 Mini Editor is an editor component"
                 " based on QScintilla. It may be used for simple"
                 " editing tasks, that don't need the power of"
                 " a full blown editor."))
@@ -244,7 +244,7 @@
         """
         Private slot to handle the About Qt dialog.
         """
-        QMessageBox.aboutQt(self, "eric4 Mini Editor")
+        QMessageBox.aboutQt(self, "eric5 Mini Editor")
     
     def __whatsThis(self):
         """
@@ -332,7 +332,7 @@
         self.__createSearchActions()
         
         # read the keyboard shortcuts and make them identical to the main
-        # eric4 shortcuts
+        # eric5 shortcuts
         for act in self.helpActions:
             self.__readShortcut(act, "General")
         for act in self.editActions:
@@ -1485,7 +1485,7 @@
         """
         if self.__textEdit.isModified():
             ret = QMessageBox.warning(self, 
-                    self.trUtf8("eric4 Mini Editor"),
+                    self.trUtf8("eric5 Mini Editor"),
                     self.trUtf8("The document has been modified.\n"
                             "Do you want to save your changes?"),
                     QMessageBox.StandardButtons(\
@@ -1549,7 +1549,7 @@
         """
         file = QFile(fileName)
         if not file.open(QFile.WriteOnly):
-            QMessageBox.warning(self, self.trUtf8("eric4 Mini Editor"),
+            QMessageBox.warning(self, self.trUtf8("eric5 Mini Editor"),
                                  self.trUtf8("Cannot write file {0}:\n{1}.")\
                                  .format(fileName, file.errorString()))
         
@@ -2339,4 +2339,4 @@
         fileEol = self.__textEdit.detectEolString(txt)
         self.__textEdit.setEolModeByEolString(fileEol)
         
-        self.__textEdit.setModified(False)
+        self.__textEdit.setModified(False)
\ No newline at end of file

eric ide

mercurial