eric7/Plugins/WizardPlugins/QRegularExpressionWizard/QRegularExpressionWizardDialog.py

branch
eric7
changeset 8459
0ae07748dbe8
parent 8415
c6236bed1b50
child 8881
54e42bc2437a
diff -r d3bedd175c99 -r 0ae07748dbe8 eric7/Plugins/WizardPlugins/QRegularExpressionWizard/QRegularExpressionWizardDialog.py
--- a/eric7/Plugins/WizardPlugins/QRegularExpressionWizard/QRegularExpressionWizardDialog.py	Sat Jul 10 11:41:13 2021 +0200
+++ b/eric7/Plugins/WizardPlugins/QRegularExpressionWizard/QRegularExpressionWizardDialog.py	Sat Jul 10 12:31:31 2021 +0200
@@ -140,7 +140,7 @@
     
     def __sendCommand(self, command, **kw):
         """
-        Private method to send a command to the PyQt5 server.
+        Private method to send a command to the server.
         
         @param command dictionary with command string and related
             data (dict)
@@ -159,7 +159,7 @@
     
     def __receiveResponse(self):
         """
-        Private method to receive a response from the PyQt5 server.
+        Private method to receive a response from the server.
         
         @return response dictionary (dict)
         """
@@ -172,8 +172,8 @@
                 EricMessageBox.critical(
                     self,
                     self.tr("Communication Error"),
-                    self.tr("""<p>The PyQt5 backend reported"""
-                            """ an error.</p><p>{0}</p>""")
+                    self.tr("""<p>The backend reported an error.</p>"""
+                            """<p>{0}</p>""")
                     .format(responseDict["error"]))
                 responseDict = {}
         
@@ -181,7 +181,7 @@
     
     def shutdown(self):
         """
-        Public method to shut down the PyQt5 server part.
+        Public method to shut down the server part.
         """
         self.__sendCommand("exit")
         self.__pyqt6Server.waitForFinished(5000)
@@ -529,14 +529,12 @@
                     EricMessageBox.critical(
                         self,
                         self.tr("Communication Error"),
-                        self.tr("""Invalid response received from"""
-                                """ PyQt5 backend."""))
+                        self.tr("""Invalid response received from backend."""))
             else:
                 EricMessageBox.critical(
                     self,
                     self.tr("Communication Error"),
-                    self.tr("""Communication with PyQt5 backend"""
-                            """ failed."""))
+                    self.tr("""Communication with backend failed."""))
         else:
             EricMessageBox.critical(
                 self,
@@ -700,14 +698,12 @@
                     EricMessageBox.critical(
                         self,
                         self.tr("Communication Error"),
-                        self.tr("""Invalid response received from"""
-                                """ PyQt5 backend."""))
+                        self.tr("""Invalid response received from backend."""))
             else:
                 EricMessageBox.critical(
                     self,
                     self.tr("Communication Error"),
-                    self.tr("""Communication with PyQt5"""
-                            """ backend failed."""))
+                    self.tr("""Communication with  backend failed."""))
         else:
             EricMessageBox.critical(
                 self,

eric ide

mercurial