946 self.tr("Translation file generation"), |
946 self.tr("Translation file generation"), |
947 self.tr( |
947 self.tr( |
948 "The generation of the translation files (*.ts)" |
948 "The generation of the translation files (*.ts)" |
949 " was successful.")) |
949 " was successful.")) |
950 else: |
950 else: |
|
951 if exitStatus == QProcess.CrashExit: |
|
952 info = self.tr(" The process has crashed.") |
|
953 else: |
|
954 info = "" |
951 E5MessageBox.critical( |
955 E5MessageBox.critical( |
952 self, |
956 self, |
953 self.tr("Translation file generation"), |
957 self.tr("Translation file generation"), |
954 self.tr( |
958 self.tr( |
955 "The generation of the translation files (*.ts) has" |
959 "The generation of the translation files (*.ts) has" |
956 " failed.")) |
960 " failed.{0}").format(info)) |
957 |
961 |
958 proc = self.sender() |
962 proc = self.sender() |
959 for index in range(len(self.__pylupdateProcesses)): |
963 for index in range(len(self.__pylupdateProcesses)): |
960 if proc == self.__pylupdateProcesses[index][0]: |
964 if proc == self.__pylupdateProcesses[index][0]: |
961 try: |
965 try: |