diff -r 3b46c662a004 -r 9960d19d66b5 src/eric7/Tools/TRPreviewer.py --- a/src/eric7/Tools/TRPreviewer.py Tue Dec 06 16:00:06 2022 +0100 +++ b/src/eric7/Tools/TRPreviewer.py Tue Dec 06 16:04:58 2022 +0100 @@ -217,7 +217,7 @@ self.exitAct.setShortcut(QKeySequence(self.tr("Ctrl+Q", "File|Quit"))) self.exitAct.setStatusTip(self.tr("Quit the application")) self.exitAct.setWhatsThis( - self.tr("""<b>Quit</b>""" """<p>Quit the application.</p>""") + self.tr("""<b>Quit</b><p>Quit the application.</p>""") ) self.exitAct.triggered.connect(ericApp().closeAllWindows) @@ -288,14 +288,14 @@ self.closeAct.setShortcut(QKeySequence(self.tr("Ctrl+W", "File|Close"))) self.closeAct.setStatusTip(self.tr("Close the current window")) self.closeAct.setWhatsThis( - self.tr("""<b>Close Window</b>""" """<p>Close the current window.</p>""") + self.tr("""<b>Close Window</b><p>Close the current window.</p>""") ) self.closeAct.triggered.connect(self.preview.closeWidget) self.closeAllAct = QAction(self.tr("Clos&e All"), self) self.closeAllAct.setStatusTip(self.tr("Close all windows")) self.closeAllAct.setWhatsThis( - self.tr("""<b>Close All Windows</b>""" """<p>Close all windows.</p>""") + self.tr("""<b>Close All Windows</b><p>Close all windows.</p>""") ) self.closeAllAct.triggered.connect(self.preview.closeAllWidgets) @@ -687,7 +687,7 @@ self.parent(), self.tr("Load Translator"), self.tr( - """<p>The translation file <b>{0}</b> could""" """ not be loaded.</p>""" + """<p>The translation file <b>{0}</b> could not be loaded.</p>""" ).format(transFileName), ) return None