Helpviewer/History/HistoryManager.py

changeset 168
3383117f894b
parent 38
5fe2b7deab15
child 257
e03694226603
diff -r 7508e44f4853 -r 3383117f894b Helpviewer/History/HistoryManager.py
--- a/Helpviewer/History/HistoryManager.py	Fri Apr 02 13:57:06 2010 +0000
+++ b/Helpviewer/History/HistoryManager.py	Fri Apr 02 17:12:47 2010 +0000
@@ -336,8 +336,8 @@
         if not historyFile.open(QIODevice.ReadOnly):
             QMessageBox.warning(None,
                 self.trUtf8("Loading History"),
-                self.trUtf8("""Unable to open history file <b>{0}</b>.<br/>"""
-                            """Reason: {1}""")\
+                self.trUtf8("""<p>Unable to open history file <b>{0}</b>.<br/>"""
+                            """Reason: {1}</p>""")\
                     .format(historyFile.fileName, historyFile.errorString()))
             return
         
@@ -412,8 +412,8 @@
         if not opened:
             QMessageBox.warning(None,
                 self.trUtf8("Saving History"),
-                self.trUtf8("""Unable to open history file <b>{0}</b>.<br/>"""
-                            """Reason: {1}""")\
+                self.trUtf8("""<p>Unable to open history file <b>{0}</b>.<br/>"""
+                            """Reason: {1}</p>""")\
                     .format(f.fileName(), f.errorString()))
             return
         
@@ -432,14 +432,14 @@
             if historyFile.exists() and not historyFile.remove():
                 QMessageBox.warning(None,
                     self.trUtf8("Saving History"),
-                    self.trUtf8("""Error removing old history file <b>{0}</b>."""
-                                """<br/>Reason: {1}""")\
+                    self.trUtf8("""<p>Error removing old history file <b>{0}</b>."""
+                                """<br/>Reason: {1}</p>""")\
                         .format(historyFile.fileName(), historyFile.errorString()))
             if not f.copy(historyFile.fileName()):
                 QMessageBox.warning(None,
                     self.trUtf8("Saving History"),
-                    self.trUtf8("""Error moving new history file over old one """
-                                """(<b>{0}</b>).<br/>Reason: {1}""")\
+                    self.trUtf8("""<p>Error moving new history file over old one """
+                                """(<b>{0}</b>).<br/>Reason: {1}</p>""")\
                         .format(historyFile.fileName(), tempFile.errorString()))
         
         try:

eric ide

mercurial