eric6/Project/ProjectTranslationsBrowser.py

changeset 7959
44e15eda6506
parent 7955
567f2ec958c3
child 8001
3b33b7d493ff
diff -r a70ebfad3d0e -r 44e15eda6506 eric6/Project/ProjectTranslationsBrowser.py
--- a/eric6/Project/ProjectTranslationsBrowser.py	Tue Jan 05 15:14:40 2021 +0100
+++ b/eric6/Project/ProjectTranslationsBrowser.py	Tue Jan 05 18:28:31 2021 +0100
@@ -26,6 +26,7 @@
 from .ProjectBaseBrowser import ProjectBaseBrowser
 
 import UI.PixmapCache
+from UI.NotificationWidget import NotificationTypes
 
 import Preferences
 import Utilities
@@ -953,6 +954,7 @@
                 self.tr(
                     "The generation of the translation files (*.ts) has"
                     " failed.{0}").format(info),
+                kind=NotificationTypes.Critical,
                 timeout=0)
         
         for index in range(len(self.__pylupdateProcesses)):
@@ -1209,6 +1211,7 @@
                 self.tr("Translation file release"),
                 self.tr(
                     "The release of the translation files (*.qm) has failed."),
+                kind=NotificationTypes.Critical,
                 timeout=0)
         
         for index in range(len(self.__lreleaseProcesses)):

eric ide

mercurial