Project/ProjectTranslationsBrowser.py

changeset 3010
befeff46ec0f
parent 2995
63d874899b8b
child 3020
542e97d4ecb3
child 3057
10516539f238
equal deleted inserted replaced
3009:bf5ae5d7477d 3010:befeff46ec0f
906 if exitStatus == QProcess.NormalExit and exitCode == 0: 906 if exitStatus == QProcess.NormalExit and exitCode == 0:
907 ui = e5App().getObject("UserInterface") 907 ui = e5App().getObject("UserInterface")
908 if ui.notificationsEnabled(): 908 if ui.notificationsEnabled():
909 ui.showNotification(UI.PixmapCache.getPixmap("linguist48.png"), 909 ui.showNotification(UI.PixmapCache.getPixmap("linguist48.png"),
910 self.trUtf8("Translation file generation"), 910 self.trUtf8("Translation file generation"),
911 self.trUtf8("The generation of the translation files (*.ts)" 911 self.trUtf8(
912 "The generation of the translation files (*.ts)"
912 " was successful.")) 913 " was successful."))
913 else: 914 else:
914 E5MessageBox.information(self, 915 E5MessageBox.information(self,
915 self.trUtf8("Translation file generation"), 916 self.trUtf8("Translation file generation"),
916 self.trUtf8("The generation of the translation files (*.ts)" 917 self.trUtf8(
918 "The generation of the translation files (*.ts)"
917 " was successful.")) 919 " was successful."))
918 else: 920 else:
919 E5MessageBox.critical(self, 921 E5MessageBox.critical(self,
920 self.trUtf8("Translation file generation"), 922 self.trUtf8("Translation file generation"),
921 self.trUtf8( 923 self.trUtf8(

eric ide

mercurial