Project/Project.py

branch
5_3_x
changeset 2483
e9a964218c4e
parent 2441
e5221566de3a
child 2513
c4c3050ae363
equal deleted inserted replaced
2482:2822be40a366 2483:e9a964218c4e
1366 E5MessageBox.critical(self.ui, 1366 E5MessageBox.critical(self.ui,
1367 self.trUtf8("Add file"), 1367 self.trUtf8("Add file"),
1368 self.trUtf8("<p>The selected file <b>{0}</b> could not be" 1368 self.trUtf8("<p>The selected file <b>{0}</b> could not be"
1369 " added to <b>{1}</b>.</p><p>Reason: {2}</p>") 1369 " added to <b>{1}</b>.</p><p>Reason: {2}</p>")
1370 .format(fn, target, str(why))) 1370 .format(fn, target, str(why)))
1371 return 1371 continue
1372 1372
1373 self.appendFile(targetfile, isSource or filter == 'source') 1373 self.appendFile(targetfile, isSource or filter == 'source')
1374 else: 1374 else:
1375 E5MessageBox.critical(self.ui, 1375 E5MessageBox.critical(self.ui,
1376 self.trUtf8("Add file"), 1376 self.trUtf8("Add file"),
1377 self.trUtf8("The target directory must not be empty.")) 1377 self.trUtf8("The target directory must not be empty."))
1378 1378

eric ide

mercurial