1
0
Fork 0

Fixes to translation updating: use correct path.

This commit is contained in:
James Turner 2020-03-10 17:29:33 +00:00
parent ecb48062ef
commit d0c12149c3

View file

@ -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})