E5XML/XMLStreamReaderBase.py

changeset 604
a2671d497b49
parent 592
3ad07054e658
child 605
9c7527ecbf6e
diff -r 7f620c649182 -r a2671d497b49 E5XML/XMLStreamReaderBase.py
--- a/E5XML/XMLStreamReaderBase.py	Sun Sep 12 19:38:36 2010 +0200
+++ b/E5XML/XMLStreamReaderBase.py	Sun Sep 12 19:44:54 2010 +0200
@@ -59,8 +59,8 @@
         """
         if self.hasError():
             msg = QCoreApplication.translate("XMLStreamReaderBase",
-                "<p>XML parse error in file <b>{0}</b>, line {1}, column {2}<p>"
-                "<p>Error: {3}").format(self.device().fileName(), 
+                "<p>XML parse error in file <b>{0}</b>, line {1}, column {2}</p>"
+                "<p>Error: {3}</p>").format(self.device().fileName(), 
                     self.lineNumber(), self.columnNumber(), self.errorString())
             E5MessageBox.warning(None,
                 QCoreApplication.translate("XMLStreamReaderBase", "XML parse error"),
@@ -82,7 +82,7 @@
         @param version unsupported version (string)
         """
         self.raiseError(QCoreApplication.translate("XMLStreamReaderBase",
-            "File format version '{0}' is not supported.".format(version)))
+            "File format version '{0}' is not supported.").format(version))
     
     def raiseBadValue(self, value):
         """
@@ -91,7 +91,7 @@
         @param value bad value (string)
         """
         self.raiseError(QCoreApplication.translate("XMLStreamReaderBase",
-            "Bad value: {0}".format(value)))
+            "Bad value: {0}").format(value))
     
     def readXML(self):
         """

eric ide

mercurial