951 UI.PixmapCache.getPixmap("linguist48"), |
952 UI.PixmapCache.getPixmap("linguist48"), |
952 self.tr("Translation file generation"), |
953 self.tr("Translation file generation"), |
953 self.tr( |
954 self.tr( |
954 "The generation of the translation files (*.ts) has" |
955 "The generation of the translation files (*.ts) has" |
955 " failed.{0}").format(info), |
956 " failed.{0}").format(info), |
|
957 kind=NotificationTypes.Critical, |
956 timeout=0) |
958 timeout=0) |
957 |
959 |
958 for index in range(len(self.__pylupdateProcesses)): |
960 for index in range(len(self.__pylupdateProcesses)): |
959 if proc == self.__pylupdateProcesses[index][0]: |
961 if proc == self.__pylupdateProcesses[index][0]: |
960 tmpProjectFile = self.__pylupdateProcesses[index][1] |
962 tmpProjectFile = self.__pylupdateProcesses[index][1] |
1207 ui.showNotification( |
1209 ui.showNotification( |
1208 UI.PixmapCache.getPixmap("linguist48"), |
1210 UI.PixmapCache.getPixmap("linguist48"), |
1209 self.tr("Translation file release"), |
1211 self.tr("Translation file release"), |
1210 self.tr( |
1212 self.tr( |
1211 "The release of the translation files (*.qm) has failed."), |
1213 "The release of the translation files (*.qm) has failed."), |
|
1214 kind=NotificationTypes.Critical, |
1212 timeout=0) |
1215 timeout=0) |
1213 |
1216 |
1214 for index in range(len(self.__lreleaseProcesses)): |
1217 for index in range(len(self.__lreleaseProcesses)): |
1215 if proc == self.__lreleaseProcesses[index]: |
1218 if proc == self.__lreleaseProcesses[index]: |
1216 del self.__lreleaseProcesses[index] |
1219 del self.__lreleaseProcesses[index] |