187 """ |
187 """ |
188 import Preferences |
188 import Preferences |
189 |
189 |
190 global loaded_translators |
190 global loaded_translators |
191 |
191 |
192 # TODO: qt has been split into several files; add these here |
192 translations = ( |
193 translations = ("qt", "eric6") + translationFiles |
193 "qt", "qt_help", "qtbase", "qtmultimedia", "qtserialport", |
|
194 "qtwebengine", "qtwebsockets", "eric6" |
|
195 ) + translationFiles |
194 loc = Preferences.getUILanguage() |
196 loc = Preferences.getUILanguage() |
195 if loc is None: |
197 if loc is None: |
196 return "" |
198 return "" |
197 |
199 |
198 if loc == "System": |
200 if loc == "System": |