i18n: build keyboard translations
This is the Wrong Thing To Do, but we'll do it for now: build the keyboard translations into the executable. In the medium term they should move to the modules that use them, with the re-vamp of how translation changes are signalled.
This commit is contained in:
parent
b15a76804c
commit
1a5fa36fb6
@ -42,7 +42,7 @@ set( calamares_i18n_qrc_content "" )
|
||||
|
||||
# calamares and qt language files
|
||||
foreach( lang ${CALAMARES_TRANSLATION_LANGUAGES} )
|
||||
foreach( tlsource "calamares_${lang}" "tz_${lang}" )
|
||||
foreach( tlsource "calamares_${lang}" "tz_${lang}" "kb_${lang}" )
|
||||
if( EXISTS "${CMAKE_SOURCE_DIR}/lang/${tlsource}.ts" )
|
||||
set( calamares_i18n_qrc_content "${calamares_i18n_qrc_content}<file>${tlsource}.qm</file>\n" )
|
||||
list( APPEND TS_FILES "${CMAKE_SOURCE_DIR}/lang/${tlsource}.ts" )
|
||||
|
Loading…
Reference in New Issue
Block a user