src/eric7/UI/UserInterface.py

branch
eric7
changeset 9576
be9f8e7e42e0
parent 9573
9960d19d66b5
child 9579
7c5d443a2544
diff -r 635b6c5a36e1 -r be9f8e7e42e0 src/eric7/UI/UserInterface.py
--- a/src/eric7/UI/UserInterface.py	Tue Dec 06 16:57:54 2022 +0100
+++ b/src/eric7/UI/UserInterface.py	Tue Dec 06 17:35:41 2022 +0100
@@ -2422,7 +2422,7 @@
             )
             self.codeDocumentationViewerActivateAct.setStatusTip(
                 self.tr(
-                    "Switch the input focus to the Code Documentation Viewer" " window."
+                    "Switch the input focus to the Code Documentation Viewer window."
                 )
             )
             self.codeDocumentationViewerActivateAct.setWhatsThis(
@@ -2541,7 +2541,7 @@
         )
         self.virtualenvManagerActivateAct.setStatusTip(
             self.tr(
-                "Switch the input focus to the Virtual Environments Manager" " window."
+                "Switch the input focus to the Virtual Environments Manager window."
             )
         )
         self.virtualenvManagerActivateAct.setWhatsThis(
@@ -2714,9 +2714,7 @@
         )
         self.versionAct.setStatusTip(self.tr("Display version information"))
         self.versionAct.setWhatsThis(
-            self.tr(
-                """<b>Show Versions</b><p>Display version information.</p>"""
-            )
+            self.tr("""<b>Show Versions</b><p>Display version information.</p>""")
         )
         self.versionAct.triggered.connect(self.__showVersions)
         self.actions.append(self.versionAct)
@@ -2763,9 +2761,7 @@
         )
         self.reportBugAct.setStatusTip(self.tr("Report a bug"))
         self.reportBugAct.setWhatsThis(
-            self.tr(
-                """<b>Report Bug...</b><p>Opens a dialog to report a bug.</p>"""
-            )
+            self.tr("""<b>Report Bug...</b><p>Opens a dialog to report a bug.</p>""")
         )
         self.reportBugAct.triggered.connect(self.__reportBug)
         self.actions.append(self.reportBugAct)
@@ -2864,9 +2860,7 @@
         )
         self.testScriptAct.setStatusTip(self.tr("Run tests of the current script"))
         self.testScriptAct.setWhatsThis(
-            self.tr(
-                """<b>Test Script</b><p>Run tests with the current script.</p>"""
-            )
+            self.tr("""<b>Test Script</b><p>Run tests with the current script.</p>""")
         )
         self.testScriptAct.triggered.connect(self.__startTestScript)
         self.testScriptAct.setEnabled(False)
@@ -2883,9 +2877,7 @@
         )
         self.testProjectAct.setStatusTip(self.tr("Run tests of the current project"))
         self.testProjectAct.setWhatsThis(
-            self.tr(
-                """<b>Test Project</b><p>Run test of the current project.</p>"""
-            )
+            self.tr("""<b>Test Project</b><p>Run test of the current project.</p>""")
         )
         self.testProjectAct.triggered.connect(self.__startTestProject)
         self.testProjectAct.setEnabled(False)
@@ -6958,9 +6950,7 @@
                     EricMessageBox.warning(
                         self,
                         self.tr("Start Web Browser"),
-                        self.tr(
-                            """The eric web browser could not be started."""
-                        ),
+                        self.tr("""The eric web browser could not be started."""),
                     )
                     return False
 
@@ -7358,7 +7348,7 @@
             self.tr("Import Keyboard Shortcuts"),
             "",
             self.tr(
-                "Keyboard Shortcuts File (*.ekj);;" "XML Keyboard shortcut file (*.e4k)"
+                "Keyboard Shortcuts File (*.ekj);;XML Keyboard shortcut file (*.e4k)"
             ),
         )
 
@@ -7542,7 +7532,7 @@
                         self,
                         self.tr("Read Tasks"),
                         self.tr(
-                            "<p>The tasks file <b>{0}</b> could not be" " read.</p>"
+                            "<p>The tasks file <b>{0}</b> could not be read.</p>"
                         ).format(fn),
                     )
 
@@ -7586,7 +7576,7 @@
                         self,
                         self.tr("Read Session"),
                         self.tr(
-                            "<p>The session file <b>{0}</b> could not" " be read.</p>"
+                            "<p>The session file <b>{0}</b> could not be read.</p>"
                         ).format(fn),
                     )
                     fn = ""
@@ -7613,7 +7603,7 @@
                         self,
                         self.tr("Read session"),
                         self.tr(
-                            "<p>The session file <b>{0}</b> could not be" " read.</p>"
+                            "<p>The session file <b>{0}</b> could not be read.</p>"
                         ).format(fn),
                     )
 
@@ -7653,7 +7643,7 @@
             self,
             self.tr("Load session"),
             Utilities.getHomeDir(),
-            self.tr("eric Session Files (*.esj);;" "eric XML Session Files (*.e5s)"),
+            self.tr("eric Session Files (*.esj);;eric XML Session Files (*.e5s)"),
         )
 
         if not sessionFile:
@@ -8507,9 +8497,7 @@
                 res = EricMessageBox.warning(
                     self,
                     self.tr("Unsaved Data Detected"),
-                    self.tr(
-                        "Some editors contain unsaved data. Shall these" " be saved?"
-                    ),
+                    self.tr("Some editors contain unsaved data. Shall these be saved?"),
                     EricMessageBox.Abort
                     | EricMessageBox.Discard
                     | EricMessageBox.Save

eric ide

mercurial