CMake: repair ca9006a1bc
Misplaced $, and looking for translation sources in the wrong directory, led to a test-case failure before release.
This commit is contained in:
parent
d196dde23f
commit
9bd600cab6
@ -129,9 +129,9 @@ function(calamares_qrc_translations basename)
|
|||||||
set(calamares_i18n_ts_filelist "")
|
set(calamares_i18n_ts_filelist "")
|
||||||
foreach(lang ${_qrt_LANGUAGES})
|
foreach(lang ${_qrt_LANGUAGES})
|
||||||
foreach(tlsource ${_qrt_PREFIXES})
|
foreach(tlsource ${_qrt_PREFIXES})
|
||||||
if(EXISTS "${CMAKE_SOURCE_DIR}/{$_qrt_SUBDIRECTORY}/${tlsource}_${lang}.ts")
|
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${_qrt_SUBDIRECTORY}/${tlsource}_${lang}.ts")
|
||||||
string(APPEND calamares_i18n_qrc_content "<file>${tlsource}_${lang}.qm</file>\n")
|
string(APPEND calamares_i18n_qrc_content "<file>${tlsource}_${lang}.qm</file>\n")
|
||||||
list(APPEND calamares_i18n_ts_filelist "${CMAKE_SOURCE_DIR}/${_qrt_SUBDIRECTORY}/${tlsource}_${lang}.ts")
|
list(APPEND calamares_i18n_ts_filelist "${CMAKE_CURRENT_SOURCE_DIR}/${_qrt_SUBDIRECTORY}/${tlsource}_${lang}.ts")
|
||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
endforeach()
|
endforeach()
|
||||||
|
Loading…
Reference in New Issue
Block a user