From d0c12149c363123f4fe753e82fc96be9b93c2fc3 Mon Sep 17 00:00:00 2001 From: James Turner Date: Tue, 10 Mar 2020 17:29:33 +0000 Subject: [PATCH] Fixes to translation updating: use correct path. --- CMakeModules/Translations.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeModules/Translations.cmake b/CMakeModules/Translations.cmake index 22be097f5..9ca6b1307 100644 --- a/CMakeModules/Translations.cmake +++ b/CMakeModules/Translations.cmake @@ -61,8 +61,8 @@ add_custom_target(ts) foreach(lang ${LANGUAGES}) add_custom_target( ts_${lang} - COMMAND Qt5::lupdate ${CMAKE_SOURCE_DIR}/src/gui - -locations relative -ts ${TRANSLATIONS_SRC_DIR}/${lang}/FlightGear-Qt.xlf + COMMAND Qt5::lupdate ${CMAKE_SOURCE_DIR}/src/GUI + -locations relative -no-ui-lines -ts ${TRANSLATIONS_SRC_DIR}/${lang}/FlightGear-Qt.xlf WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} ) add_dependencies(ts ts_${lang})