diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index 21f4513ee..cc1922683 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -61,9 +61,6 @@ set(AMNEZIAVPN_TS_FILES file(GLOB_RECURSE AMNEZIAVPN_TS_SOURCES *.qrc *.cpp *.h *.ui) qt_create_translation(AMNEZIAVPN_QM_FILES ${AMNEZIAVPN_TS_SOURCES} ${AMNEZIAVPN_TS_FILES}) -#add_custom_target(amnezia_messages DEPENDS ${AMNEZIAVPN_MESSAGES}) -#add_custom_target(amnezia_translations DEPENDS ${AMNEZIAVPN_QM_FILES} amnezia_messages) -#add_dependencies(${PROJECT} amnezia_translations) set(QM_FILE_LIST "") foreach(FILE ${AMNEZIAVPN_QM_FILES}) diff --git a/client/amnezia_application.cpp b/client/amnezia_application.cpp index 6203e3af9..41a541acc 100644 --- a/client/amnezia_application.cpp +++ b/client/amnezia_application.cpp @@ -234,9 +234,7 @@ void AmneziaApplication::updateTranslator(const QLocale &locale) m_settings->setAppLanguage(locale); QString strFileName = QString(":/translations/amneziavpn")+QLatin1String("_")+locale.name()+".qm"; - if (m_translator->load(strFileName)) { - qDebug() << "yyyyyyxxxxxxxx--------------" <setAppLanguage(locale); }