Fixed an issue related to the splitting of the Qt translation files. Just loading the qt.qm file is not working.

Sat, 17 Oct 2020 16:32:32 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 17 Oct 2020 16:32:32 +0200
changeset 7795
a4c2f0081879
parent 7794
61308586e0ed
child 7796
657532a9a0a4

Fixed an issue related to the splitting of the Qt translation files. Just loading the qt.qm file is not working.

eric6/Toolbox/Startup.py file | annotate | diff | comparison | revisions
diff -r 61308586e0ed -r a4c2f0081879 eric6/Toolbox/Startup.py
--- a/eric6/Toolbox/Startup.py	Sat Oct 17 16:31:42 2020 +0200
+++ b/eric6/Toolbox/Startup.py	Sat Oct 17 16:32:32 2020 +0200
@@ -189,8 +189,10 @@
     
     global loaded_translators
     
-    # TODO: qt has been split into several files; add these here
-    translations = ("qt", "eric6") + translationFiles
+    translations = (
+        "qt", "qt_help", "qtbase", "qtmultimedia", "qtserialport",
+        "qtwebengine", "qtwebsockets", "eric6"
+    ) + translationFiles
     loc = Preferences.getUILanguage()
     if loc is None:
         return ""

eric ide

mercurial