mirror of https://github.com/mgba-emu/mgba.git
Qt: Move empty string list to new file
This commit is contained in:
parent
fe249dec27
commit
21c5e7ae97
|
@ -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
Loading…
Reference in New Issue