Qt: Move empty string list to new file

This commit is contained in:
Vicki Pfau 2020-12-11 01:58:37 -08:00
parent fe249dec27
commit 21c5e7ae97
2 changed files with 5234 additions and 0 deletions

View File

@ -259,7 +259,9 @@ if(Qt5LinguistTools_FOUND)
file(GLOB TS_FILES "${CMAKE_CURRENT_SOURCE_DIR}/ts/${BINARY_NAME}-*.ts")
if(UPDATE_TRANSLATIONS)
qt5_create_translation(TRANSLATION_FILES ${SOURCE_FILES} ${UI_FILES} ${TS_FILES} OPTIONS -locations absolute -no-obsolete)
list(REMOVE_ITEM TS_FILES "${CMAKE_CURRENT_SOURCE_DIR}/ts/${BINARY_NAME}-template.ts")
else()
list(REMOVE_ITEM TS_FILES "${CMAKE_CURRENT_SOURCE_DIR}/ts/${BINARY_NAME}-template.ts")
qt5_add_translation(TRANSLATION_FILES ${TS_FILES})
endif()
set(QT_QM_FILES)

File diff suppressed because it is too large Load Diff