src/eric7/WebBrowser/WebBrowserWindow.py

branch
eric7
changeset 9573
9960d19d66b5
parent 9482
a2bc06a54d9d
child 9576
be9f8e7e42e0
diff -r 3b46c662a004 -r 9960d19d66b5 src/eric7/WebBrowser/WebBrowserWindow.py
--- a/src/eric7/WebBrowser/WebBrowserWindow.py	Tue Dec 06 16:00:06 2022 +0100
+++ b/src/eric7/WebBrowser/WebBrowserWindow.py	Tue Dec 06 16:04:58 2022 +0100
@@ -719,7 +719,7 @@
         )
         self.newTabAct.setStatusTip(self.tr("Open a new web browser tab"))
         self.newTabAct.setWhatsThis(
-            self.tr("""<b>New Tab</b>""" """<p>This opens a new web browser tab.</p>""")
+            self.tr("""<b>New Tab</b><p>This opens a new web browser tab.</p>""")
         )
         self.newTabAct.triggered.connect(self.newTab)
         self.__actions.append(self.newTabAct)
@@ -819,7 +819,7 @@
             self.saveAsAct.setStatusTip(self.tr("Save the current page to disk"))
             self.saveAsAct.setWhatsThis(
                 self.tr(
-                    """<b>Save As...</b>""" """<p>Saves the current page to disk.</p>"""
+                    """<b>Save As...</b><p>Saves the current page to disk.</p>"""
                 )
             )
             self.saveAsAct.triggered.connect(self.__savePageAs)
@@ -901,7 +901,7 @@
         )
         self.printAct.setStatusTip(self.tr("Print the displayed help"))
         self.printAct.setWhatsThis(
-            self.tr("""<b>Print</b>""" """<p>Print the displayed help text.</p>""")
+            self.tr("""<b>Print</b><p>Print the displayed help text.</p>""")
         )
         self.printAct.triggered.connect(self.__tabWidget.printBrowser)
         self.__actions.append(self.printAct)
@@ -979,7 +979,7 @@
         self.closeAct.setStatusTip(self.tr("Close the current help window"))
         self.closeAct.setWhatsThis(
             self.tr(
-                """<b>Close</b>""" """<p>Closes the current web browser window.</p>"""
+                """<b>Close</b><p>Closes the current web browser window.</p>"""
             )
         )
         self.closeAct.triggered.connect(self.__tabWidget.closeBrowser)
@@ -1014,7 +1014,7 @@
         )
         self.exitAct.setStatusTip(self.tr("Quit the eric Web Browser"))
         self.exitAct.setWhatsThis(
-            self.tr("""<b>Quit</b>""" """<p>Quit the eric Web Browser.</p>""")
+            self.tr("""<b>Quit</b><p>Quit the eric Web Browser.</p>""")
         )
         self.exitAct.triggered.connect(self.shutdown)
         self.__actions.append(self.exitAct)
@@ -1070,7 +1070,7 @@
         )
         self.homeAct.setStatusTip(self.tr("Move to the initial screen"))
         self.homeAct.setWhatsThis(
-            self.tr("""<b>Home</b>""" """<p>Moves to the initial screen.</p>""")
+            self.tr("""<b>Home</b><p>Moves to the initial screen.</p>""")
         )
         self.homeAct.triggered.connect(self.__home)
         self.__actions.append(self.homeAct)
@@ -1086,7 +1086,7 @@
         )
         self.reloadAct.setStatusTip(self.tr("Reload the current screen"))
         self.reloadAct.setWhatsThis(
-            self.tr("""<b>Reload</b>""" """<p>Reloads the current screen.</p>""")
+            self.tr("""<b>Reload</b><p>Reloads the current screen.</p>""")
         )
         self.reloadAct.triggered.connect(self.__reload)
         self.__actions.append(self.reloadAct)
@@ -1102,7 +1102,7 @@
         )
         self.stopAct.setStatusTip(self.tr("Stop loading"))
         self.stopAct.setWhatsThis(
-            self.tr("""<b>Stop</b>""" """<p>Stops loading of the current tab.</p>""")
+            self.tr("""<b>Stop</b><p>Stops loading of the current tab.</p>""")
         )
         self.stopAct.triggered.connect(self.__stopLoading)
         self.__actions.append(self.stopAct)
@@ -1119,7 +1119,7 @@
         self.copyAct.setStatusTip(self.tr("Copy the selected text"))
         self.copyAct.setWhatsThis(
             self.tr(
-                """<b>Copy</b>""" """<p>Copy the selected text to the clipboard.</p>"""
+                """<b>Copy</b><p>Copy the selected text to the clipboard.</p>"""
             )
         )
         self.copyAct.triggered.connect(self.__copy)
@@ -1137,7 +1137,7 @@
         self.cutAct.setStatusTip(self.tr("Cut the selected text"))
         self.cutAct.setWhatsThis(
             self.tr(
-                """<b>Cut</b>""" """<p>Cut the selected text to the clipboard.</p>"""
+                """<b>Cut</b><p>Cut the selected text to the clipboard.</p>"""
             )
         )
         self.cutAct.triggered.connect(self.__cut)
@@ -1154,7 +1154,7 @@
         )
         self.pasteAct.setStatusTip(self.tr("Paste text from the clipboard"))
         self.pasteAct.setWhatsThis(
-            self.tr("""<b>Paste</b>""" """<p>Paste some text from the clipboard.</p>""")
+            self.tr("""<b>Paste</b><p>Paste some text from the clipboard.</p>""")
         )
         self.pasteAct.triggered.connect(self.__paste)
         self.__actions.append(self.pasteAct)
@@ -1170,7 +1170,7 @@
         )
         self.undoAct.setStatusTip(self.tr("Undo the last edit action"))
         self.undoAct.setWhatsThis(
-            self.tr("""<b>Undo</b>""" """<p>Undo the last edit action.</p>""")
+            self.tr("""<b>Undo</b><p>Undo the last edit action.</p>""")
         )
         self.undoAct.triggered.connect(self.__undo)
         self.__actions.append(self.undoAct)
@@ -1186,7 +1186,7 @@
         )
         self.redoAct.setStatusTip(self.tr("Redo the last edit action"))
         self.redoAct.setWhatsThis(
-            self.tr("""<b>Redo</b>""" """<p>Redo the last edit action.</p>""")
+            self.tr("""<b>Redo</b><p>Redo the last edit action.</p>""")
         )
         self.redoAct.triggered.connect(self.__redo)
         self.__actions.append(self.redoAct)
@@ -1239,7 +1239,7 @@
         )
         self.findAct.setStatusTip(self.tr("Find text in page"))
         self.findAct.setWhatsThis(
-            self.tr("""<b>Find</b>""" """<p>Find text in the current page.</p>""")
+            self.tr("""<b>Find</b><p>Find text in the current page.</p>""")
         )
         self.findAct.triggered.connect(self.__find)
         self.__actions.append(self.findAct)
@@ -1604,7 +1604,7 @@
         )
         self.cookiesAct.setStatusTip(self.tr("Configure cookies handling"))
         self.cookiesAct.setWhatsThis(
-            self.tr("""<b>Cookies</b>""" """<p>Configure cookies handling.</p>""")
+            self.tr("""<b>Cookies</b><p>Configure cookies handling.</p>""")
         )
         self.cookiesAct.triggered.connect(self.__showCookiesConfiguration)
         self.__actions.append(self.cookiesAct)
@@ -1742,7 +1742,7 @@
             )
             self.showIndexAct.setStatusTip(self.tr("Shows the index window"))
             self.showIndexAct.setWhatsThis(
-                self.tr("""<b>Index</b>""" """<p>Shows the index window.</p>""")
+                self.tr("""<b>Index</b><p>Shows the index window.</p>""")
             )
             self.showIndexAct.triggered.connect(self.__showIndexWindow)
             self.__actions.append(self.showIndexAct)
@@ -1757,7 +1757,7 @@
             )
             self.showSearchAct.setStatusTip(self.tr("Shows the search window"))
             self.showSearchAct.setWhatsThis(
-                self.tr("""<b>Search</b>""" """<p>Shows the search window.</p>""")
+                self.tr("""<b>Search</b><p>Shows the search window.</p>""")
             )
             self.showSearchAct.triggered.connect(self.__showSearchWindow)
             self.__actions.append(self.showSearchAct)
@@ -1982,7 +1982,7 @@
         )
         self.showDownloadManagerAct.setStatusTip(self.tr("Shows the downloads window"))
         self.showDownloadManagerAct.setWhatsThis(
-            self.tr("""<b>Downloads</b>""" """<p>Shows the downloads window.</p>""")
+            self.tr("""<b>Downloads</b><p>Shows the downloads window.</p>""")
         )
         self.showDownloadManagerAct.triggered.connect(self.__showDownloadsWindow)
         self.__actions.append(self.showDownloadManagerAct)
@@ -2123,7 +2123,7 @@
         )
         self.showTabManagerAct.setStatusTip(self.tr("Shows the tab manager window"))
         self.showTabManagerAct.setWhatsThis(
-            self.tr("""<b>Tab Manager</b>""" """<p>Shows the tab manager window.</p>""")
+            self.tr("""<b>Tab Manager</b><p>Shows the tab manager window.</p>""")
         )
         self.showTabManagerAct.triggered.connect(
             lambda: self.__showTabManager(self.showTabManagerAct)

eric ide

mercurial