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}) foreach(lang ${LANGUAGES})
add_custom_target( add_custom_target(
ts_${lang} ts_${lang}
COMMAND Qt5::lupdate ${CMAKE_SOURCE_DIR}/src/gui COMMAND Qt5::lupdate ${CMAKE_SOURCE_DIR}/src/GUI
-locations relative -ts ${TRANSLATIONS_SRC_DIR}/${lang}/FlightGear-Qt.xlf -locations relative -no-ui-lines -ts ${TRANSLATIONS_SRC_DIR}/${lang}/FlightGear-Qt.xlf
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
) )
add_dependencies(ts ts_${lang}) add_dependencies(ts ts_${lang})