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 |