Select target language

This commit is contained in:
Michał Walenciak 2023-11-03 20:42:53 +01:00 committed by Jonas Kvinge
parent 33f0421d3f
commit 83bc8d9e86
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ macro(add_po outfiles po_prefix)
# Convert the .po files to .qm files
add_custom_command(
OUTPUT ${_qm_filepath}
COMMAND ${QT_LCONVERT_EXECUTABLE} ARGS ${_po_filepath} -o ${_qm_filepath} -of qm
COMMAND ${QT_LCONVERT_EXECUTABLE} ARGS ${_po_filepath} -o ${_qm_filepath} -of qm -target-language ${_lang}
DEPENDS ${_po_filepath} ${_po_filepath}
)