summaryrefslogtreecommitdiffstats
path: root/qml
diff options
context:
space:
mode:
Diffstat (limited to 'qml')
-rw-r--r--qml/mageiawelcome.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qml/mageiawelcome.py b/qml/mageiawelcome.py
index 534b9f4..c21f930 100644
--- a/qml/mageiawelcome.py
+++ b/qml/mageiawelcome.py
@@ -124,7 +124,7 @@ if __name__ == '__main__':
if qtTranslator.load("qt_" + locale,QLibraryInfo.location(QLibraryInfo.TranslationsPath)):
app.installTranslator(qtTranslator)
appTranslator = QTranslator()
- if appTranslator.load("mageiawelcome_" + locale,':/languages'):
+ if appTranslator.load(QLocale(),"mageiawelcome","_",os.path.join(os.getcwd(),'translations')):
app.installTranslator(appTranslator)
view = QQuickView()
view.setResizeMode(QQuickView.SizeRootObjectToView)