eric6/Project/ProjectTranslationsBrowser.py

changeset 8265
0090cfa83159
parent 8243
cc717c2ae956
child 8273
698ae46f40a4
equal deleted inserted replaced
8264:f95dde35d0ab 8265:0090cfa83159
953 UI.PixmapCache.getPixmap("linguist48"), 953 UI.PixmapCache.getPixmap("linguist48"),
954 self.tr("Translation file generation"), 954 self.tr("Translation file generation"),
955 self.tr( 955 self.tr(
956 "The generation of the translation files (*.ts) has" 956 "The generation of the translation files (*.ts) has"
957 " failed.{0}").format(info), 957 " failed.{0}").format(info),
958 kind=NotificationTypes.Critical, 958 kind=NotificationTypes.CRITICAL,
959 timeout=0) 959 timeout=0)
960 960
961 for index in range(len(self.__pylupdateProcesses)): 961 for index in range(len(self.__pylupdateProcesses)):
962 if proc == self.__pylupdateProcesses[index][0]: 962 if proc == self.__pylupdateProcesses[index][0]:
963 tmpProjectFile = self.__pylupdateProcesses[index][1] 963 tmpProjectFile = self.__pylupdateProcesses[index][1]
1201 ui.showNotification( 1201 ui.showNotification(
1202 UI.PixmapCache.getPixmap("linguist48"), 1202 UI.PixmapCache.getPixmap("linguist48"),
1203 self.tr("Translation file release"), 1203 self.tr("Translation file release"),
1204 self.tr( 1204 self.tr(
1205 "The release of the translation files (*.qm) has failed."), 1205 "The release of the translation files (*.qm) has failed."),
1206 kind=NotificationTypes.Critical, 1206 kind=NotificationTypes.CRITICAL,
1207 timeout=0) 1207 timeout=0)
1208 1208
1209 for index in range(len(self.__lreleaseProcesses)): 1209 for index in range(len(self.__lreleaseProcesses)):
1210 if proc == self.__lreleaseProcesses[index]: 1210 if proc == self.__lreleaseProcesses[index]:
1211 del self.__lreleaseProcesses[index] 1211 del self.__lreleaseProcesses[index]

eric ide

mercurial