diff options
-rw-r--r-- | qml/mageiawelcome.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qml/mageiawelcome.py b/qml/mageiawelcome.py index c6bedd0..132922f 100644 --- a/qml/mageiawelcome.py +++ b/qml/mageiawelcome.py @@ -142,7 +142,7 @@ if __name__ == '__main__': if qtTranslator.load("qt_" + locale,QLibraryInfo.location(QLibraryInfo.TranslationsPath)): app.installTranslator(qtTranslator) appTranslator = QTranslator() - if appTranslator.load(QLocale(),"mageiawelcome","_",os.path.join(os.getcwd(),'translations')): + if appTranslator.load(QLocale(),"mageiawelcome","_", '/usr/share/mageiawelcome/translations'): app.installTranslator(appTranslator) view = QQuickView() view.setResizeMode(QQuickView.SizeRootObjectToView) |