680 self.tr("Delete translation files"), |
680 self.tr("Delete translation files"), |
681 self.tr("Do you really want to delete these translation files" |
681 self.tr("Do you really want to delete these translation files" |
682 " from the project?"), |
682 " from the project?"), |
683 translationFiles) |
683 translationFiles) |
684 |
684 |
685 if dlg.exec_() == QDialog.Accepted: |
685 if dlg.exec() == QDialog.Accepted: |
686 for fn in translationFiles: |
686 for fn in translationFiles: |
687 self.closeSourceWindow.emit(fn) |
687 self.closeSourceWindow.emit(fn) |
688 self.project.deleteLanguageFile(fn) |
688 self.project.deleteLanguageFile(fn) |
689 |
689 |
690 def __TRPreview(self, previewAll=False): |
690 def __TRPreview(self, previewAll=False): |