1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2024-12-22 05:40:23 +01:00

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

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}
)