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 |