--- a/Helpviewer/History/HistoryManager.py Fri Jan 10 19:30:21 2014 +0100 +++ b/Helpviewer/History/HistoryManager.py Sat Jan 11 11:55:33 2014 +0100 @@ -384,8 +384,8 @@ if not historyFile.open(QIODevice.ReadOnly): E5MessageBox.warning( None, - self.trUtf8("Loading History"), - self.trUtf8( + self.tr("Loading History"), + self.tr( """<p>Unable to open history file <b>{0}</b>.<br/>""" """Reason: {1}</p>""") .format(historyFile.fileName, historyFile.errorString())) @@ -464,8 +464,8 @@ if not opened: E5MessageBox.warning( None, - self.trUtf8("Saving History"), - self.trUtf8( + self.tr("Saving History"), + self.tr( """<p>Unable to open history file <b>{0}</b>.<br/>""" """Reason: {1}</p>""") .format(f.fileName(), f.errorString())) @@ -487,8 +487,8 @@ if historyFile.exists() and not historyFile.remove(): E5MessageBox.warning( None, - self.trUtf8("Saving History"), - self.trUtf8( + self.tr("Saving History"), + self.tr( """<p>Error removing old history file <b>{0}</b>.""" """<br/>Reason: {1}</p>""") .format(historyFile.fileName(), @@ -496,8 +496,8 @@ if not f.copy(historyFile.fileName()): E5MessageBox.warning( None, - self.trUtf8("Saving History"), - self.trUtf8( + self.tr("Saving History"), + self.tr( """<p>Error moving new history file over old one """ """(<b>{0}</b>).<br/>Reason: {1}</p>""") .format(historyFile.fileName(), f.errorString()))