From aab022b4a033d47a44b9cea3eb2140614d760f64 Mon Sep 17 00:00:00 2001 From: Nethius Date: Tue, 22 Apr 2025 22:56:01 +0800 Subject: [PATCH] chore: temporarily removed the ability to change the language (#10) --- CMakeLists.txt | 4 ++-- client/core/controllers/coreController.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 29de1915..5e88b915 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.25.0 FATAL_ERROR) set(PROJECT DefaultVPN) -project(${PROJECT} VERSION 1.0.0.1 +project(${PROJECT} VERSION 1.0.0.2 DESCRIPTION "DefaultVPN" HOMEPAGE_URL "https://dfvpn.com/" ) @@ -11,7 +11,7 @@ string(TIMESTAMP CURRENT_DATE "%Y-%m-%d") set(RELEASE_DATE "${CURRENT_DATE}") set(APP_MAJOR_VERSION ${CMAKE_PROJECT_VERSION_MAJOR}.${CMAKE_PROJECT_VERSION_MINOR}.${CMAKE_PROJECT_VERSION_PATCH}) -set(APP_ANDROID_VERSION_CODE 2083) +set(APP_ANDROID_VERSION_CODE 2084) if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux") set(MZ_PLATFORM_NAME "linux") diff --git a/client/core/controllers/coreController.cpp b/client/core/controllers/coreController.cpp index a37530aa..1eabc77e 100644 --- a/client/core/controllers/coreController.cpp +++ b/client/core/controllers/coreController.cpp @@ -26,9 +26,9 @@ CoreController::CoreController(const QSharedPointer &vpnConnectio initNotificationHandler(); - auto locale = m_settings->getAppLanguage(); - m_translator.reset(new QTranslator()); - updateTranslator(locale); + // auto locale = m_settings->getAppLanguage(); + // m_translator.reset(new QTranslator()); + // updateTranslator(locale); } void CoreController::initModels()