src/eric7/Plugins/WizardPlugins/QRegularExpressionWizard/QRegularExpressionWizardDialog.py

branch
eric7
changeset 9573
9960d19d66b5
parent 9473
3f23dbf37dbe
child 9576
be9f8e7e42e0
equal deleted inserted replaced
9572:3b46c662a004 9573:9960d19d66b5
170 if responseDict["error"]: 170 if responseDict["error"]:
171 EricMessageBox.critical( 171 EricMessageBox.critical(
172 self, 172 self,
173 self.tr("Communication Error"), 173 self.tr("Communication Error"),
174 self.tr( 174 self.tr(
175 """<p>The backend reported an error.</p>""" """<p>{0}</p>""" 175 """<p>The backend reported an error.</p><p>{0}</p>"""
176 ).format(responseDict["error"]), 176 ).format(responseDict["error"]),
177 ) 177 )
178 responseDict = {} 178 responseDict = {}
179 179
180 return responseDict 180 return responseDict
731 ) 731 )
732 else: 732 else:
733 EricMessageBox.critical( 733 EricMessageBox.critical(
734 self, 734 self,
735 self.tr("Error"), 735 self.tr("Error"),
736 self.tr("""A regular expression and a text must""" """ be given."""), 736 self.tr("""A regular expression and a text must be given."""),
737 ) 737 )
738 738
739 @pyqtSlot() 739 @pyqtSlot()
740 def on_nextButton_clicked(self): 740 def on_nextButton_clicked(self):
741 """ 741 """

eric ide

mercurial