From 31a9f91961ea0389ae08daabb8b309e551cffb64 Mon Sep 17 00:00:00 2001 From: Ryu481 <142620516+Ryu481@users.noreply.github.com> Date: Thu, 3 Jul 2025 20:42:45 +0200 Subject: [PATCH] autodetect system language on MacOS --- src/app/CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/app/CMakeLists.txt b/src/app/CMakeLists.txt index 2088f9056..183d93105 100644 --- a/src/app/CMakeLists.txt +++ b/src/app/CMakeLists.txt @@ -33,7 +33,6 @@ endif() add_executable(qbt_app) # Generate lproj folders for the translations -set(LPROJ_FOLDERS "") foreach(TS_FILE IN LISTS QBT_TS_FILES) string(FIND "${TS_FILE}" "_" POS) math(EXPR START "${POS} + 1") @@ -41,9 +40,6 @@ foreach(TS_FILE IN LISTS QBT_TS_FILES) string(REPLACE ".ts" ".lproj" LPROJ_FOLDER "${LPROJ_FOLDER}") # @ is not valid as a language code for a lproj folder on MacOS string(REPLACE "@" "-" LPROJ_FOLDER "${LPROJ_FOLDER}") - list(APPEND LPROJ_FOLDERS "${LPROJ_FOLDER}") -endforeach() -foreach(LPROJ_FOLDER IN LISTS LPROJ_FOLDERS) add_custom_command( TARGET qbt_app POST_BUILD