Graphics/UMLDialog.py

branch
Py2 comp.
changeset 3060
5883ce99ee12
parent 3058
0a02c433f52d
parent 3035
36e9f388958b
child 3145
a9de05d4a22f
equal deleted inserted replaced
3058:0a02c433f52d 3060:5883ce99ee12
372 @param filename name of the file containing the invalid data (string) 372 @param filename name of the file containing the invalid data (string)
373 @param linenum number of the invalid line (integer) 373 @param linenum number of the invalid line (integer)
374 """ 374 """
375 if linenum < 0: 375 if linenum < 0:
376 msg = self.trUtf8("""<p>The file <b>{0}</b> does not contain""" 376 msg = self.trUtf8("""<p>The file <b>{0}</b> does not contain"""
377 """ valid data.</p>""").format(filename) 377 """ valid data.</p>""").format(filename)
378 else: 378 else:
379 msg = self.trUtf8("""<p>The file <b>{0}</b> does not contain""" 379 msg = self.trUtf8("""<p>The file <b>{0}</b> does not contain"""
380 """ valid data.</p><p>Invalid line: {1}</p>""" 380 """ valid data.</p><p>Invalid line: {1}</p>"""
381 ).format(filename, linenum + 1) 381 ).format(filename, linenum + 1)
382 E5MessageBox.critical(self, self.trUtf8("Load Diagram"), msg) 382 E5MessageBox.critical(self, self.trUtf8("Load Diagram"), msg)

eric ide

mercurial