diff --git a/.ci/ios.sh b/.ci/ios.sh index 321871808..3ef33f184 100755 --- a/.ci/ios.sh +++ b/.ci/ios.sh @@ -6,8 +6,7 @@ cmake .. -GNinja \ -DCMAKE_SYSTEM_NAME=iOS \ -DCMAKE_OSX_ARCHITECTURES=arm64 \ -DCMAKE_C_COMPILER_LAUNCHER=ccache \ - -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \ - -DENABLE_QT_TRANSLATION=ON + -DCMAKE_CXX_COMPILER_LAUNCHER=ccache ninja ccache -s -v diff --git a/.ci/linux.sh b/.ci/linux.sh index c7a1ef4cd..363d6b233 100755 --- a/.ci/linux.sh +++ b/.ci/linux.sh @@ -25,7 +25,6 @@ cmake .. -G Ninja \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_C_COMPILER_LAUNCHER=ccache \ -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \ - -DENABLE_QT_TRANSLATION=ON \ -DENABLE_ROOM_STANDALONE=OFF \ -DUSE_DISCORD_PRESENCE=ON \ "${EXTRA_CMAKE_FLAGS[@]}" diff --git a/.ci/macos.sh b/.ci/macos.sh index b6fb54b1e..52494a71e 100755 --- a/.ci/macos.sh +++ b/.ci/macos.sh @@ -8,7 +8,6 @@ mkdir -p build/$BUILD_ARCH && cd build/$BUILD_ARCH cmake ../.. -GNinja \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_OSX_ARCHITECTURES="$BUILD_ARCH" \ - -DENABLE_QT_TRANSLATION=ON \ -DENABLE_ROOM_STANDALONE=OFF \ -DUSE_DISCORD_PRESENCE=ON \ "${EXTRA_CMAKE_FLAGS[@]}" diff --git a/.ci/mxe.sh b/.ci/mxe.sh index 2aa2ccfa9..1e5153486 100755 --- a/.ci/mxe.sh +++ b/.ci/mxe.sh @@ -14,7 +14,6 @@ x86_64-w64-mingw32.shared-cmake .. \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_C_COMPILER_LAUNCHER=ccache \ -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \ - -DENABLE_QT_TRANSLATION=ON \ -DUSE_DISCORD_PRESENCE=ON \ -DUSE_SYSTEM_BOOST=ON \ -DUSE_SYSTEM_CRYPTOPP=ON \ diff --git a/.ci/transifex.sh b/.ci/transifex.sh index c51af2d26..b5009b35c 100755 --- a/.ci/transifex.sh +++ b/.ci/transifex.sh @@ -6,7 +6,7 @@ gcc -v tx --version mkdir build && cd build -cmake .. -DENABLE_QT_TRANSLATION=ON -DGENERATE_QT_TRANSLATION=ON -DCMAKE_BUILD_TYPE=Release -DENABLE_SDL2=OFF +cmake .. -DGENERATE_QT_TRANSLATION=ON -DCMAKE_BUILD_TYPE=Release -DENABLE_SDL2=OFF make translation cd .. diff --git a/.ci/windows.sh b/.ci/windows.sh index d94fd6435..c627a3da3 100644 --- a/.ci/windows.sh +++ b/.ci/windows.sh @@ -10,7 +10,6 @@ cmake .. -G Ninja \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_C_COMPILER_LAUNCHER=ccache \ -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \ - -DENABLE_QT_TRANSLATION=ON \ -DUSE_DISCORD_PRESENCE=ON \ "${EXTRA_CMAKE_FLAGS[@]}" ninja diff --git a/CMakeLists.txt b/CMakeLists.txt index 2866e4814..0a000324b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -121,7 +121,7 @@ option(USE_SYSTEM_SDL2 "Use the system SDL2 lib (instead of the bundled one)" OF # Set bundled qt as dependent options. option(ENABLE_QT "Enable the Qt frontend" ON) -option(ENABLE_QT_TRANSLATION "Enable translations for the Qt frontend" OFF) +option(ENABLE_QT_TRANSLATION "Enable translations for the Qt frontend" ON) option(ENABLE_QT_UPDATE_CHECKER "Enable built-in update checker for the Qt frontend" OFF) CMAKE_DEPENDENT_OPTION(ENABLE_TESTS "Enable generating tests executable" ON "NOT IOS" OFF)