From 65930716f98636fdb4c4ed2bb9b840b9eed04c84 Mon Sep 17 00:00:00 2001 From: ingvar1995 Date: Sun, 19 Jun 2016 19:07:42 +0300 Subject: [PATCH] .pro update --- src/main.py | 2 +- src/toxygen.pro | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.py b/src/main.py index 029362c..ab65670 100644 --- a/src/main.py +++ b/src/main.py @@ -132,7 +132,7 @@ class Toxygen(object): lang = Settings.supported_languages()[settings['language']] translator = QtCore.QTranslator() - translator.load(curr_directory() + '/translations/' + lang[1]) + translator.load(curr_directory() + '/translations/' + lang) app.installTranslator(translator) app.translator = translator diff --git a/src/toxygen.pro b/src/toxygen.pro index 463c931..aeafe07 100644 --- a/src/toxygen.pro +++ b/src/toxygen.pro @@ -1,2 +1,2 @@ -SOURCES = main.py profile.py menu.py list_items.py loginscreen.py mainscreen.py plugins/plugin_super_class.py callbacks.py widgets.py +SOURCES = main.py profile.py menu.py list_items.py loginscreen.py mainscreen.py plugins/plugin_super_class.py callbacks.py widgets.py avwidgets.py mainscreen_widgets.py TRANSLATIONS = translations/en_GB.ts translations/ru_RU.ts translations/fr_FR.ts