Project/Project.py

changeset 2481
60da8e6c0547
parent 2440
9a2d05a2f6d2
child 2512
290462cc60cb
equal deleted inserted replaced
2480:30477cebf808 2481:60da8e6c0547
1388 E5MessageBox.critical(self.ui, 1388 E5MessageBox.critical(self.ui,
1389 self.trUtf8("Add file"), 1389 self.trUtf8("Add file"),
1390 self.trUtf8("<p>The selected file <b>{0}</b> could not be" 1390 self.trUtf8("<p>The selected file <b>{0}</b> could not be"
1391 " added to <b>{1}</b>.</p><p>Reason: {2}</p>") 1391 " added to <b>{1}</b>.</p><p>Reason: {2}</p>")
1392 .format(fn, target, str(why))) 1392 .format(fn, target, str(why)))
1393 return 1393 continue
1394 1394
1395 self.appendFile(targetfile, isSource or filter == 'source') 1395 self.appendFile(targetfile, isSource or filter == 'source')
1396 else: 1396 else:
1397 E5MessageBox.critical(self.ui, 1397 E5MessageBox.critical(self.ui,
1398 self.trUtf8("Add file"), 1398 self.trUtf8("Add file"),
1399 self.trUtf8("The target directory must not be empty.")) 1399 self.trUtf8("The target directory must not be empty."))
1400 1400

eric ide

mercurial