937 """ |
937 """ |
938 if exitStatus == QProcess.NormalExit and exitCode == 0: |
938 if exitStatus == QProcess.NormalExit and exitCode == 0: |
939 ui = e5App().getObject("UserInterface") |
939 ui = e5App().getObject("UserInterface") |
940 if ui.notificationsEnabled(): |
940 if ui.notificationsEnabled(): |
941 ui.showNotification( |
941 ui.showNotification( |
942 UI.PixmapCache.getPixmap("linguist48.png"), |
942 UI.PixmapCache.getPixmap("linguist48"), |
943 self.tr("Translation file generation"), |
943 self.tr("Translation file generation"), |
944 self.tr( |
944 self.tr( |
945 "The generation of the translation files (*.ts)" |
945 "The generation of the translation files (*.ts)" |
946 " was successful.")) |
946 " was successful.")) |
947 else: |
947 else: |
1134 """ |
1134 """ |
1135 if exitStatus == QProcess.NormalExit and exitCode == 0: |
1135 if exitStatus == QProcess.NormalExit and exitCode == 0: |
1136 ui = e5App().getObject("UserInterface") |
1136 ui = e5App().getObject("UserInterface") |
1137 if ui.notificationsEnabled(): |
1137 if ui.notificationsEnabled(): |
1138 ui.showNotification( |
1138 ui.showNotification( |
1139 UI.PixmapCache.getPixmap("linguist48.png"), |
1139 UI.PixmapCache.getPixmap("linguist48"), |
1140 self.tr("Translation file release"), |
1140 self.tr("Translation file release"), |
1141 self.tr("The release of the translation files (*.qm)" |
1141 self.tr("The release of the translation files (*.qm)" |
1142 " was successful.")) |
1142 " was successful.")) |
1143 else: |
1143 else: |
1144 E5MessageBox.information( |
1144 E5MessageBox.information( |